I've just cloned my FreeBSD system onto another drive and I cannot get the new drive to boot on the original computer.
I copied the drive on my spare computer with the following commands:
The system boots on the spare computer, but not the original. Here is the error I get on the original:
lsdev command gives me:
The drive shows up as a ad2 device on the spare computer and ad0 on the original computer, should that be a problem?
Why would it boot on one computer and not the other?
Do I have to use commands like 'boot0cfg -B ad0' or 'bsdlabel -B ad0s1' to get it to work?
I copied the drive on my spare computer with the following commands:
Code:
# ( dump -0af - /mnt/oldroot ) | ( cd /mnt/newroot ; restore -rf - )
# ( dump -0af - /mnt/oldvar ) | ( cd /mnt/newvar ; restore -rf - )
# ( dump -0af - /mnt/oldusr ) | ( cd /mnt/newusr ; restore -rf - )
Code:
Firewall error on new disk
BTX loader 1.00 BTX version is 1.01
Console: internal vido/keyboard
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 638kB/261056KkB available memory
FreeBSD/i386 bootstrap loader, Revision 1.1
(root@wv1u.btc.adaptec.com, Thu Jun 5 00:52:26 GMT 2003)
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK
lsdev command gives me:
Code:
cd devices:
disk devices:
disk0: BIOS drive A:
disk1: BIOS drive C:
disk1s1: FFS bad disklabel
pxe devices:
The drive shows up as a ad2 device on the spare computer and ad0 on the original computer, should that be a problem?
Why would it boot on one computer and not the other?
Do I have to use commands like 'boot0cfg -B ad0' or 'bsdlabel -B ad0s1' to get it to work?