MBR

Cecilio Marín cmarin at essiprojects.com
Wed May 18 08:13:02 UTC 2005


I have bad experiences with grub-install.
Booting from rescue mode, mounting / as (per example) /mnt/sys

# chroot /mnt/sys
# grub

and on grub shell:

 grub> find /boot/grub/stage1
(hd0,1)
grub>root (hd0,1)
Filesystem type is reiserfs, partition type 0x83
grub>kernel /boot/vmlinuz
[Linux-bzImage, setup=0x1400, size=0x1078c4]
grub>setup(hd0)
.....
Done.

Also, after chrooting /mnt/sys, you can probe with grub-install.

Good luck!


Magee, Fred (MRC) escribió:

>A co-worker swapped SCSI RAID controllers on our system running RHEL 3.0
>and lost the partition table of our boot disk.  He was able to recover
>it (apparently) using gpart but the system will not boot. I can boot
>into rescue mode using a cd and mount all partitions and they all appear
>to be ok.  Fsck marks them all as ok.  I have run grub to be sure /boot
>was ok and grub-install /dev/sda to rebuild the MBR but we still get:
>
>	No Operating System found
>
>when we try to boot the system.  Isn't grub-install supposed to rebuild
>the MBR?  Do I need (dare) to run fdisk /mbr?
>
>Any ideas will be gratefully appreciated.
>
>Fred
>
>  
>





More information about the redhat-list mailing list