GRUB Error 15: Dual Boot Slack and OpenIndiana
Hi all,
I have a dual-boot system with OpenIndiana and Slackware. Slackware is installed on /dev/sda1 OpenIndiana is installed on /dev/sda2 OpenIndiana was installed after Slackware and installed GRUB (the legacy version). Of course, OpenIndiana didn't register Slack in the GRUB menu. (It doesn't seem to want to play nice with other systems.) So, before editing the GRUB menu in OI, I've been experimenting at the GRUB command line, trying to get Slack to boot. When I enter: Code:
grub> root (hd0,0) Code:
Filesystem type is ext2fs, partition type 0x83 But when I enter: Code:
grub> kernel /boot/vmlinuz root=/dev/sda1 ro Code:
Error 15: File not found Is it because OI installed GRUB is some odd location? Would that make a difference? Thanks. |
@ Reply
Hi there,
Try this: Make a copy of grub.conf 1. Type root (As you did) 2. Instead of typing grub> kernel /boot/vmlinuz root=/dev/sda1 ro type setup (hd0) instead 3. cat grub.conf file and see if you have got boot partitions pointing to correct location. Else paste the output here so that we guys can have a look at it. |
Thanks so much for the reply!
After I did: Code:
root (hd0,0) Code:
setup (hd0) Code:
Checking if "/boot/grub/stage1" exists...no I couldn't find grub.conf, but the "menu.lst" file from "/rpool/boot/grub/menu.lst" appears below. Slack is the first "unknown" partition: Code:
splashimage /boot/grub/splash.xpm.gz Code:
# With zfs root the active menu.lst file is /<pool>/boot/grub/menu.lst Thanks! |
Quote:
grub> kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 ro You likely do not have a common /boot partition. Therefore /boot is unique to each operating system. For Slackware: (hd0,0)/boot/vmlinuz root=/dev/sda1 ro For OpenIndiana: (hd0,1)/boot/vmlinuz root=/dev/sda2 ro GRUB starts counting with zero. Therefore the Slackware partition, /dev/sda1, is located on device zero and partition zero (hd0,0). The OpenIndiana partition, /dev/sda2, is located on device zero and partition one (hd0,1). |
@ Reply
Hi x360539,
You could give a try to steps mentioned by Woodsman. It appears to me that OpenIndiana replaced the boot loader which Slack has configured before or it might be possible that it has installed its own bootloader and not added any entry for slack. I am assuming that as of now you are able to boot in OpenIndiana but not in slack (I might be wrong, just a guess I am making) Perhaps you could have a look at the following link which describes how you can edit menu.lst file to get desired OS listed in: http://boff.wordpress.com/2007/01/17...rub-boot-menu/ I hope this helps. |
All times are GMT -5. The time now is 06:00 PM. |