Visit Jeremy's Blog.
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 04-15-2005, 03:52 AM   #1
Registered: Mar 2004
Distribution: Fedora, Debian
Posts: 41

Rep: Reputation: 15
Dual Boot and Grub

I wanted to go back to an older kernel and uninstalled the previous one. However with doing so it deleted the loading part for linux in the grub.conf file.

title Windows
        rootnoverify (hd0,0)
        chainloader +1
Is what is currently there. I am using Fedora Core 2 if its to any help and with removing the newer kernel used the rpm -e command.

Disk /dev/hda: 120.0 GB, 120034123776 bytes
16 heads, 63 sectors/track, 232581 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       30473    15358108+   7  HPFS/NTFS
/dev/hda2           30473      232560   101852100    f  W95 Ext'd (LBA)
/dev/hda5           30473      111738    40957686    7  HPFS/NTFS
/dev/hda6          111739      111941      102280+  83  Linux
/dev/hda7          111942      231520    60267784+  83  Linux
/dev/hda8          231521      232560      524128+  82  Linux swap
Ive tried doing it myself however was only looking over other example files to do it. I was wondering if anyone could just help me or put me in the right direction

title Fedora Core 2
        root (hd0,1)
        kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.5-1.358.img
title Windows
        rootnoverify (hd0,0)
        chainloader +1
At present in this I havent set the default yet for which to load.
Old 04-15-2005, 04:56 AM   #2
LQ Newbie
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0

Can you post the entire of your menu.lst ? I have a funny feeling that when you upgraded your kernel it replaced the kernel i.e. the older one was removed AND when you manually removed the new kernel you effectively removed linux.

However this can be fixed. Its a bit complicated but will save reinstalling.
Old 04-15-2005, 07:36 AM   #3
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
The problem appears to be with how you defined root in your grub.conf. With (hd0,1) you are pointing it to the second primary partition on the first hard drive. This does not correspond to where you have your Linux partitions. I believe you need to say (hd0,5) because that is where grub is currently getting splash.xpm.gz. If this does not work you can use find /boot/vmlinuz-2.6.5-1.358 on a grub command line and it will locate what partition it is on (provided it exists). More on installation and be found in the GRUB Manual. Let us know how you make out.

Old 04-15-2005, 08:09 PM   #4
Registered: Mar 2004
Distribution: Fedora, Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks wmakowski that worked a treat.


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 dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 06:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
Grub Dual Boot Mandrake 9.2 and Win2000 Invalid Boot Disk larsenmtl Linux - Newbie 1 02-01-2004 03:29 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 PM.

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