![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| installing second harddrive | crzywut | SUN Solaris | 2 | 04-13-2008 11:06 AM |
| booting from which harddrive | onthetopo | UNIX for Dummies Questions & Answers | 2 | 06-25-2007 07:55 PM |
| Copying a file to my harddrive | zoolz | UNIX for Dummies Questions & Answers | 1 | 01-09-2006 09:17 AM |
| Mount a harddrive in linux. | RKJV | Linux | 2 | 12-10-2005 11:04 PM |
| Supplemental harddrive. | matvrix | Filesystems, Disks and Memory | 1 | 03-06-2005 05:04 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
if it is for unix or linux :
Copy just the MBR and boot sector of a hard dirve to another hard drive image: dd if=/dev/hda of=/dev/hdb bs=512 count=2 Copy MBR only of a hard drive: dd if=/dev/hda of=/dev/hdb bs=446 count=1 otherwise you can create a file of MBR image and later you can copy back to the hard drive. Check the hard drive names in your machine.... If it is for windows, you have lot of tool available here : http://www.geocities.com/thestarman3...tToolsRefs.htm |
|
||||
|
I read this and nearly had a heart attack... the instructions given above a PLAIN WRONG and will destroy your partitions and data.
To backup the MBR you dd if=/dev/sda of=mbrbackup bs=512 count=1 to restore the MBR you want to dd if=mbrbackup of=/dev/sdb bs=446 count=1 If you copy more than 446 you will wipe over the partition tables, which is OK if you are copying to the same disk with the same unchanged partitions. Whoever you are who wrote what you did, you should be ashamed of yourself for leaving such inaccurate and dangerous information out there. To everyone else, please double check your DD commands before you use them because you can do irreparable damage. If in double google a few different sources to double and triple check. Drak |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|