On Tue, 2004-04-06 at 15:32, Carlos E. R. wrote:
The Monday 2004-04-05 at 15:46 -0400, Lists wrote:
Tried rebooting again and got the same thing. After a bit of mucking about, I threw up my hands, shut down the system and put the old hard drive back in as /dev/hda and moved the SuSE drive back to /dev/hdb. Rebooted into rescue mode from the CD, restored lilo.conf and did a chrooted lilo again. Rebooted and the system started back up normally.
That's what you should have done first thing; what failed after the update is that you did not run lilo after it.
I take it that the update would have run lilo if it had completed normally? The error essentially left the system in an in-between state.
With the ReiserFS weirdness, however, I decided to switch to ext3. I created a new ext3 filesystem on hda. Now, how do I get my system over? You can't use a simple cp because hda would be mounted as part of the file tree. Copying the entire file tree to a disk that's mounted as part of the same tree takes a LONG time. (Recursion, anyone?) So I made sure hda was not mounted, unmounted the network drives, and tarred * from the root. When that was done, I mounted hda under /mnt, moved the tar ball over and untarred it. I wasn't sure if that would work, but what the heck, that's how you learn stuff.
Read /usr/share/doc/howto/en/mini/Hard-Disk-Upgrade.gz
Thanks for the pointer. I'll look that up.
I edited /mnt/etc/lilo.conf to change all references from hdb to hda, and chrooted lilo to /mnt. Lilo happily did it's thing and I rebooted. The system came up. Dropped to a command line and issued mount. Mount told me that /dev/hdb1 was mounted on / as ReiserFS. Huh? The system should have booted with /dev/hda as root. On a hunch, I did a df.
You forgot to edit /etc/fstab. When changing disks, you have to edit both lilo.conf (or grub) and fstab. That error you report is consistent with a mismatching fstab file, because that's the place the system is looking for partition types.
Now that you point it out, it makes perfect sense. It never even occurred to me at the time I was pulling my hair out. Every time I start getting cocky about my l33t 5ki1z, something comes up to thoroughly humble me. Thanks for helping me figure this out. Now, I have something to play with this weekend. <G>