Login or Register to Ask a Question and Join Our Community

Backup MBR an Partition Table

Thread Tools Search this Thread
Operating Systems SCO Backup MBR an Partition Table
# 1  
Old 08-06-2010
Backup MBR an Partition Table


How can I backup MBR an Partition Table of SCO 5.0.6?

Last edited by ccc; 08-08-2010 at 01:55 PM..
# 2  
Old 08-08-2010
Can I backup MBR and Partition Table using OpenServer-5.0.7Hw-10Jun05_1800 setup CD?
# 3  
Old 08-08-2010
Why don't you tell us what you are really trying to accomplish, and if all these questions apply to a single machine.
This User Gave Thanks to jgt For This Post:
# 4  
Old 08-10-2010
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?
# 5  
Old 08-10-2010
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.
This User Gave Thanks to jgt For This Post:
# 6  
Old 08-10-2010
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

Last edited by ccc; 08-10-2010 at 04:09 PM..
# 7  
Old 08-10-2010
partiton table actually in last 64 bytes of fırst sector in your drive
first 446 bytes is the grub stage1 bootloader

dd if=/dev/rhd00 of=tmp/mbr.bin bs=512 count=1

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

How do I partition an Oracle 11g Table?

Hello, I have a database called "audit_database" and I want to create two tables. Table 1 = Table 1 Table 2 = Audit I want to partition the Audit table into partitions grouped by month. I'm not familiar with table partitioning but doing some reading online shows that it can be done but... (4 Replies)
Discussion started by: bbbngowc
4 Replies

2. Solaris

System partition backup

Dear All, I am using solaris 9,I want to take the backup all the partition of my system 1 by 1 and put it into tape device. Below is the df -kh output Filesystem size used avail capacity Mounted on /dev/md/dsk/d1 11G 3.4G 7.9G 31% / /dev/md/dsk/d6 ... (4 Replies)
Discussion started by: monojcool
4 Replies

3. Boot Loaders

GRUB MBR and restoring a partition

I tried to install another Linux O.S along with MS and to make two Linux's and one windows.Usually when I try this GRUB losses the ability to boot the first Linux install. It did it again. I would really like to get this first install bootable again. Here are some facts. -I have a rescue... (0 Replies)
Discussion started by: theKbStockpiler
0 Replies

4. Solaris

Manually editing partition table

I'm manually editing the partition table purely for experimenting. I did prtvtoc /dev/dsk/c1t0d0s2 > /tmp/prtvtoc I'm trying to split up partition 5 to make partition 6. I'm running into a cylinder boundary error on partition 6. Any clues? # vi /tmp/prtvtoc "/tmp/prtvtoc" 23 lines, 769... (1 Reply)
Discussion started by: adelsin
1 Replies

5. Slackware

Help me!!!! - Slackware 12 Issue - Invalid Partition table

Hi All, I am a linux newbie. After working with my loveable FEDORA 10 for months, i found it a bit slower. I wanted to try with slackware this time. I already had Windows XP and fedora in my 80 GB SATA disk. Now i allotted 15 GB ( SWAP + / + /home/usr ). During my installation i encountered no... (5 Replies)
Discussion started by: beinthemiddle
5 Replies

6. Filesystems, Disks and Memory

Creating /boot partition & MBR concerns

I have 40GB HD with mepis8, swap, MBR and under flags word boot. I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a... (1 Reply)
Discussion started by: worthamtx
1 Replies

7. Solaris

Can I put my own tags in a partition table

I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below. Specify disk (enter its number): 0 selecting c0t0d0 /dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M). FORMAT MENU: disk - select a disk ... (3 Replies)
Discussion started by: bharu_sri
3 Replies

8. UNIX for Advanced & Expert Users

modify a predefined partition table on Solaris

I want to modify a predefined partition on Solaris. This predefined partion has 51 GB. I want to partition it as two partition. One is 5G, another one is about 46 GB. I want to use these commands: #format specify disk #partition # modify The system told me that ' Cannot modify disk... (1 Reply)
Discussion started by: duke0001
1 Replies

9. UNIX for Advanced & Expert Users

resizing the partition table

Host 1 ------- Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 1911 18.56GB (1912/0/0) 38913024 1 swap wu 1912 - 5434 34.19GB (3523/0/0) 71700096 2 backup wm 0 - 14086 136.71GB ... (5 Replies)
Discussion started by: sriny
5 Replies

10. Solaris

recovery partition table from fdisk?

I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk. The possible reason could be: 1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies
Login or Register to Ask a Question

Featured Tech Videos