[ale] SW RAID install problem - can't find root on raid at boot time

James P. Kinney III jkinney at localnetsolutions.com
Tue Aug 29 10:22:46 EDT 2006


Are you sure the kernel in /boot has all the pieces of raid modules
compiled in (i.e. has support for RAID0, RAID1, etc). It looks like the
software RAID is in but the RAID level support is not.

On Tue, 2006-08-29 at 10:14 -0400, Jeff Hubbs wrote:
> >From the original message:
> 
> "* /dev/sd[ab][23] are all of partition type fd."
> 
> 
> Christopher Fowler wrote:
> > Are the partition types 'fd' ?  "Raid Auto-detect"?
> >
> >
> > On Tue, 2006-08-29 at 09:46 -0400, Jeff Hubbs wrote:
> >   
> >> Having all manner of trouble with this.
> >>
> >> Two SATA drives; onboard RAID disabled in favor of SW RAID:
> >>
> >>   ptn |   1   |   2   |   3   |
> >>  disk ------------------------
> >>   sda | /boot |  md1  |  md2  |
> >>   sdb | spare |  md1  |  md2  |
> >>
> >> The goal here is to mount /dev/md1 at boot.
> >>
> >> At boot, I get:
> >>
> >>   md: autodetecting raid arrays
> >>   md: autorun...
> >>   md: ...autorun done
> >>   VFS: cannot open root device "md1" or unknown-device(0,0)
> >>   please append a correct "root=" boot option
> >>   Kernel panic - not syncing: vfs : unable to mount root fs on
> >> unknown-block(0,0)
> >>
> >> I have been using http://tinyurl.com/mauwd for guidance.  I am not now
> >> dealing with LVM (that will involve /dev/md2, after I get this machine
> >> booting on its own.
> >>
> >> Let me try to cover the more obvious things:
> >>   * SATA, the SATA chipset in question, device mapper support, and RAID
> >> 1 are all compiled into the kernel.
> >>   * /etc/mdadm.conf looks like
> >>
> >>         DEVICE /dev/sd[ab][23]
> >>         ARRAY /dev/md2 level=raid1 num-devices=2
> >> UUID=833313e0:55a9f505:b67e7c38:af37019a
> >>         ARRAY /dev/md1 level=raid1 num-devices=2
> >> UUID=b67bd189:933757ef:ef6dff61:50ad811a
> >>
> >>     (Note: the two ARRAY lines were generated with mdadm --detail --scan
> >> when booted to a livecd with
> >>      the RAID volumes up and running)
> >>   * /dev/sd[ab][23] are all of partition type fd.
> >>   * /dev/md1 and /dev/md2 are fundamentally sound; I can boot to a
> >> LiveCD, modprobe raid1,
> >>     mdadm --assemble, and mount them right up with no problem.
> >>
> >> I made a point of not being module-dependent at boot.  I have no initrd,
> >> and the doc I linked to above likewise has no initrd. 
> >>
> >> Anything here I've missed?
> >>
> >> - Jeff
> >> _______________________________________________
> >> Ale mailing list
> >> Ale at ale.org
> >> http://www.ale.org/mailman/listinfo/ale
> >>     
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> >
> >   
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list