LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-14-2004, 10:28 AM   #1
baked
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Rep: Reputation: 0
anyway to mount your master boot record to see whats on it??


Does anyone know if you can mount your /dev/mbr to see what all is on it?
I was just curious if anyone knows feel free to respond
 
Old 01-14-2004, 10:51 AM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
There's no filesystem in mbr, it's just 512bytes, so you can't "mount" it.
You can dump it to a file with
Code:
dd if=/dev/hda of=/path/to/savefile count=1 bs=512
The first 4 DWORD (4*4=16 bytes) contain primary partitions info, the next 496 are for stage1 of bootloaders
 
Old 01-14-2004, 10:53 AM   #3
baked
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Cool thanks, I appreciate it.
 
  


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
whats a good program to backup my master boot record FocusedWolf Linux - General 11 03-15-2005 09:55 PM
master boot record help sfr7 Linux - Laptop and Netbook 10 04-25-2004 08:52 AM
Master Boot Record linuxuser05 Linux - General 3 01-11-2004 06:57 PM
master boot record alaios Linux - General 1 04-22-2003 08:41 AM
master boot record dark_light Linux - General 11 07-03-2002 05:21 AM

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

All times are GMT -5. The time now is 08:49 PM.

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
Open Source Consulting | Domain Registration