<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Software RAID: Unable to boot from Second Disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046850#M29552</link>
    <description>&lt;!--!*#--&gt;Dear Experts!&lt;BR /&gt;&lt;BR /&gt;I have done a new "RedHat Enterprise Linux Advanced Server Update 4" installation and most probably done a wrong configuration so that i am not able to both from the second disk which is supposed to be a mirror of the first boot disk. I have configured Software RAID.&lt;BR /&gt;&lt;BR /&gt;Can any one explain why?&lt;BR /&gt;&lt;BR /&gt;I am posting some information that may be useful to you in guiding me on how to fix this.&lt;BR /&gt;&lt;BR /&gt;==========================================&lt;BR /&gt;[root@server1 ~]# more /etc/fstab&lt;BR /&gt;# This file is edited by fstab-sync - see 'man fstab-sync' for details&lt;BR /&gt;/dev/md2                /                       ext3    defaults        1 1&lt;BR /&gt;/dev/md1                /boot                   ext3    defaults        1 2&lt;BR /&gt;none                    /dev/pts                devpts  gid=5,mode=620  0 0&lt;BR /&gt;none                    /dev/shm                tmpfs   defaults        0 0&lt;BR /&gt;/dev/md3                /home                   ext3    defaults        1 2&lt;BR /&gt;none                    /proc                   proc    defaults        0 0&lt;BR /&gt;none                    /sys                    sysfs   defaults        0 0&lt;BR /&gt;/dev/md4                /tmp                    ext3    defaults        1 2&lt;BR /&gt;/dev/md5                /var                    ext3    defaults        1 2&lt;BR /&gt;/dev/md0                swap                    swap    defaults        0 0&lt;BR /&gt;/dev/hde                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;[root@server1 ~]# cat /proc/mdstat&lt;BR /&gt;Personalities : [raid1]&lt;BR /&gt;md1 : active raid1 sdb2[1] sda2[0]&lt;BR /&gt;      305152 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md2 : active raid1 sdb5[1]&lt;BR /&gt;      6289344 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md3 : active raid1 sdb6[1] sda6[0]&lt;BR /&gt;      4192832 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md5 : active raid1 sdb7[1] sda7[0]&lt;BR /&gt;      2096384 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md4 : active raid1 sdb8[1] sda8[0]&lt;BR /&gt;      2096384 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md0 : active raid1 sdb3[1] sda3[0]&lt;BR /&gt;      20972736 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;unused devices: &lt;NONE&gt;&lt;BR /&gt;[root@server1 ~]# cat /etc/yaboot.conf&lt;BR /&gt;# yaboot.conf generated by anaconda&lt;BR /&gt;&lt;BR /&gt;boot=/dev/sdb1 /dev/sda1&lt;BR /&gt;init-message=Welcome to Red Hat Enterprise Linux AS!\nHit &lt;TAB&gt; for boot options&lt;BR /&gt;&lt;BR /&gt;partition=2&lt;BR /&gt;timeout=20&lt;BR /&gt;install=/usr/lib/yaboot/yaboot&lt;BR /&gt;delay=5&lt;BR /&gt;nonvram&lt;BR /&gt;&lt;BR /&gt;image=/vmlinuz-2.6.9-42.EL&lt;BR /&gt;        label=linux&lt;BR /&gt;        read-only&lt;BR /&gt;        initrd=/mpp-2.6.9-42.EL.img&lt;BR /&gt;        root=/dev/md2&lt;BR /&gt;        append="rhgb quiet"&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]#&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance for your insights.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;yogeeraj&lt;/TAB&gt;&lt;/NONE&gt;</description>
    <pubDate>Tue, 31 Jul 2007 03:39:11 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2007-07-31T03:39:11Z</dc:date>
    <item>
      <title>Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046850#M29552</link>
      <description>&lt;!--!*#--&gt;Dear Experts!&lt;BR /&gt;&lt;BR /&gt;I have done a new "RedHat Enterprise Linux Advanced Server Update 4" installation and most probably done a wrong configuration so that i am not able to both from the second disk which is supposed to be a mirror of the first boot disk. I have configured Software RAID.&lt;BR /&gt;&lt;BR /&gt;Can any one explain why?&lt;BR /&gt;&lt;BR /&gt;I am posting some information that may be useful to you in guiding me on how to fix this.&lt;BR /&gt;&lt;BR /&gt;==========================================&lt;BR /&gt;[root@server1 ~]# more /etc/fstab&lt;BR /&gt;# This file is edited by fstab-sync - see 'man fstab-sync' for details&lt;BR /&gt;/dev/md2                /                       ext3    defaults        1 1&lt;BR /&gt;/dev/md1                /boot                   ext3    defaults        1 2&lt;BR /&gt;none                    /dev/pts                devpts  gid=5,mode=620  0 0&lt;BR /&gt;none                    /dev/shm                tmpfs   defaults        0 0&lt;BR /&gt;/dev/md3                /home                   ext3    defaults        1 2&lt;BR /&gt;none                    /proc                   proc    defaults        0 0&lt;BR /&gt;none                    /sys                    sysfs   defaults        0 0&lt;BR /&gt;/dev/md4                /tmp                    ext3    defaults        1 2&lt;BR /&gt;/dev/md5                /var                    ext3    defaults        1 2&lt;BR /&gt;/dev/md0                swap                    swap    defaults        0 0&lt;BR /&gt;/dev/hde                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;[root@server1 ~]# cat /proc/mdstat&lt;BR /&gt;Personalities : [raid1]&lt;BR /&gt;md1 : active raid1 sdb2[1] sda2[0]&lt;BR /&gt;      305152 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md2 : active raid1 sdb5[1]&lt;BR /&gt;      6289344 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md3 : active raid1 sdb6[1] sda6[0]&lt;BR /&gt;      4192832 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md5 : active raid1 sdb7[1] sda7[0]&lt;BR /&gt;      2096384 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md4 : active raid1 sdb8[1] sda8[0]&lt;BR /&gt;      2096384 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;md0 : active raid1 sdb3[1] sda3[0]&lt;BR /&gt;      20972736 blocks [2/2] [UU]&lt;BR /&gt;&lt;BR /&gt;unused devices: &lt;NONE&gt;&lt;BR /&gt;[root@server1 ~]# cat /etc/yaboot.conf&lt;BR /&gt;# yaboot.conf generated by anaconda&lt;BR /&gt;&lt;BR /&gt;boot=/dev/sdb1 /dev/sda1&lt;BR /&gt;init-message=Welcome to Red Hat Enterprise Linux AS!\nHit &lt;TAB&gt; for boot options&lt;BR /&gt;&lt;BR /&gt;partition=2&lt;BR /&gt;timeout=20&lt;BR /&gt;install=/usr/lib/yaboot/yaboot&lt;BR /&gt;delay=5&lt;BR /&gt;nonvram&lt;BR /&gt;&lt;BR /&gt;image=/vmlinuz-2.6.9-42.EL&lt;BR /&gt;        label=linux&lt;BR /&gt;        read-only&lt;BR /&gt;        initrd=/mpp-2.6.9-42.EL.img&lt;BR /&gt;        root=/dev/md2&lt;BR /&gt;        append="rhgb quiet"&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]#&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance for your insights.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;yogeeraj&lt;/TAB&gt;&lt;/NONE&gt;</description>
      <pubDate>Tue, 31 Jul 2007 03:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046850#M29552</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-07-31T03:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046851#M29553</link>
      <description>The issue is the grub boot loader.&lt;BR /&gt;&lt;BR /&gt;Software RAID doesn't mirror the boot sector of the hard-drive.&lt;BR /&gt;&lt;BR /&gt;So simply put, once the machine is built, you need to grub-install to the 2nd disks' boot sector to install the boot loader.&lt;BR /&gt;&lt;BR /&gt;Once that's done, after a disk swap, it should successfully boot from the 2nd disk.</description>
      <pubDate>Tue, 31 Jul 2007 04:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046851#M29553</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-07-31T04:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046852#M29554</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you Stuart for the prompt response.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;So simply put, once the machine is built, you need to grub-install to the 2nd disks' boot sector to install the boot loader.&lt;BR /&gt;&lt;BR /&gt;Do you have any link to this step?&lt;BR /&gt;&lt;BR /&gt;I have got some guidelines from:&lt;BR /&gt;&lt;A href="http://togami.com/~warren/guides/remoteraidcrazies/" target="_blank"&gt;http://togami.com/~warren/guides/remoteraidcrazies/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(too scrary!!)&lt;BR /&gt;&lt;BR /&gt;Below more info on the current partitions:&lt;BR /&gt;[root@server1 ~]# parted&lt;BR /&gt;GNU Parted 1.6.19&lt;BR /&gt;...&lt;BR /&gt;Using /dev/sda&lt;BR /&gt;(parted) p&lt;BR /&gt;Disk geometry for /dev/sda: 0.000-70006.835 megabytes&lt;BR /&gt;Disk label type: msdos&lt;BR /&gt;Minor    Start       End     Type      Filesystem  Flags&lt;BR /&gt;1          0.031      7.844  primary               boot&lt;BR /&gt;2          7.844    305.925  primary   ext3        raid&lt;BR /&gt;3        305.925  20787.231  primary   linux-swap  raid&lt;BR /&gt;4      20787.231  70001.982  extended&lt;BR /&gt;5      20787.262  26929.270  logical   ext3        raid&lt;BR /&gt;6      26929.301  31023.962  logical   ext3        raid&lt;BR /&gt;7      31023.993  33071.308  logical   ext3        raid&lt;BR /&gt;8      33071.339  35118.654  logical   ext3        raid&lt;BR /&gt;9      35118.686  55599.960  logical&lt;BR /&gt;(parted) q&lt;BR /&gt;Information: Don't forget to update /etc/fstab, if necessary.&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]# parted /dev/sdb&lt;BR /&gt;GNU Parted 1.6.19&lt;BR /&gt;...&lt;BR /&gt;Using /dev/sdb&lt;BR /&gt;(parted) p&lt;BR /&gt;Disk geometry for /dev/sdb: 0.000-70006.835 megabytes&lt;BR /&gt;Disk label type: msdos&lt;BR /&gt;Minor    Start       End     Type      Filesystem  Flags&lt;BR /&gt;1          0.031      7.844  primary               boot&lt;BR /&gt;2          7.844    305.925  primary   ext3        raid&lt;BR /&gt;3        305.925  20787.231  primary   linux-swap  raid&lt;BR /&gt;4      20787.231  70001.982  extended&lt;BR /&gt;5      20787.262  26929.270  logical   ext3        raid&lt;BR /&gt;6      26929.301  31023.962  logical   ext3        raid&lt;BR /&gt;7      31023.993  33071.308  logical   ext3        raid&lt;BR /&gt;8      33071.339  35118.654  logical   ext3        raid&lt;BR /&gt;9      35118.686  55599.960  logical&lt;BR /&gt;(parted) q&lt;BR /&gt;Information: Don't forget to update /etc/fstab, if necessary.&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does this imply a copy of the partition table to the second disk:&lt;BR /&gt;&lt;BR /&gt;e.g. sfdisk -d /dev/sda &amp;gt; /tmp/partitions.txt&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;fdisk -d /dev/sdb &amp;lt; /tmp/partitions.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please advise further&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 31 Jul 2007 06:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046852#M29554</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-07-31T06:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046853#M29555</link>
      <description>grub-install /dev/sdb&lt;BR /&gt;&lt;BR /&gt;That should be all that's needed once all the raid stuff is set up (which it looks to be).</description>
      <pubDate>Tue, 31 Jul 2007 08:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046853#M29555</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-07-31T08:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046854#M29556</link>
      <description>Hi Stuart!&lt;BR /&gt;&lt;BR /&gt;thanks again for your reply.&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]# grub-install /dev/sdb&lt;BR /&gt;-bash: grub-install: command not found&lt;BR /&gt;[root@server1 ~]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There does not seem to be any grub software installed. Is it another rpm that needs to be added? any other alternatives?&lt;BR /&gt;&lt;BR /&gt;please advise further..&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 31 Jul 2007 08:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046854#M29556</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-07-31T08:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046855#M29557</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe it's just a path thing... You could try:&lt;BR /&gt;&lt;BR /&gt;# /sbin/grub-install /dev/sdb&lt;BR /&gt;&lt;BR /&gt;Failing that, this RedHat article may help...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/s2-rescuemode-boot-reinstall-bootloader.html" target="_blank"&gt;http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/s2-rescuemode-boot-reinstall-bootloader.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Tue, 31 Jul 2007 14:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046855#M29557</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-07-31T14:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046856#M29558</link>
      <description>#whereis grub-install&lt;BR /&gt;grub-install: /sbin/grub-install /usr/share/man/man8/grub-install.8.gz&lt;BR /&gt;#rpm -qa|grep -i grub&lt;BR /&gt;grub-0.95-3.8&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 20:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046856#M29558</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-31T20:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046857#M29559</link>
      <description>hi to all,&lt;BR /&gt;&lt;BR /&gt;thank you for the responses.&lt;BR /&gt;&lt;BR /&gt;Just want to clarify. I do not have the grub-install package installed on the system. But it seems to me that the bootloader does not use the grub configuration. Using yaboot instead.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@server1 ~]# yabootconfig --help&lt;BR /&gt;Usage: yabootconfig [OPTION]...&lt;BR /&gt;Generate a working /etc/yaboot.conf.&lt;BR /&gt;&lt;BR /&gt;  -t, --chroot               set root directory yabootconfig should work from&lt;BR /&gt;  -r, --root                 set root partition, Example: /dev/hda3&lt;BR /&gt;                               default: determined from {chroot}/etc/fstab&lt;BR /&gt;  -b, --boot                 set bootstrap partition, Example: /dev/hda2&lt;BR /&gt;                               default: first type: Apple_Bootstrap partition&lt;BR /&gt;  -C, --config               set config file name (Example: /etc/yaboot.conf)&lt;BR /&gt;      --kernel-args          add an append= line with specified arguments&lt;BR /&gt;  -q, --quiet                don't ask any questions/confirmation&lt;BR /&gt;      --noinstall            don't automatically run mkofboot&lt;BR /&gt;  -h, --help                 display this help and exit&lt;BR /&gt;  -V, --version              output version information and exit&lt;BR /&gt;[root@server1 ~]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;correct me if i am wrong.&lt;BR /&gt;&lt;BR /&gt;i do not want to take risk of mess up everything by installing the grub-install rpm.&lt;BR /&gt;&lt;BR /&gt;please advise&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 01 Aug 2007 00:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046857#M29559</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-08-01T00:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Software RAID: Unable to boot from Second Disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046858#M29560</link>
      <description>Ah, boot loader I've never used before!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linux-sxs.org/storage/raid_setup.html" target="_blank"&gt;http://www.linux-sxs.org/storage/raid_setup.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In particular the section near 'Example yaboot.conf:'.</description>
      <pubDate>Wed, 01 Aug 2007 02:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-unable-to-boot-from-second-disk/m-p/4046858#M29560</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-08-01T02:53:44Z</dc:date>
    </item>
  </channel>
</rss>

