Re: restoring MBR
On Fri, 29 Jul 2011 13:28:48 +0200, Baurzhan Ismagulov wrote:
> I've installed Squeeze to a USB drive, and grub2 installed itself to the
> internal hard drive.
And what OS does the internal hard drive have?
> Now I can't boot from the internal drive since it has encryption
> software checking some sort of CRC of the MBR.
You should ask to the manufacturer/developer of that software/BIOS. But if
it's a windows partition, "fixmbr" should just do it.
> Is the backup of the MBR available somewhere in the Linux rootfs?
Good question. It should.
I remember it was available in openSUSE, look:
stt008:/mnt/boot# ls -l
total 9624
-rw------- 1 root root 512 mar 1 2008 backup_mbr
lrwxrwxrwx 1 root root 1 mar 1 2008 boot -> .
-rw-r--r-- 1 root root 80417 ago 14 2009 config-2.6.22.19-0.4-default
drwxr-xr-x 2 root root 440 ago 21 2009 grub
lrwxrwxrwx 1 root root 28 ago 21 2009 initrd -> initrd-2.6.22.19-0.4-default
-rw-r--r-- 1 root root 4147045 ago 21 2009 initrd-2.6.22.19-0.4-default
-rw-r--r-- 1 root root 395264 mar 1 2008 message
-rw-r--r-- 1 root root 100313 ago 14 2009 symsets-2.6.22.19-0.4-default.tar.gz
-rw-r--r-- 1 root root 400576 ago 14 2009 symtypes-2.6.22.19-0.4-default.gz
-rw-r--r-- 1 root root 116297 ago 14 2009 symvers-2.6.22.19-0.4-default.gz
-rw-r--r-- 1 root root 843747 ago 14 2009 System.map-2.6.22.19-0.4-default
-rwxr-xr-x 1 root root 2149420 ago 14 2009 vmlinux-2.6.22.19-0.4-default.gz
lrwxrwxrwx 1 root root 29 ago 21 2009 vmlinuz -> vmlinuz-2.6.22.19-0.4-default
-rw-r--r-- 1 root root 1596248 ago 14 2009 vmlinuz-2.6.22.19-0.4-default
You noticed the first file (backup_mbr)? It is exactly what it seems but I
cannot find such a file in Debian systems :-?
> Please cc to me, I'm not subscribed.
I can't ;-(
Greetings,
--
Camaleón
Reply to: