grub vs. me
David Timms
dtimms at iinet.net.au
Fri Apr 25 01:04:24 UTC 2008
Patrick O'Callaghan wrote:
> On Wed, 2008-04-23 at 16:57 +0200, Colin Brace wrote:
>> Anyone seem something that I am missing? Also, why does anaconda keep
>> getting it wrong?
Was this a fresh install or an upgrade ?
>> AFIACT, it keeps thinking that sdc is my boot drive,
What is sdc then ?
# fdisk -l
Is this an instance of dev naming changes that occurred at F7, ie
/dev/hdX now /dev/sdY {where X not necesarily = Y}
> 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)?
diff -u *
--- anaconda.txt 2008-04-25 10:47:20.000000000 +1000
+++ mod.txt 2008-04-25 10:48:15.000000000 +1000
@@ -1,14 +1,18 @@
# 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
+# root (hd0,2)
+# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
-#boot=/dev/sdc
+#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
- grub root (?) must point to the location of the grub files ie usually
the /boot partition.
- the kernel root= line must point to the os / partition.
so the change you made is to not use the UUID, but rather the partition
indicator ?
perhaps it doesn't match the partitions UUID ?
blkid -s UUID
DaveT.
More information about the users
mailing list