LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Dualboot Slackware and Gentoo (https://www.linuxquestions.org/questions/linux-general-1/dualboot-slackware-and-gentoo-27486/)

darkmage 08-08-2002 08:53 AM

Dualboot Slackware and Gentoo
 
Here is my partitioning scheme for hda
1-WinXP-NTFS(I know, I know :p the evil empire)
2-Gentoo /boot-ext3
3-Swap
4-Extended
5-Slackware /-ext3
6-Gentoo /-XFS

I have grub installed into the mbr for Gentoo. I installed Slackware with lilo in Slack's / partition and its set to auto-boot Slack. My problem seems to be to get grub to pass boot control to lilo. Here's my grub menu.lst:
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/hda6 hdd=ide-scsi

title=Slackware Linux (Another forum had this solution, it doesn't work)
rootnoverify (hd0,4)
chainloader +1

title=Windows XP
root (hd0,0)
chainloader +1

I'm sure someone out there knows how to do it, so please help!! I 've got my hard drive setup the way I like it, I've reinstalled Gentoo from stage 1 now 5 times in the past month to fix partitioning probs. I just want to be able to boot Slack. Thanks!

linuxcool 08-08-2002 09:00 PM

It seems like these lines should work:

title=Slackware Linux
rootnoverify (hd0,4)
chainloader +1

Try:

root (hd0,4)
chainloader +1

You sure you have lilo installed in hda5? Did you remember to run /sbin/lilo after making any changes to lilo.conf?

darkmage 08-09-2002 05:47 PM

Thanks for the help linuxcool, but it turned out my problem was a bad superblock on the slack partition. This gave me a reason to retry Debian. Dualboot works great now!

linuxcool 08-09-2002 08:18 PM

Glad to hear you found the problem and you're welcome. :)


All times are GMT -5. The time now is 08:31 AM.