Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
thanks
# 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
#boot=/dev/hde
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
#hiddenmenu
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)
makeactive
chainloader +1
~
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 10:32 PM.
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 vidalinux.net:
"/boot/grub/grub.conf
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
/boot/grub/grub.conf
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.