Hi all,
I had a look at those links and found some useful info and so I decided to try a little experimentation.
Copied using dd 20gb to 80gb, then performed the following tests each time reloading the 80gb drive.
#1
system boots normally
fdisk -l shows mbr problem as well as not using full 80gb capacity
#2
boot using Fedora system rescue
fdisk /dev/hda
changed to advance
modified ending sector manually
saved and rebooted
system boots to grub
#3
system boots normally
using x-window I started LVM
LVM shows uninitialized partitions equaling the difference between the 20gb and the 80gb
initialized the partitions
merged using LVM to group00
rebooted
system boots to grub
attempted manually grub but cannot find filesystem files as outlined in
the grub trouble shooting guide
grub> root
(hd0,0): Filesystem type unknown, partition type 0x8e
it sees the LVM as unknown, the 8e is correct.
grub> find /boot/bzImage
Error 15: File not found
grub> find /boot/kernel
Error 15: File not found
grub> find /boot/vmlinuz
Error 15: File not found
grub> find /bzImage
Error 15: File not found
grub> find /kernel
Error 15: File not found
grub> find /vmlinuz
Error 15: File not found
setup (hd0)
Error 17: cannot mount selected partition
boot using Fedora system rescue
ls /etc displays file names
type /etc/fstab displays file not found
Conclusion is that LVM has corrupted the filesystem.
It looks like I will have to start a new install and then transfer my old files to the new system unless anyone sees something that I haven't tried.
[root@aurora ~]# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2246 17936572+ 8e Linux LVM
/dev/hda3 2247 9964 61994835 8e Linux LVM
from the expert command
Disk /dev/hda: 255 heads, 63 sectors, 9964 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 80 1 1 0 254 63 12 63 208782 83
2 00 0 1 13 254 63 1023 208845 35873145 8e
3 00 0 1 1023 254 63 1023 36081990 123989670 8e
4 00 0 0 0 0 0 0 0 0 00
Disk /dev/dm-0: 8086 MB, 8086618112 bytes
255 heads, 63 sectors/track, 983 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 2013 MB, 2013265920 bytes
255 heads, 63 sectors/track, 244 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
Anyway, after trying out the above and a few other ideas, I finally gave up and simply installed a fresh copy on the new 80gb drive.
I guess that this is just one of those things for the wishlist for the future.
Peter
