Right - it gets through the process for a couple of minutes and then stops, leaving the machine in emergency mode.
Are you sure you are looking at the drive file and not the cd/dvd file?
The only physical HDD of any sort present is the old, source Hitachi HDD. No sticks, no CD’s, no DVD’s, no net boots, just the one HDD.
You need to mount the root partition from the drive then look at the /et/fstab on that partition
Yep. Got there. See post #6 above.
You will need to edit that file any way to point to the new device
If the startup log is to be believed, I need to take the new device (seen in the last line of the fstab from the old device) out of the fstab.
Also I think you need to do a chroot and remake grub and perhaps do an initd
Perhaps on the new, target drive.
WAIT! NEWS FLASH!
Thanks to the above questions, I ran dmesg, with the idea of capturing all the info from the startup. My next thought was to pipe the output to a temporary file, trim it down with emacs, and write it to a stick, and post that stuff here. Hmmm… temporary file… hmmm… speaking of temporary files, I wonder what happens when I do “dir /tmp”?
In fact, /dev/sda’s (the old Hitachi HDD) /tmp exists and the directory is easily listed. Which says /dev/sda has a functional tmp directory tree.
The problem is a very simple one: /dev/sda’s /etc/fstab is broken. It wants to mount the /tmp tree from a drive that doesn’t exist! Going through /etc/fstab again:
/dev/system/swap swap swap defaults 0 0
/dev/system/root / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HDS721075CLA332_JP2740HP04Y2NH-part1 /boot ext4 acl,user_xattr 1 2
/dev/system/home /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/ata-WDC_WD7500BPKX-22HPJT0_WD-WX41A93N7736-part1 /tmp ext4 acl,user_xattr 1 2
This line:/dev/disk/by-id/ata-WDC_WD7500BPKX-22HPJT0_WD-WX41A93N7736-part1 /tmp ext4 acl,user_xattr 1 2 should be changed to mount the /tmp on the Hitachi HDD. Remember that, at the moment, the WD HDD does not exist. It is physically disconnected from the desktop box.
The device names have changed and you have to adjust for that.
If you can see and mount the partitions then the clone probably worked
I see that vaguely. First off, I need to address the issue listed above. The best place to follow that up is the Need to fix broken LVM2 volume thread.
Once that’s done, I’ll address the business of cloning the two “same but different” drives with their same size and different physical sector sizes.