Re: grub vs. me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-04-23 at 16:57 +0200, Colin Brace wrote:
> Hi all,
> 
> I installed F9 preview several days ago. For some reason, I
> encountered the same problem I did when going from FC6 to FC7;
> anaconda hoses my grub config and I  get dumped to the grub prompt at
> boot. I posted to the list about it then, and I looked the old thread
> up for a solution when it happened again. For some reason, I can't
> seem to fix menu.lst this time around.
> 
> At the moment, to boot Fedora, I type at the grub prompt:
> root (hd0,0)
> kernel /vm...     root=/dev/sda3
> initd /initrd...
> boot
> 
> (... = tab autocomplete) This works fine. Below is my modified
> menu.lst and the one created by anaconda
> 
> # grub.conf modified by me
> #
> # 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 (hd0,2)
> #          kernel /vmlinuz-version ro root=/dev/sda3
> #          initrd /initrd-version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.25-1.fc9.i686)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.25-1.fc9.i686 ro root=/dev/sda3 rhgb
>         initrd /initrd-2.6.25-1.fc9.i686.img
> title Fedora (2.6.25-0.234.rc9.git1.fc9.i686)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.25-0.234.rc9.git1.fc9.i686 ro
> root=UUID=5dce2cab-3f1b-45d7-b204-67f4b06516eb rhgb quiet
>         initrd /initrd-2.6.25-0.234.rc9.git1.fc9.i686.img
> 
> # 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 (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/sdc3
> #          initrd /initrd-version.img
> #boot=/dev/sdc
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.25-0.234.rc9.git1.fc9.i686)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.25-0.234.rc9.git1.fc9.i686 ro
> root=UUID=5dce2cab-3f1b-45d7-b204-67f4b06516eb rhgb quiet
>         initrd /initrd-2.6.25-0.234.rc9.git1.fc9.i686.img
> 
> Anyone seem something that I am missing? Also, why does anaconda keep
> getting it wrong? AFIACT, it keeps thinking that sdc is my boot drive,

Actually it doesn't. The reference to /dev/sdc is simply a comment, even
though it's wrong, but both versions are using (hd0,0). What is more
interesting is that your edited version has root on /dev/sda3. Is this
consistent with the partition you have marked as bootable (see fdisk)?

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux