From: Christian Schmit <cschmit@vo.lu>
To: Alvin Oga <aoga@Maggie.Linux-Consulting.com>
Cc: linux-raid@vger.kernel.org
Subject: Re[4]: RH 7.3 raid1 setup
Date: Mon, 3 Jun 2002 19:03:47 +0200 [thread overview]
Message-ID: <169640920625.20020603190347@vo.lu> (raw)
In-Reply-To: <Pine.LNX.3.96.1020603053217.19266A-100000@Maggie.Linux-Consulting.com>
Hi alvin,
I got it working by disconnecting the 1st disk
and then booting from cd in linux rescue mode
with the 2nd disk.
I mounted the "/" partition on the disk and
launched grub. Here I issued root (hd0,0) and
setup(hd1) to install grub in the mbr.
After this I can boot fine from both disks.
Christian
AO> hi ya christian
AO> looks okay too me... not that i played with grub too much but..
AO> make a boot floppy so that we can recover if my experiment fails ...
AO> dd=/vmlinuz-2.4.18-3 of=/dev/fd0 bs-1204
AO> ( or make a boot flop w/ syslinux
AO> http://www.Linux-Consulting.com/Boot/boot.flop.syslinux.txt
AO> ( test that you can boot from floppy )
AO> ( you'll see lots of "...." on the screen as it boot
AO> - should also work even if hda or hdc is disconnected
AO> than comment out initrd in your grub.conf and "re-run/re-initialize" grub
AO> - that'd be my guess of why if you disconnect hda that the system
AO> wont boot
AO> - am guessing that the kernel that is in the initrd is NOT able
AO> to support raid1
AO> - if its not the initrd.. ( guess i better go play with grub too one day )
AO> - interesting problem... :-)
AO> thanx
AO> alvin
>> grub.conf:
>> -----------
>> default=0
>> timeout=10
>> splashimage=(hd0,0)/grub/splash.xpm.gz
>> title Red Hat Linux (2.4.18-3)
>> root (hd0,0)
>> kernel /vmlinuz-2.4.18-3 ro root=/dev/md2
>> initrd /initrd-2.4.18-3.img
>>
>>
>> Partitions:
>> ------------
>>
>> Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
>> Units = cylinders of 16065 * 512 bytes
>>
>> Device Boot Start End Blocks Id System
>> /dev/hda1 * 1 45 361431 fd Linux raid autodetect
>> /dev/hda2 46 810 6144862+ fd Linux raid autodetect
>> /dev/hda3 811 1065 2048287+ fd Linux raid autodetect
>>
>> Disk /dev/hdc: 255 heads, 63 sectors, 5005 cylinders
>> Units = cylinders of 16065 * 512 bytes
>>
>> Device Boot Start End Blocks Id System
>> /dev/hdc1 * 1 45 361431 fd Linux raid autodetect
>> /dev/hdc2 46 810 6144862+ fd Linux raid autodetect
>> /dev/hdc3 811 1065 2048287+ fd Linux raid autodetect
>>
prev parent reply other threads:[~2002-06-03 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 10:39 RH 7.3 raid1 setup Christian Schmit
2002-06-03 11:10 ` Alvin Oga
2002-06-03 12:18 ` Re[2]: " Christian Schmit
2002-06-03 12:39 ` Alvin Oga
2002-06-03 17:03 ` Christian Schmit [this message]
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=169640920625.20020603190347@vo.lu \
--to=cschmit@vo.lu \
--cc=aoga@Maggie.Linux-Consulting.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).