On 30 Sep 10:11, Barry Samuels wrote:
I want to move my wife's operating system to another computer so that should involve a simple 'move the hard drive' operation shouldn't it? Wrong!
I've not come across anything like this before. The drive boots happily in my wife's computer but if I move it to either of two other computers it starts to boot and then stops with various errors.
mount: mounting /dev/root on /root failed: No such file of directory
the same with sys and proc.
Then there is a Busybox line and I end up in a shell prompt: '(initramfs) but the line before that says:
/bin/sh: can't access tty; job control turned off
and nothing appears when I type on the keyboard so I'm stuck.
This is using Squeeze with a standard Debian linux-image package, 2.6.32-5-686, which includes an initrd image. My wife's current computer uses an Athlon XP CPU and the one I'm trying to move to uses a Core 2 Duo both of which are covered by the linux-image.
Crikey, that's OOOOOLD. You'll probably find that the hard drive controller has changed and that the initramfs needs to be rebuilt for the other machines with the right modules...
Or, cheat and set the initramfs settings to use "most" modules and rebuild the initramfs.
Thanks,