bOLEMO Posted September 23, 2015 Share Posted September 23, 2015 Hi, It has been weeks that I am trying to have Chameleon to see Lubuntu. No success… Tried the grub-install /dev/sdd3, used boot-repair, created a separate partition for /boot, no success… Played with gparted flags, no success. I am on a Asus X99 Deluxe, with this setup: SSD formatted MBR with Windows and Yosemite FAT - "System Reserved" used to boot Windows 10 (upgraded from Win7) FAT - "Windows" where Windows 10 is FAT - untitled partition - used for Windows 10 Recovery HFS+ - "Yosemite" where Mac OS X 10.10.5 Yosemite is installed <- CHAMELEON IS INSTALLED HERE HD formatted GPT with Lubuntu FAT - "EFI" GPT EFI partition EXT3 - /boot used by Lubuntu EXT4 - / used by Lubuntu, main partition used as root / LINUX SWAP HD formatted GPT with a spare Yosemite 10.10.0 install FAT - GPT EFI partition HFS+ - "Test" where a previous Yosemite is installed HD formatted GPT with a clone of my main Yosemite install FAT - GPT EFI partition HFS+ - "Maclone", my Yosemite 10.10.5 clone HFS+ - "Recovery HD" Chameleon sees "System Reserved", "Windows", "Yosemite" from SDD, "Test" from 2nd HD, "Maclone" and "Recovery HD" from 3rd HD (all in green in the list), but no Lubuntu ever… I don't know what to do. I don't understand how Chameleon decides if a partition is bootable (and should be shown) or not. There is no setup to force a partition to show (when there is one to hide a partition that I am using to hide "Windows" since "System Reserved" is the one to boot for Windows). I can boot Lubuntu from bios, choosing the disk, but it would be nice to choose my os from Chameleon. Any idea? Link to comment Share on other sites More sharing options...
spakk Posted September 23, 2015 Share Posted September 23, 2015 presumably you have the partition in "diskutil" not set active. Link to comment Share on other sites More sharing options...
bOLEMO Posted September 23, 2015 Author Share Posted September 23, 2015 presumably you have the partition in "diskutil" not set active. I did put the Linux root partition flag "boot" on, and off… does not do anything. I went to read a lot out of forums and grub documentation, as well as the little Chameleon documentation. I tried the source code, but I am not familiar with bootloader code… I don't know what makes Chameleon decide that this partition is bootable, and not that one. I reinstalled Linux many times, with an EFI partition, without… no luck :-( Link to comment Share on other sites More sharing options...
bOLEMO Posted September 24, 2015 Author Share Posted September 24, 2015 Here is the diskutil list result: sh-3.2# diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *512.1 GB disk0 1: Windows_NTFS System Reserved 56.5 MB disk0s1 2: Windows_NTFS Windows 209.3 GB disk0s2 3: 0x27 470.8 MB disk0s3 4: Apple_HFS Yosemite 302.3 GB disk0s4 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk1 1: EFI EFI 209.7 MB disk1s1 2: DE94BBA4-06D1-4D40-A1A6-BFD50179D6AC 268.4 MB disk1s2 3: EFI 936.5 GB disk1s3 4: DE94BBA4-06D1-4D40-A1A6-BFD50179D6AC 62.9 GB disk1s4 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *3.0 TB disk2 1: EFI EFI 209.7 MB disk2s1 2: Apple_HFS Test 3.0 TB disk2s2 3: Apple_Boot Recovery HD 650.0 MB disk2s3 /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *750.2 GB disk3 1: EFI EFI 209.7 MB disk3s1 2: Apple_HFS Maclone 749.2 GB disk3s2 3: Apple_Boot Recovery HD 784.2 MB disk3s3 sh-3.2# disk1s3 is the main partition with Linux. It shows as EFI because the "boot" flag is on (setup by gparted). If I remove the flag, it shows as DE94BBA4-06D1-4D40-A1A6-BFD50179D6AC. Does anybody know what Chameleon is looking for exactly? Link to comment Share on other sites More sharing options...
bOLEMO Posted September 24, 2015 Author Share Posted September 24, 2015 Found a solution, not simple, neither perfect (in design). I had to hybridize the GPT partition with MBR, using gdisk. Expert mode, then recovery/transforming mode, then make hybrid MBR. I also put the legacy boot flag to the /sdd3 partition (main linux / partition). Then, I had to reinstall grub on the /sdd3 partition ( https://wiki.archlinux.org/index.php/GRUB): # sudo su # chattr -i /boot/grub/i386-pc/core.img # grub-install --target=i386-pc --recheck --debug --force /dev/sdd3 # chattr +i /boot/grub/i386-pc/core.img Now I have a Linux boot choice in Chameleon (without Linux icon though, but maybe it is just the theme). 1 Link to comment Share on other sites More sharing options...
Recommended Posts