- Subject: Re: grub not working after kernel update
- From: redhatdude@xxxxxxxxxxxxx
- Date: Fri, 04 Jul 2008 19:28:28 +0000
- In-reply-to: <Pine.LNX.4.64.0807041332420.2802@xxxxxxxxxxx>
- Reply-to: For users of Fedora <fedora-list@xxxxxxxxxx>
-------------- Original message ----------------------
From: Joe Klemmer <klemmerj@xxxxxxxxxxx>
>
> On Thu, 3 Jul 2008, lee wrote:
>
> > > > I just upgraded my laptop using yum. Upgrade included a new kernel,
> > > > after upgrade finished I rebooted. Now all I get is GRUB on my
> > > > screen. I booted with rescue disk and can see nothing wrong with
> > > > grub. New kernel is 2.6.26.9-76.fc9.i686.
> > >
> > > This happened to me recently. I booted from a live cd and reinstalled
> > > grub. After that the system booted up. If you don't know how do it let
> > > us knows to get step by step instructions. EJ
> >
> > Thanks for all the help. Used rescue disk and reinstalled grub. Works
> > fine now.
>
> Heh, I wish I'd seen this earlier. The same thing happened to me
> and now the box is feeling less than cooperative. Could someone please
> post the step by step instructions for an oldtimer? I'd google but I'm
> having to use a public box to access the 'Net at the moment. If it's not
> to much trouble could you CC to joe.klemmer@xxxxxxxxx please? It's bood
> to have a fallback.
>
> Joe
>
Get the live CD or the Fedora 9 Installer DVD.
Make sure your computer BIOS is configured to start from the cd/dvd, this is in case it doesn't boot up from the cd/dvd.
>From the CD open the terminal. From the Installer DVD select Rescue Mode.
>From the CD terminal become root by doing: su -
There's no password.
>From the DVD no need, you fall into a terminal.
1-Let's find your boot partition
fdisk -l
You'll get something like this among other things.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 4866 38885332+ 8e Linux LVM
See the asterisk? That's your boot partition, sda1. So now you know.
2- Let's restart the grub boot loader
type grub and press enter. You'll get this.
# grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub>
3- At the grub prompt let's select the partition with the command root (hd0,0). Zero means the first one.
This is the output.
grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
If your boot partition is sda2 then the command would be: root (hd0,0). For sdb1: root (hd1,0). For sdb2: root (hd1,1). Got it?
4- Once the partition is selected, reinstall grub with this command.
setup (hd0)
Note. If your partition was sdb1 then setup (hd1)
5- Now enter quit at the grub prompt and reboot.
If you have any problems, post here the errors as well as the output of fdisk -l
Hope that helps.
EJ
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Older Fedora Users Mail]
[Home]
[Fedora Announce]
[Fedora News]
[Fedora Advisory Board]
[Fedora Security]
[Fedora Robotics]
[Fedora Maintainers]
[Fedora Infrastructure]
[Fedora Websites]
[Anaconda Devel]
[Fedora Devel Java]
[Fedora Legacy]
[Fedora Desktop]
[Fedora Fonts]
[iPod Nano]
[ATA RAID]
[Fedora Bible]
[Fedora Marketing]
[Fedora Management Tools]
[Fedora Mentors]
[Fedora Package Announce]
[POF Sucks]
[Fedora Package Review]
[Fedora PHP Devel]
[Kickstart]
[Fedora Music]
[Fedora Packaging]
[Centos]
[Fedora SELinux]
[Fedora Legal]
[Fedora Kernel]
[Fedora QA]
[Fedora Triage]
[Fedora OCaml]
[Coolkey]
[ET Management Tools]
[Yum Users]
[Tux]
[Big List of Linux Books]
[Yosemite News]
[Yosemite Photos]
[Linux Apps]
[Maemo Users]
[KDE Users]
[Fedora Tools]
[Fedora Art]
[Fedora Docs]
[Maemo Users]
[Asterisk PBX]
[Fedora Sparc]
[Fedora Universal Network Connector]
[Fedora ARM]
[Fedora 8 and Red Hat Enterprise Linux Bible]