LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 11: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, 12:53 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,393

Rep: Reputation: 187Reputation: 187
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 12:58 PM.
 
Old 08-24-2010, 08: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, 08: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, 09:08 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,393

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:41 PM
Dual boot Debian Etch and XP with GRUB - Debian installed First - one HDD bence8810 Debian 11 01-07-2007 11:45 AM
Dual boot grub config file on SuSE theSandMan Linux - Newbie 3 01-19-2005 08:34 PM
GRUB hangs after RH9 install with dual boot config AXR23 Linux - Newbie 3 04-25-2004 10:18 PM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 09:19 PM


All times are GMT -5. The time now is 10:19 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration