WUWA Posted May 6, 2011 Share Posted May 6, 2011 Hello, I've looked over the forums, but haven't found a solution to my problem. I've installed Kalyway 10.5.1 on a Dell 700m, which has 3 other OSs on it, and whose boot loader is normally managed by Ubuntu grub.cfg. I and am trying to get my boot loader (ala Ubuntu /boot/grub/grub.cfg) to quad boot (Windows, Ubuntu, Backtrack, and Leopard). My install and problem is blogged at http://beboblog.johnbebo.com. In the OLD grub days, I could put something like the below in the grub file: title Leopard 10.5.1 root (hd1,0) savedefault makeactive chainloader +1 This does not work with the new grub.cfg file, where grub has changed how it works after Ubuntu 10.10. Specifically, it does not recognize savedefault or makeactive. Does anyone have a suggestion on how to change my grub.cfg so that I can boot to Leopard as well as my other 3 OSs? Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/ Share on other sites More sharing options...
peje1 Posted May 6, 2011 Share Posted May 6, 2011 it could look like this: menuentry "MacOS X, chameleon" { insmod part_gpt insmod hfsplus set root=(hd1,gpt1) multiboot (hd1,gpt1)/boot } cu peje Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1679974 Share on other sites More sharing options...
WUWA Posted May 6, 2011 Author Share Posted May 6, 2011 <br />it could look like this:<br /><br />menuentry "MacOS X, chameleon" {<br /> insmod part_gpt<br /> insmod hfsplus<br /> set root=(hd1,gpt1)<br /> multiboot (hd1,gpt1)/boot<br />}<br /><br />cu peje<br /><br /><br /><br /> Thanks. I tried that, but couldn't get it to work. It kept telling me there was no such file. I'm not familiar with the gpt part, but I tried it in every variation I could think of, but no dice. Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1680042 Share on other sites More sharing options...
peje1 Posted May 7, 2011 Share Posted May 7, 2011 Try it on the grub console, there you can load the modules and list your disks.... cu peje Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1680226 Share on other sites More sharing options...
WUWA Posted May 7, 2011 Author Share Posted May 7, 2011 <br />Try it on the grub console, there you can load the modules and list your disks....<br />cu peje<br /><br /><br /><br /> So what you're saying is to boot into the grub console, list my disks (so I know what parameters to put in), and then manually enter: insmod part_gpt insmod hfsplus set root=(hd0,gpt1) multiboot (hd0,gpt1)/boot correct? I'm reading the Grub manual now trying to figure out how to list my disks (pretty sure it's hd0) and what the gpt1 actually means, and what I'm doing. Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1680326 Share on other sites More sharing options...
WUWA Posted May 8, 2011 Author Share Posted May 8, 2011 Try it on the grub console, there you can load the modules and list your disks....cu peje I've done some reading on grub and bootloaders, and done some testing, and here is what I think: Since I am using grub2 verses grub, I'm pretty sure that my parameters should be (hd0,gpt1). However, I can't boot to that partition. I get the error "couldn't open file." when I run the below: grub> insmod part_gpt grub> insmod hfsplus grub> set root=(hd0,gpt1) grub> multiboot (hd0,gpt1)/boot If I take Acronis and restore (MBR and track 0) to my Darwin bootloader, it boots Leopard fine but won't see my Linux OSs. If I Acronis back to the Ubuntu Grub2 bootloader, I can't seem to make grub2 boot Leopard. So my guess is that I need the Darwin bootloader dropped somewhere on the Leopard partition (or on the second partition) so that when grub points to it, that Darwin will boot Leopard. Basically, I don't think that when I restore to my Ubuntu Grub2 bootloader that there are any resident files left to boot into Leopard. Does that all sound correct? If so, do you know how I can drop Darwin somewhere so that I can boot to it ala multiboot from grub2? It certainly appears that grub2 is missing some files needed to boot the Leopard OS. Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1680780 Share on other sites More sharing options...
WUWA Posted May 10, 2011 Author Share Posted May 10, 2011 I've done some reading on grub and bootloaders, and done some testing, and here is what I think:Since I am using grub2 verses grub, I'm pretty sure that my parameters should be (hd0,gpt1). However, I can't boot to that partition. I get the error "couldn't open file." when I run the below: grub> insmod part_gpt grub> insmod hfsplus grub> set root=(hd0,gpt1) grub> multiboot (hd0,gpt1)/boot If I take Acronis and restore (MBR and track 0) to my Darwin bootloader, it boots Leopard fine but won't see my Linux OSs. If I Acronis back to the Ubuntu Grub2 bootloader, I can't seem to make grub2 boot Leopard. So my guess is that I need the Darwin bootloader dropped somewhere on the Leopard partition (or on the second partition) so that when grub points to it, that Darwin will boot Leopard. Basically, I don't think that when I restore to my Ubuntu Grub2 bootloader that there are any resident files left to boot into Leopard. Does that all sound correct? If so, do you know how I can drop Darwin somewhere so that I can boot to it ala multiboot from grub2? It certainly appears that grub2 is missing some files needed to boot the Leopard OS. So I've copied pc_efi_v80/boot_v8 to the /boot/ directory in my Ubuntu partition, and booted with the grub console, and when I boot into boot_v8, it acts just like the partition made by update-grub in Ubuntu.... it tries to boot into it, and knocks me back into the bootloader. No progress so far. Link to comment https://www.insanelymac.com/forum/topic/256461-grubcfg-file-paramaters/#findComment-1681876 Share on other sites More sharing options...
Recommended Posts