Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Problem Resolution Sure Solution 1012033.1 : Sun Fire[TM] V60x/V65x grub configuration problems on RAIDed /boot
PreviouslyPublishedAs 216489 Symptoms When installing Red Hat(R) Linux, grub does not write to the Master Boot Record (MBR) of both sda & sdb Resolution Resolution Steps Assumptions: 1) grub is already installed and the systems boots with both drives 2) /boot is installed in a RAID 1 metadevice Reconfigure grub so that it does write to the Master Boot Record of your RAIDed boot: # grub 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 ------------------------------------------------------------------ Here is how /boot/grub/grub.conf is: (/dev/md0 mounted as /boot) (Assuming kernel is installed as /boot/bzImage, and RAID1 support compiled into the kernel). ------------------------------------------------------------------ # Boot automatically after 30 secs. timeout 30 # By default, boot the first entry. default 0 # Fallback to the second entry. fallback 1 # For booting with disc 0 kernel title GNU/Linux (hd0,0) kernel (hd0,0)/bzImage root=/dev/md1 # For booting with disc 1 kernel, if (hd0,0)/bzImage is unreadable title GNU/Linux (hd1,0) kernel (hd1,0)/bzImage root=/dev/md1 Product Sun Fire V65x Server Sun Fire V60x Server Internal Comments Assuming this is okay as we can not test this with 1 harddisk. software RAID, grub, /boot, boot, Red Hat, install, startup, booting, MBR Previously Published As 71976 Change History Date: 2008-01-08 User Name: 95826 Action: Update Canceled Comment: *** Restored Published Content *** canceling update to allow migration to IBIS Version: 0 Date: 2008-01-08 User Name: 95826 Action: Reassign Comment: reassigning document to release it in order to allow migration to IBIS Version: 0 Date: 2005-04-22 User Name: 102120 Action: Update Started Comment: this doc is still current Version: 0 Product_uuid 079e9bbc-0ee3-11d7-8c50-f1061905b56f|Sun Fire V65x Server 03728cec-0ee3-11d7-9be8-dd41f651e0a3|Sun Fire V60x Server Attachments This solution has no attachment |
||||||||||||
|