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

Re: GRUB doesn't come up in new installation

By the way, I just tried re-installing grub from a chroot environment
within the liveCD environment, then comparing the new MBR with the one
that I couldn't boot from.  They're identical, so I don't think the
bios is overwriting my MBR.

ubuntu@ubuntu:~$ sudo mount /dev/hda1 /mnt
ubuntu@ubuntu:~$ sudo chroot /mnt

root@ubuntu:/# grub-install /dev/hda
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/hda
root@ubuntu:/# exit

ubuntu@ubuntu:~$ sudo dd if=/dev/hda of=boot2.MBR bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.009921 seconds (51608 bytes/sec)

ubuntu@ubuntu:~$ md5sum boot.MBR boot2.MBR
b41045a99bcddc6ee7c12e9f54c45852  boot.MBR
b41045a99bcddc6ee7c12e9f54c45852  boot2.MBR

Reply to: