Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-01-2005, 10:08 PM   #1
Registered: Jul 2005
Posts: 38

Rep: Reputation: 15
grub help booting into another linux partition

can someone look at my grub file and tell me why I can't boot into my debian partition please.

both fedoras are fine one is just an updated kernel, win 98 is fine but my debian is returning an error. The debian is actually on hdg3. i can mount a drive there and view the information but I want to be able to boot back into it.
below is my grub.conf file.
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
title Fedora Core (2.6.12-1.1398_FC4)
root (hd1,0)
kernel /vmlinuz-2.6.12-1.1398_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.12-1.1398_FC4.img
title Fedora Core (2.6.11-1.1369_FC4)
root (hd1,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Debian3.1
root (hdg3,0)
kernel /vmlinuz-2.6.7-1-686.img
initrd /initrd-2.6.7-1-686.img
title Win 98
rootnoverify (hd0,0)
chainloader +1
Old 08-01-2005, 11:26 PM   #2
LQ Newbie
Registered: Jul 2005
Distribution: FreeBSD 5.4
Posts: 8

Rep: Reputation: 0
I may be a bit of a n00b, but I can tell you this:

If you have no precious files on your debian partition and don't mind reinstalling over it, go ahead and do that. Then open up your grub config file. In sarge w/ 2.6 kernel, the configuration is "/boot/grub/menu.lst". Back up this config. Cut and paste your many FC boot configs and Win98 config into this debian grub config file where you feel would be appropriate. Sort them as you please.

Pick a default menu choice. Edit the "default 0" line so that your preferred menu item is automatically highlighted. (0 = first item, 1 = second item, etc.). Edit the timeout to a comfortable time. (I prefer "timeout 10".)

This may not be your pretty Fedora Core grub menu, but at least you would be able to boot everything.

Again, this is only if you don't mind writing over your Debian partition.

Edit: Clarified some things.

Last edited by quietbyday; 08-01-2005 at 11:32 PM.
Old 08-01-2005, 11:58 PM   #3
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Hrmm... from the looks of it, you are seting up the debian partition as if it were the fstab file. Grub opperates a little bit differently. Here is an example that I found at


root (hd0,0)

indictates that this operating system is installed on the first or primary hard drive (hd0) and the first partition (,0). if your linux system was on /dev/hda3, it would look like this


root (hd0,2)

Remember, 0 is the first, 1 is the second, and so on. "

Change the debian entry according to this formula. My first guess according to what you posted is that it would be (hd6,2). Although this sounds a little off to me, unless you have a SCSI system or something. Keep at it, and let me know what you find.
Old 08-04-2005, 11:34 AM   #4
Registered: Jul 2005
Posts: 38

Original Poster
Rep: Reputation: 15
I looked right into the grub /sbin/init and saw hd0,2 and hd1,2 either of these solved the problem.

I person suggested to reinstall debian, can't do that because of the information on that partition.


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
Booting more than one linux - GRUB and \boot partition questions rozoweskarpetki Linux - Newbie 8 05-25-2005 06:58 AM
Grub not booting windows XP with Suse 9.2 partition perl21 Linux - General 8 03-14-2005 07:25 PM
How to use Grub to change the booting partition? JuaN231075 Linux - Laptop and Netbook 2 04-16-2004 05:37 AM
problem w/ Grub booting a Win XP Partition RacerD Linux - Newbie 15 04-16-2004 02:02 AM
Grub/booting problems after partition move jacobly Linux - Newbie 3 09-02-2003 09:33 AM > Forums > Linux Forums > Linux - Newbie

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

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