I went through the "fun one" system of moving disks.
However, when I boot with my rescue disk, it says there's a problem mounting my system.
If I try to boot directly, grub reports a hard disk error.
The partitions on my new disk are as follows:
/dev/hda1: /boot
/dev/hda2: swap
/dev/hda3: /
I can mount them by hand, and I've compared all the files between old and new drives... no problems there.
I think it might be a problem with the way I installed grub to the new disk.
Since I couldn't get the rescue disk to mount the new disk... I went back to my old one, put the new disk on /dev/hdb, and did a:
grub-install /dev/hdb
Didn't work.
Used rescue disk, mounted system by hand, did:
grub-install /dev/hda
Didn't work.
Thought it might be because my /boot is on a seperate partition. Did:
grub-install --root-directory=/boot
Didn't work.
Here's the /etc/fstab file from the new disk:
Code:
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,rw 0 0
I just used the same file as the old disk, and modified it slightly.
Strange thing is, when I mount the system by hand under the rescue environment, "df" reports entries for
/new-disk
/new-disk/boot
... with errors. That's how I mounted my new disk to copy over the files. Not sure why it is showing up under the new environment, since the /etc/fstab doesn't define those mount points.
Where's my problem?