PDA

View Full Version : [ubuntu] Installation is being mean to to me :(



niko8
August 13th, 2014, 11:32 PM
So I am going through the process of installing ubuntu 14.04 alongside win8. Since the installer didn't recognize win8 I
had to custom partition my drive. Set it up into 4 parts 50gb (/) 50gb (home/) 40gb (boot/) and 43gb (leftover) for swap.
so nothing extravagant. Should work normally, and, sure enough it takes me to the next screen. 3 seconds later I get a prompt that literally looks like:
___________________
|____??????????______|
|.................................|
| ......???????????? .......| (Not all in ASCII of course)
|.................................|
|___________________|

and sends me to the previous screen and tells me that I didn't specify a root system ( which I OBVIOUSLY did) and makes me reselect the partitions... Been at this all night to no avail. If someone here could help me out here that would be amazing as I am utterly lost.
cheers,
Niko.

yancek
August 14th, 2014, 12:06 AM
1-2GB should be more than enough for a boot partition if you are going to have a separate one.
2-4GB for swap should be sufficient, depends upon the amount of RAM you have.

Are you selecting the partition in the main installation window by highlighting it, then clicking the change tab and selecting a Mount point of /, for the root of the filesystem?

niko8
August 14th, 2014, 12:11 AM
I'm double clicking the partition then changing "do not use" to somethingsomething 4. Selecting format (even though theres nothing there) and selecting the / on the drop down menu and clicking OK.
the / is then displayed next to the partition on the menu but the thing doesn't work...
...........
wait.... Is that not how you do it?



16GB RAM btw.. :)

fantab
August 14th, 2014, 05:30 AM
When assigning '/' in the installer you have to use following options:
Use as = Ext4 journaling system
Mountpoint= /
Format= yes/no

Swap need not be more than 2-4gb unless you want to 'Hibernate' you pc. In that case SWAP should be equal to or more than the size of your RAM in GiB and not in GB.
Before I tell you about /boot partition can you post the output of the following commands, booting Live?

sudo parted -l
sudo fdisk -l

Since you have Win8, was it pre-installed or did you install it?
what machine you use, laptop/desktop, model/make ?

niko8
August 14th, 2014, 08:48 AM
255464255465
The results of "sudo parted -l" && "sudo fdisk -l"
possibly I partitioned one drive and selected the other to boot from?
I'm on an AORUS x7 v.2 with Pre-Installed windows
so I have a 256GB SSD and a 1TB HDD.... is that the problem here?

fantab
August 14th, 2014, 01:05 PM
Please copy the full output from the 'terminal' and paste it here, preferably in BB code.

You say you have 256gb SSD, It doesn't show in the output but the 'Error' or it could be encrypted. Does Windows show the SSD?
Boot into Windows and paste the screenshot of all your drives in Disk Management

There is something not normal about that output.
Can you link your previous threads? It'll help to know what you covered.

niko8
August 14th, 2014, 03:13 PM
255467 windows doesn't seem to have a problem with the SSD....
I have the full terminal output for both commands... but its longer than most of my theory papers...(867 words)
I don't have any other threads however. first thing I posted.

niko8
August 14th, 2014, 03:18 PM
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 1000GB 1000GB primary ntfs boot


Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? Ignore
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? OK
Backtrace has 8 calls on stack:
8: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f7973ec54b1]
7: /lib/x86_64-linux-gnu/libparted.so.0(+0x3f5f6) [0x7f7973ef55f6]
6: /lib/x86_64-linux-gnu/libparted.so.0(ped_disk_new+0x49) [0x7f7973ecaf99]
5: parted() [0x406dff]
4: parted() [0x407bda]
3: parted(main+0x154b) [0x4065cb]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f79736a2ec5]
1: parted() [0x406617]


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (2.3)
along with the error message below, the output of

parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (last_usable <= disk->dev->length) at
../../../libparted/labels/gpt.c:994 in function _parse_header() failed.

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x3fe97f02

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1953521663 976759808 7 HPFS/NTFS/exFAT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3fe97ee8

Device Boot Start End Blocks Id System
/dev/sdb1 1 750195455 375097727+ ee GPT

