Has procedure to add disks changed on FC5?

Neal Becker ndbecker2 at gmail.com
Thu Feb 16 12:10:16 UTC 2006


I installed a new ide disk.  I used system-config-lvm to create a new lvm. 
Then mounted it, did cp -ax / /mnt/7200rpm.  I can mount the drive fine,
but I can't seem to switch root.

I edited /etc/fstab on the new drive to say:
/dev/7200rpm/LogVol02 /                       ext3    defaults        1 1

I added this to grub:
title Fedora Core (2.6.15-1.1948_FC5)
        root (hd0,2)
        kernel /vmlinuz-2.6.15-1.1948_FC5 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
        initrd /initrd-2.6.15-1.1948_FC5.img <<new entry
title Fedora Core (2.6.15-1.1948_FC5)#2
        root (hd0,2)
        kernel /vmlinuz-2.6.15-1.1948_FC5 ro root=/dev/7200rpm/LogVol02 rhgb
quiet
        initrd /initrd-2.6.15-1.1948_FC5.img

Just for test I did NOT change /boot, it still is the /dev/hda3 (hd0,2)

I even reran grub-install --rescan /dev/hda

When I try to boot entry#2, I see:

Creating root device
Mounting root filesystem
mount: could not find filesystem /dev/root
panic

I also notice that when booting the old root (entry#1), when doing lvm scan
it detects both VolGroup00 and 7200rpm, but only says 2 groups now active
on VolGroup00, nothing about 7200rpm.

lvm> pvscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
    Walking through all physical volumes
  PV /dev/hdb4   VG 7200rpm      lvm2 [55.50 GB / 0    free]
  PV /dev/hda5   VG VolGroup00   lvm2 [55.56 GB / 32.00 MB free]
  PV /dev/hdb3                   lvm2 [196.11 MB]
  Total: 3 [111.26 GB] / in use: 2 [111.07 GB] / in no VG: 1 [196.11 MB]
lvm> lvscan -v
    Finding all logical volumes
  ACTIVE            '/dev/7200rpm/LogVol03' [2.00 GB] inherit
  ACTIVE            '/dev/7200rpm/LogVol02' [53.50 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol00' [53.59 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
lvm> vgscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
  Reading all physical volumes.  This may take a while...
    Finding all volume groups
    Finding volume group "7200rpm"
  Found volume group "7200rpm" using metadata type lvm2
    Finding volume group "VolGroup00"
  Found volume group "VolGroup00" using metadata type lvm2





More information about the fedora-test-list mailing list