Re: Another preupgrade disaster -

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

 



On 20/11/09 21:01, stan wrote:
On Fri, 20 Nov 2009 17:43:36 -0500
Bob Goodwin<bobgoodwin@xxxxxxxxxxxx>  wrote:

On 20/11/09 17:29, David Timms wrote:
On 11/21/2009 08:50 AM, Bob Goodwin wrote:
Don't know what that means. Why does it want the "root" for the
previous system?
The "root" in this case refers to the top level of your filesystem
tree "/". It can't find it.

Can you post: cat /boot/grub/grub.conf [root@box6 ~]# cat
/boot/grub/grub.conf
# 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/mapper/vg_box6-lv_root #
initrd /initrd-version.img #boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Upgrade to Fedora 12 (Constantine)
         root (hd0,0)
     kernel /upgrade/vmlinuz preupgrade
repo=hd::/var/cache/yum/preupgrade
stage2=hd:UUID=09e14e02-5f2b-4e87-b2b6-4d8ffb6d7f98:/upgrade/install.img
ks=hd:UUID=09e14e02-5f2b-4e87-b2b6-4d8ffb6d7f98:/upgrade/ks.cfg
     initrd /upgrade/initrd.img
I don't know about the rest of what you posted, but this seems to be
missing the root (hd0,0) line.  Maybe preupgrade takes it from the next
stanza???

title Omega 11.1 Fedora Remix (2.6.30.9-96.fc11.i586)
     root (hd0,0)
     kernel /vmlinuz-2.6.30.9-96.fc11.i586 ro
root=/dev/mapper/vg_box6-lv_root
     initrd /initrd-2.6.30.9-96.fc11.i586.img
Well whatever, I added that line as shown below, but still get the same error when I run preupgrade.

   #boot=/dev/sda
   default=1
   timeout=10
   splashimage=(hd0,0)/grub/splash.xpm.gz
   hiddenmenu
   title Upgrade to Fedora 12 (Constantine)
        root (hd0,0)
        kernel /upgrade/vmlinuz preupgrade
   repo=hd::/var/cache/yum/preupgrade
   stage2=hd:UUID=09e14e02-5f2b-4e87-b2b6-4d8ffb6d7f98:/upgrade/install.img
   ks=hd:UUID=09e14e02-5f2b-4e87-b2b6-4d8ffb6d7f98:/upgrade/ks.cfg
        initrd /upgrade/initrd.img
   title Omega 11.1 Fedora Remix (2.6.30.9-96.fc11.i586)
        root (hd0,0)
        kernel /vmlinuz-2.6.30.9-96.fc11.i586 ro
   root=/dev/mapper/vg_box6-lv_root
        initrd /initrd-2.6.30.9-96.fc11.i586.img
   title Omega 11.1 Fedora Remix (2.6.30.9-90.fc11.i586)
        root (hd0,0)
        kernel /vmlinuz-2.6.30.9-90.fc11.i586 ro
   root=/dev/mapper/vg_box6-lv_root
        initrd /initrd-2.6.30.9-90.fc11.i586.img
   title Omega 11.1 Fedora Remix (2.6.30.8-64.fc11.i586)
        root (hd0,0)
        kernel /vmlinuz-2.6.30.8-64.fc11.i586 ro
   root=/dev/mapper/vg_box6-lv_root
        initrd /initrd-2.6.30.8-64.fc11.i586.img



However when I run fdisk on that computer it shows two drives flagged as boot. It boots from /dev/sdb. And I see there is an error in the partitioning on /dev/sda. I wonder if that can cause confusion? It certainly hasn't bothered F-11, I never noticed before. I would have tried removing the other boot "*" but I'm not sure if telling it to write that will cause other problems, with it all being lvm I don't know if anything is written to that disk that I need? I have a strong temptation to run fdisk and fix that! Any suggestions ...

   cat fdisk.txt

   #    fdisk.txt

       Device Boot      Start         End      Blocks   Id  System
   /dev/sda1   *           1          26      204800   83  Linux
   Partition 1 does not end on cylinder boundary.
   /dev/sda2              26       30401   243991201   8e  Linux LVM


       Device Boot      Start         End      Blocks   Id  System
   /dev/sdb1   *           1          13      104391   83  Linux
   /dev/sdb2              14        9729    78043770   8e  Linux LVM

Also I never removed the parts of grub.conf that refer to the kernels I removed before starting this exercise.

Bob

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux