All of lore.kernel.org
 help / color / mirror / Atom feed
From: berk walker <berk@panix.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Doug Ledford <dledford@redhat.com>,
	Janek Kozicki <janek_listy@wp.pl>,
	linux-raid@vger.kernel.org
Subject: Re: switching root fs '/' to boot from RAID1 with grub
Date: Fri, 02 Nov 2007 11:36:00 -0500	[thread overview]
Message-ID: <472B51F0.3080605@panix.com> (raw)
In-Reply-To: <472A0D7A.4040807@zytor.com>

H. Peter Anvin wrote:
> Doug Ledford wrote:
>>
>> device /dev/sda (hd0)
>> root (hd0,0)
>> install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) 
>> /boot/grub/e2fs_stage1_5 p /boot/grub/stage2 /boot/grub/menu.lst
>> device /dev/hdc (hd0)
>> root (hd0,0)
>> install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) 
>> /boot/grub/e2fs_stage1_5 p /boot/grub/stage2 /boot/grub/menu.lst
>>
>> That will install grub on the master boot record of hdc and sda, and in
>> both cases grub will look to whatever drive it is running on for the
>> files to boot instead of going to a specific drive.
>>
>
> No, it won't... it'll look for the first drive in the system (BIOS 
> drive 80h).  This means that if the BIOS can see the bad drive, but it 
> doesn't work, you're still screwed.
>
>     -hpa
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Depends how "bad" the drive is.  Just to align the thread on this -  If 
the boot sector is bad - the bios on newer boxes will skip to the next 
one.  But if it is "good", and you boot into garbage - - could be 
Windows.. does it crash?

b


  parent reply	other threads:[~2007-11-02 16:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 20:07 switching root fs '/' to boot from RAID1 with grub Janek Kozicki
2007-10-30 20:37 ` Janek Kozicki
2007-10-30 22:01 ` Doug Ledford
2007-10-31 15:01   ` Janek Kozicki
2007-10-31 17:38     ` Doug Ledford
2007-10-31 20:12       ` xosview + RAID (was: switching root fs '/'...) Janek Kozicki
2007-10-31 20:47         ` xosview + RAID David Greaves
2007-11-01 17:31   ` switching root fs '/' to boot from RAID1 with grub H. Peter Anvin
2007-11-01 18:30     ` Doug Ledford
2007-11-01 18:57       ` H. Peter Anvin
2007-11-02 15:55         ` Doug Ledford
2007-11-01 19:04       ` Janek Kozicki
2007-11-01 19:20         ` Doug Ledford
2007-11-02 16:36     ` berk walker [this message]
2007-11-04  3:18       ` Bill Davidsen
2007-11-04  3:44         ` H. Peter Anvin
2007-11-04  4:28           ` Bill Davidsen
2007-11-04 18:02             ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472B51F0.3080605@panix.com \
    --to=berk@panix.com \
    --cc=dledford@redhat.com \
    --cc=hpa@zytor.com \
    --cc=janek_listy@wp.pl \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.