FIXED Re: Re: MD Raid 1 software device not booting not even reaching grub

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



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@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2 Dec 2005 01:27:36 -0500
> Erick Perez <eaperezh@xxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>


--

-------------------------------------------
Erick Perez
Linux User 376588
http://counter.li.org/  (Get counted!!!)
Panama, Republic of Panama

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux