boot loader (grub - slackware)
Hello,
I have XP/fedora core 5 /slackware I installed slackware 10.2 but decieded to not to install lilo. Now I need to edit fedora's grub.conf to include slackware. Something's not working My grub.conf default=0 timeout=5 splash blablablablabal hiddenmenu title Fedora root (hd0,2) kernel /boot/vmllinuz-2........ ro root=LABEL=/1 rhgb quiet initrd /boot/initrd-2....img title windows rootnoverify (hd0,0) chainloader +1 title slackware rootnoverify (hd0,5) kernel /boot/vmlinuz-ide-2.4.31 ro root=LABEL=/1 rhgb quiet initrd ????????????????????????????? I edited the slackware entry but something is wrong. I don't know if the kernel line is correct, and have no idea what to put in the initrd line. the files in my /boot directory: config -> config-ide-2.4.31 config-ide-2.4.31 diag1.img System.map -> System.map-ide-2.4.31 vmlinuz -> vmlinuz-ide-2.4.31 vmlinuz-ide-2.4.31 So the grub loader works ok for xp and fedora, I can't boot slackware, obviously because of that entry in grub.conf When I boot into fedora I can mount slackware partition and access the data, so everything seems to be ok with slackware itself. thanks |
Hi. I think the correct lines would be something like:
title Slackware root (hd0,5) kernel /boot/vmlinuz-ide-2.4.31 root=/dev/hda6 ro You should not need initrd, unless you use filesystems like reiserfs, xfs.. The "/dev/hda6" which I wrote above is just a guess of mine from (hd0,5). You should replace that with your apropiate entry :). This configuration works, at least for me :D. |
thanks,
when i come back from work, I wil try it |
thanks, it works fine
|
And the search feature works again! Thanks bit128! I haven't been able to boot into my slackware partition for months! I was also trying to needlessly pass it an initrd file and an init= line on the kernal line and it panicked every time. It wasn't a particularly knawing problem as I dual boot with Fedora so I hadn't really tried to fix it until tonight. And now it works! Thanks!
|
Folks, you would do well to do some reading and seek to understand the difference in grub command lines.
Particularly if you intend to stray from Fedora/Redhat. |
Second syg00ś comment...
Learning to properly edit the grub.conf file opens whole new worlds. Bob |
All times are GMT -5. The time now is 08:08 AM. |