I am trying to move to a new hard disk on one of my FreeBSD systems. So, I sliced/paritioned the new disk in sysinstall, and did a live dump of the old system which I restored onto the new disks. I followed the FAQ on this to make sure I was doing it in the recommended manner.
After installing the new disk, the machine won't boot because it now sees the root partition as /dev/ad2s1a instead of /dev/ad2a (I didn't use "dangerously dedicated" on the original install, but I did mess things up with boot0cfg and somehow erased the original slice it was installed to). I hadn't changed the fstab, so I wouldn't expect it to be bootable without some manual entry prior to startup, after which I was planning to fix the fstab.
Now normally I would think this is no big deal. At the mountroot> prompt, I just type ufs:/dev/ad2s1a, and I thought it would boot (after asking me where my other partitions were). However, it tells me that it's attempting to mount the root from /dev/ad2s1a, accesses the HD briefly (judging from the LED) and then just stops doing anything. A ctrl+alt+del will cause a reboot, but no other input seems to do anything.
Do I need to redump from the old disk when it's not live? Do I need to drop the new disk in another working system and edit the fstab there first in order to get it booting? Is it something with the slice being present on the new disk and not on the old one? Where do I start?
After installing the new disk, the machine won't boot because it now sees the root partition as /dev/ad2s1a instead of /dev/ad2a (I didn't use "dangerously dedicated" on the original install, but I did mess things up with boot0cfg and somehow erased the original slice it was installed to). I hadn't changed the fstab, so I wouldn't expect it to be bootable without some manual entry prior to startup, after which I was planning to fix the fstab.
Now normally I would think this is no big deal. At the mountroot> prompt, I just type ufs:/dev/ad2s1a, and I thought it would boot (after asking me where my other partitions were). However, it tells me that it's attempting to mount the root from /dev/ad2s1a, accesses the HD briefly (judging from the LED) and then just stops doing anything. A ctrl+alt+del will cause a reboot, but no other input seems to do anything.
Do I need to redump from the old disk when it's not live? Do I need to drop the new disk in another working system and edit the fstab there first in order to get it booting? Is it something with the slice being present on the new disk and not on the old one? Where do I start?