LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-21-2010, 10:37 AM   #1
cryingthug
Member
 
Registered: Jun 2009
Posts: 131

Rep: Reputation: 18
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
 
Old 08-21-2010, 11:53 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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

Last edited by colorpurple21859; 08-21-2010 at 11:58 AM.
 
Old 08-24-2010, 07:40 PM   #3
cryingthug
Member
 
Registered: Jun 2009
Posts: 131

Original Poster
Rep: Reputation: 18
grub

colorpurple21859, thanks! I'll try that.
 
Old 08-24-2010, 07:56 PM   #4
cryingthug
Member
 
Registered: Jun 2009
Posts: 131

Original Poster
Rep: Reputation: 18
?????????

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 View Post
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
 
Old 08-24-2010, 08:08 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Dual boot Debian Etch and XP with GRUB - Debian installed First - one HDD bence8810 Debian 11 01-07-2007 10:45 AM
Dual boot grub config file on SuSE theSandMan Linux - Newbie 3 01-19-2005 07:34 PM
GRUB hangs after RH9 install with dual boot config AXR23 Linux - Newbie 3 04-25-2004 09:18 PM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration