Linux noobie here.. i have a couple of things going..i have successfully loaded linux on my 2010 mbp. using this process:http://heeris.id.au/2014/ubuntu-plus-mac-pure-efi-boot/ it went very smooth. but there is a long ugly background to the mac & linux in regards to the video drivers, etc. after install, during a video, the machine froze up. cold boot, etc.. nothing going right.. so i am walking back thru the install process and notice 2 things: (1) during boot with live usb, i escape to the grub command line and find grub (hd2,gpt2), set root, tell grub where linux is with UUID, set initrd, then boot from grub command line and get to a tty prompt in linux because.. "Failed to start the X server (your graphical interface). It is likely that it is not set up correctly....The X server is now disabled. Restart MDM when it is configured correctly.".. so off i go trying to google my way out but decide to type in sudo fdisk -l and find:
sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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
Device Boot Start End Blocks Id System
/dev/sda1 1 2047 1023+ ee GPT
/dev/sda2 2048 1023999 510976 af HFS / HFS+
/dev/sda3 * 1024000 608757759 303866880 83 Linux
/dev/sda4 608757760 625141759 8192000 82 Linux swap / Solaris
which is what i expected given the recent install...but then i reboot to a rescue disk all the way to the desktop and
run sudo gparted and see this:
(2) device (boot) - id - system
sda1 - - hfs+ - ubuntu..... 500MB
sda2 - - ext4.........289GB
sda3 - 82 - linux swap......7.8GB
cat /etc/fstab
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda3 swap swap defaults 0 0
i am very confused at what is going on at this point... why the differences for sda3? that is, is linux on sda2 ext4 or sda3 ext4?... i'm sure all of this ties to the x org crap but i don't know how.. any thoughts are appreciated.. this forum has been tremendously helpful.
here is the latest after i used gdisk to make a ef00 and an ef02 partition.
mint@mint ~ $ sudo parted /dev/sda print
Error: Input/output error during read on /dev/sda
Retry/Ignore/Cancel? r
Error: Input/output error during read on /dev/sda
Retry/Ignore/Cancel? c
Error: The primary GPT table is corrupt, but the backup appears OK so that will be used.
OK/Cancel? c
mint@mint ~ $ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8
Warning! Read error 0! Misbehavior now likely!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): DA332839-53FE-472E-94F4-4B731ED5D489
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 411647 200.0 MiB EF00 EFI System
2 411648 616447 100.0 MiB EF02 BIOS boot partition
3 616448 608790527 290.0 GiB 8300 Linux filesystem
4 608790528 625142414 7.8 GiB 8200 Linux swap
mint@mint ~ $
now after i formatted with gparted it looks like this. a bit better..?
mint@mint ~ $ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8
Warning! Read error 0! Misbehavior now likely!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): DA332839-53FE-472E-94F4-4B731ED5D489
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 411647 200.0 MiB EF00 EFI System
2 411648 616447 100.0 MiB EF02 BIOS boot partition
3 616448 608790527 290.0 GiB 8300 Linux filesystem
4 608790528 625142414 7.8 GiB 8200 Linux swap
mint@mint ~ $