[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#61065: Need /dev/md0 for boot/install RAID support in root.bin



Mike Bilow <mikebw@colossus.bilow.com> writes:

> Basically, it is possible to boot on the Rescue/Root floppies (with a
> non-standard kernel),

Note that the standard, "vanilla" kernel has changed in the following way:

 kernel-image-2.2.14-i386 (2.2.14-2) frozen unstable; urgency=low
 .
   * Enabled ServerRAID (closes: #52597).
   * Enabled DAC960 (closes: #49863).
   * Enabled CONFIG_FILTER (closes: #50996).
   * Enabled quota support (closes: #60206).

Is this enough?  I guess not... it doesn't have md support?

> drop to fdisk manually to set partition types to
> 0xFD (RAID autodetect),

Can't cfdisk set this partition type?  If not, please file a bug
against cfdisk.

> run mkraid (from a mounted floppy) to unite the partitions,

mkraid isn't part of root.bin, is it?  I think we have room on i386 at
least to add it, btw.

> and proceed with a more or less standard install -- except
> that the root filesystem in the RAM disk is mounted read-only and has no
> node /dev/md0.
>
> It can be fixed ("mount -o remount,rw /dev/root / ; mknod b 9 90"), but I
> think it would be a good idea and very minimal effort to make the node
> present by default so that it would be accessible when the kernel started
> the RAID automatically.

I can certainly add this device to the list of devices created.  Could
you clarify:

  - are you sure it's just /dev/md0 that we need?
 
  - this is not present but should be added to root.bin?

  - is it present in the base file system?

> In general, support for installing to bootable software RAID should
> probably be added to boot-floppies at some point for the 2.4 kernel.

There are limitations on what we can add to the kernel.  But I think
this is in the cards for woody.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Reply to: