[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

MBR erased



1.  I have two hard drives sda1 and sdb1.  I have RedHat installed on sda1
and Debian installed on sdb1.  The master boot record on the sdb1(Debian
disk) was accidently erased.  I can still mount the drive but I can no
longer boot from the sdb1 drive.  Is there any way to copy the MBR back to
drive sdb1.  I tried using the following while booting on drive sda1 and
mounting drive sdb1, but it did not work.

mount -t ext2 /dev/sdb1 /mnt (mounted okay)
chroot /mnt lilo -v -m /boot/map (runs okay and says that lilo was added)

next I tried to boot up using disk 2 or sdb1 and it freezes at the LI just
before the LILO prompt

2.  Are there any resources where I can copy/make a debian boot disk

Rick Thomas
Software Engineer
LMIS-Hurlburt Field, FL
850-581-0036



Reply to: