hi
How can I backup MBR an Partition Table of SCO 5.0.6?
hi
How can I backup MBR an Partition Table of SCO 5.0.6?
Can I backup MBR and Partition Table using OpenServer-5.0.7Hw-10Jun05_1800 setup CD?
Why don't you tell us what you are really trying to accomplish, and if all these questions apply to a single machine.
We have 3 different SCO server in 3 countries.
One on them should be virtualized, second one should be migrate to a different hardware. Third one doesn't boot.
What about my question?
All you can do is try. The first disk would be recognized, the problem may be in finding the device you want to copy to (presumably disk 2)
Use dd to copy.
dd if=/dev/rhd0a of=/dev/rhd1a bs=64k
Disk2 has to be at least as large as disk1.
I would not try this on the machine that does not boot.
Thx, but howto find the device of the whole disk?
Is it a correct way using fdisk?
scounix# fdisk
1. Display Partition Table
2. Use Entire Disk for UNIX
3. Use Rest of Disk for UNIX
4. Create UNIX Partition
5. Activate Partition
6. Delete Partition
7. Create Partition
Enter your choice or 'q' to quit: 1
Current Hard Disk Drive: /dev/rhd00
+-------------+----------+-----------+---------+---------+---------+
| Partition | Status | Type | Start | End | Size |
+-------------+----------+-----------+---------+---------+---------+
| 1 | Active | UNIX | 1 | 4444904 | 4444904 |
+-------------+----------+-----------+---------+---------+---------+
Total disk size: 4445160 tracks (256 reserved for masterboot and diagnostics)
The whole disk seems to be /dev/rhd00.
I'd like to copy MBR to a file.
BTW using:
dd if=/dev/rhd00 of=/tmp/mbr.bin bs=64k
does it copy partition table as well?
or perhaps this?
scounix# dd if=/dev/rhd00 of=/tmp/mbr.bin bs=512 count=1
1+0 records in
1+0 records out
partiton table actually in last 64 bytes of frst sector in your drive
first 446 bytes is the grub stage1 bootloader
dd if=/dev/rhd00 of=tmp/mbr.bin bs=512 count=1
after a little reading:
A copy of the master boot block is contained in /etc/hdboot0
Recover OpenServer 5 root filesystem after crash if backups, boot/root exist.