Unix Technical Forum

Saving MBR to USB stick

This is a discussion on Saving MBR to USB stick within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi All, Is there a live CD which allows me to save my current MBR to an USB stick ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 08:13 PM
Edmund
 
Posts: n/a
Default Saving MBR to USB stick

Hi All,

Is there a live CD which allows me to save my current MBR
to an USB stick and put it back to Harddrive again and which
commands do I need for that?

I have winXP ( need it for my Garmin GPS ) installed and like
to have a linux for my daily use beside it.


Thanks for any help


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 08:13 PM
Hactar
 
Posts: n/a
Default Re: Saving MBR to USB stick

In article <b47d7$4591b9af$5429cd05$17226@news.speedlinq.nl >,
Edmund <nomail@hotmail.com> wrote:
>
> Is there a live CD which allows me to save my current MBR
> to an USB stick and put it back to Harddrive again and which
> commands do I need for that?


LiveCD, bah. "dd if=/dev/hda of=/mnt/usbstick/mbr_file bs=512 count=1",
assuming /dev/hda is your hard drive, and 512 bytes covers the MBR but
not the partition table (anyone?).

> I have winXP ( need it for my Garmin GPS ) installed and like
> to have a linux for my daily use beside it.


Easier: to install Windows' MBR (boot ONLY into Windows), from Windows
run "fdisk /mbr".

--
-eben QebWenE01R@vTerYizUonI.nOetP royalty.no-ip.org:81

And we never failed to fail / It was the easiest thing to do -- CSN

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 08:14 PM
Tauno Voipio
 
Posts: n/a
Default Re: Saving MBR to USB stick

Hactar wrote:
> In article <b47d7$4591b9af$5429cd05$17226@news.speedlinq.nl >,
> Edmund <nomail@hotmail.com> wrote:
>
>>Is there a live CD which allows me to save my current MBR
>>to an USB stick and put it back to Harddrive again and which
>>commands do I need for that?

>
>
> LiveCD, bah. "dd if=/dev/hda of=/mnt/usbstick/mbr_file bs=512 count=1",
> assuming /dev/hda is your hard drive, and 512 bytes covers the MBR but
> not the partition table (anyone?).


It *does* cover the main partition table (4 primary partitions)
which is near the end of the MBR.

For a toolkit CD, I would recommend the System Rescue CD
<http://www.sysresccd.org/Main_Page>.

--

Tauno Voipio
tauno voipio (at) iki fi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 08:14 PM
Edmund
 
Posts: n/a
Default Re: Saving MBR to USB stick


"Tauno Voipio" <tauno.voipio@INVALIDiki.fi> wrote in message
news:QIwkh.154$lC.85@read3.inet.fi...
> Hactar wrote:
>> In article <b47d7$4591b9af$5429cd05$17226@news.speedlinq.nl >,
>> Edmund <nomail@hotmail.com> wrote:
>>
>>>Is there a live CD which allows me to save my current MBR
>>>to an USB stick and put it back to Harddrive again and which
>>>commands do I need for that?

>>
>>
>> LiveCD, bah. "dd if=/dev/hda of=/mnt/usbstick/mbr_file bs=512 count=1",
>> assuming /dev/hda is your hard drive, and 512 bytes covers the MBR but
>> not the partition table (anyone?).

>
> It *does* cover the main partition table (4 primary partitions)
> which is near the end of the MBR.
>
> For a toolkit CD, I would recommend the System Rescue CD
> <http://www.sysresccd.org/Main_Page>.


Thank you, I will look at both options.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com