Re: HOWTO recconstruct MBR
On Thu, 24 May 2001, Petr Danek wrote:
PD> Hi list,
PD> i have tarred backup of working partition .Is there some way to reconstruct mbr of that partiton to be bootable ?
PD> I tried dd if=/dev/hda1 bs=512 count=1 of=/dev/hdc1 with no luck.
PD> where hda1 is working partition and hdc1 is partition with tarred backup
try to run install-mbr .. or you could also edit the /etc/lilo.conf to include
this:
boot=/dev/hdc
install=/boot/boot.b
then run lilo, then change it back to the original setting .. i'm not 100% sure
if that will work tho :) but i see no reason why it shouldn't :)
Dingo.
).|.(
'.`___'.`
' `(>~<)' `
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-
Petr [Dingo] Dvorak dingo@pdragon.org
Coder - Purple Dragon MUD pdragon.org port 3333
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-
Oxymoron: Microsoft Works
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reply to: