LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-17-2004, 10:13 PM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Copy Data stored on MBR


I'm using Redhat Linux 9.0.

How to copy data that's stored on the MBR using dd command?

What is the maximum size of MBR?


Thanks,
 
Old 12-17-2004, 10:19 PM   #2
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
MBR resides on the first sector of the first partition of the primary HD.


Is it right?


Thanks,
 
Old 12-18-2004, 04:25 AM   #3
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
No, the MBR is the very first sector on a hard disk, while a partition never begins at this first sector.

dd if=/dev/hda of=hda_mbr.sav bs=512 count=1

copies the MBR of the primary hard disk to the file hda_mbr.sav.
 
Old 12-19-2004, 08:18 PM   #4
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Copy files from DVD data disk bear2x Linux - Hardware 4 06-23-2005 11:03 AM
copy data from reiserfs to ntfs liljhand Linux - General 3 01-24-2005 12:23 AM
copy many files stored in a file dominant Linux - Newbie 3 11-12-2004 05:49 AM
copy hard disc data, with permissions tidasu Linux - Newbie 3 08-29-2004 09:30 PM
How Do I copy data from the cdrom to my harddrive TransAmJugo Linux - Newbie 2 07-18-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration