LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Dual Boot Slackware/Debian: Grub Config (https://www.linuxquestions.org/questions/debian-26/dual-boot-slackware-debian-grub-config-827643/)

cryingthug 08-21-2010 10:37 AM

Dual Boot Slackware/Debian: Grub Config
 
I am getting a bit tired of rebooting and not getting Slackware to boot so I have to ask you guys how to configure this.
I have installed Slackware 13.1 first then Debian 5.0.5 after. I have tried about 20 different grub configs. The only thing I learned is what does not work.

this is what I have so far:
Code:

title          Slackware 13.1
root            (hd0,1)
kernel          /boot/vmlinux-generic-2.6.33.4 root=/dev/sda1


colorpurple21859 08-21-2010 11:53 AM

Change your kernel line to this
Quote:

/boot/vmlinuz root=/dev/sda2 ro vga=normal
To use one of generic kernel have to create a initrd.gz file by runinning mkinitrd, according to the /boot/README.initrd help file, and adding the following line
Quote:

initrd /boot/initrd.gz
to your slackware grub entry. This is assuming your slack install is on the second partition of your first harddrive

cryingthug 08-24-2010 07:40 PM

grub
 
colorpurple21859, thanks! I'll try that.

cryingthug 08-24-2010 07:56 PM

?????????
 
This is the error I got:

Code:

Error 17: Cannot mount selected partition.
Slackware is installed on the first partiton.

Quote:

Originally Posted by colorpurple21859 (Post 4073395)
Change your kernel line to this
To use one of generic kernel have to create a initrd.gz file by runinning mkinitrd, according to the /boot/README.initrd help file, and adding the following line to your slackware grub entry. This is assuming your slack install is on the second partition of your first harddrive


colorpurple21859 08-24-2010 08:08 PM

With Slackware being on the first partition your grub entry should be this if your using legacy grub
Quote:

title Slackware 13.1
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 vga=normal ro


All times are GMT -5. The time now is 09:29 AM.