doing that grub-install /dev/sda will give me the "corresponding BIOS device" error.
But now I fixed it by doing a manual grub install.
first boot with cd1 and type linux rescue at the prompt when you're at the linux prompt after detecting and mounting the partitions, do a "chroot /mnt/sysimage" then # grub --batch #grub> root (hd0,0) Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done.
#grub> root (hd1,0) Filesystem type is ext2fs, partition type 0xfd
#grub> setup (hd1) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 16 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p (hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done.
#grub> quit
Reboot, you're done.
Question: A simple power outage will kill grub's mbr or am i just plain unlucky?
On 12/2/05, CM cristim@mail.multinet.ro wrote:
On Fri, 2 Dec 2005 01:27:36 -0500 Erick Perez eaperezh@gmail.com wrote:
Forgot to mention that if I use the rescue mode CD, partitions are being recognized and I can do a "chroot /mnt/sysimage". However, no idea where to go from there.
grub-install /dev/sda
CM _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--
------------------------------------------- Erick Perez Linux User 376588 http://counter.li.org/ (Get counted!!!) Panama, Republic of Panama
On Fri, 2005-12-02 at 01:24, Erick Perez wrote:
Question: A simple power outage will kill grub's mbr or am i just plain unlucky?
You are unlucky. The disk head can scribble something somewhere accidently as it crashes. That must have been the 'somewhere'.