Re: How to backup MBR/ GRUB ? (Dual-boot Linux & Win XP)



Bryce wrote:
Bit Twister wrote:

On Thu, 19 Feb 2009 04:36:53 -0800 (PST), habibielwa7id wrote:


Very easy man using Linux dd from rescue mode or within Linux,
Check what is mbr you installed your boot loader in, hda, sda or sdb.
suppose it's sda,
dd if=/dev/sda of=/root/mbr.img bs=512 count=1
I thought the boot loader was bs=1 count=446 if using
bs=512 count=1 you also picked up the partition table.

You're right ... but the partition table is the jelly in the
doughnut: the best part!

Very true, and I use this method also. BUT there is risk in everything
and here it'd be that if you repartition in-between then the said
recovery will be a hosedown. I'd suggest to all to still use all 512
bytes as you do (the entire root sector) but with caution concerning
possible oops-i-forgot's :-)

Just my 2 cents.

.



Relevant Pages