Disk /dev/sdc: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/isw_dedjjfehej_Volume1'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/mapper/isw_dedjjfehej_Volume1: 384.1 GB, 384100073472 bytes
255 heads, 63 sectors/track, 46697 cylinders, total 750195456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x3fe97ee8

Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p1 1 750195455 375097727+ ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mapper/isw_dedjjfehej_Volume1p1: 314 MB, 314572800 bytes
255 heads, 63 sectors/track, 38 cylinders, total 614400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x73736572

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p1p1 1920221984 3736432267 908105142 72 Unknown
/dev/mapper/isw_dedjjfehej_Volume1p1p2 ? 1936028192 3889681299 976826554 6c Unknown
/dev/mapper/isw_dedjjfehej_Volume1p1p3 ? 0 0 0 0 Empty
/dev/mapper/isw_dedjjfehej_Volume1p1p4 27722122 27722568 223+ 0 Empty
Partition 4 does not start on physical sector boundary.

Disk /dev/mapper/isw_dedjjfehej_Volume1p2: 272 MB, 272629760 bytes
255 heads, 63 sectors/track, 33 cylinders, total 532480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x500a0dff

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/mapper/isw_dedjjfehej_Volume1p2p1 ? 1948285285 3650263507 850989111+ 6e Unknown
Partition 1 does not start on physical sector boundary.
/dev/mapper/isw_dedjjfehej_Volume1p2p2 ? 0 0 0 74 Unknown
/dev/mapper/isw_dedjjfehej_Volume1p2p4 28049408 28049848 220+ 0 Empty

Partition table entries are not in disk order

Disk /dev/mapper/isw_dedjjfehej_Volume1p3: 134 MB, 134217728 bytes
255 heads, 63 sectors/track, 16 cylinders, total 262144 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/isw_dedjjfehej_Volume1p3 doesn't contain a valid partition table

Disk /dev/mapper/isw_dedjjfehej_Volume1p4: 184.2 GB, 184225366016 bytes
255 heads, 63 sectors/track, 22397 cylinders, total 359815168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 49152 bytes
Disk identifier: 0x73736572

This doesn't look like a partition table






well........... I'm screwed.

oldos2er
August 14th, 2014, 04:27 PM
I think you need to use gdisk in place of the parted command; see this askubuntu.com thread: http://askubuntu.com/questions/386752/fixing-corrupt-backup-gpt-table

niko8
August 14th, 2014, 06:54 PM
so my entire problem is a corrupt GPT table?
:confused:

oldfred
August 14th, 2014, 07:10 PM
Did you use Windows to reformat 1TB drive. It says it is msdos(MBR), but you have a backup gpt partition table.
Windows regularly does that, it reformats a gpt drive to MBR and leaves backup gpt table. Windows seems to ignore backup gpt. But Linux sees both MBR & gpt and does not know what you want.

Also you are showing /mapper. Is that RAID, LVM or Intel SRT? Any of those add issues. Or did you install Ubuntu with encryption which uses LVM and usually is a full drive erase and convert to LVM.

Fixparts can remove backup gpt table, if that is what you want.
FixParts is the easiest way to remove the stray GPT data. GPT fdisk (gdisk or sgdisk) can do it, but the procedure's a bit more involved.
http://www.rodsbooks.com/fixparts/

gpt does have some advantages, but Windows will only boot from gpt with UEFI. Ubuntu can boot from gpt with either UEFI or BIOS if correct supporting partitions are on drive. Only XP would not read drives partitioned with gpt, everything else newer will read gpt partitioned drives.


GPT Advantages (older but still valid) see post#2 by srs5694:
http://ubuntuforums.org/showthread.php?t=1457901
https://wiki.archlinux.org/index.php/GUID_Partition_Table#Advantages_of_GPT
UEFI Advantages
http://askubuntu.com/questions/446968/legacy-vs-uefi-help

oldos2er
August 14th, 2014, 11:11 PM
so my entire problem is a corrupt GPT table?
:confused:

We won't know until we see the output of
sudo gdisk -l

niko8
August 15th, 2014, 04:42 PM
Well I did something I may come to regret, but I think I solved my problem. I somehow tricked Ubuntu into finishing the installation, then I burnt a new copy onto my USB and reinstalled it, deleting the old (not working) ubuntu and instead of installing it on my windows drive. but it on my second 1TB HDD..
not perfect, not clean, but it works.

oldfred
August 15th, 2014, 06:40 PM
Glad you got it working.

I always think it is better to keep Windows on one hard drive and Ubuntu on another, if you have more than one drive. But most laptops only have one drive. With USB3 an external is an option, just not quite as good as an internal drive.

You do still need to have Windows & Ubuntu in same UEFI or BIOS boot mode to make it easy to dual boot. Otherwise you have to use UEFI/BIOS or maybe one time boot key to boot.