Bug#497110: improved dmraid support in D-I
On Fri, Sep 12, 2008 at 03:38:47PM EST, Frans Pop wrote:
> On Friday 12 September 2008, Luke Yelavich wrote:
> > So far, I have a patch to allow os-prober to find other OSs on dmraid
> > devices, but nothing for grub-installer yet, as I have been trying to
> > track down why grub-installer wasn't using os-prober's output for other
> > OSs.
>
> Main reason is that I'm not sure that, even though I'd expect os-prober to
> detect other OSes correctly, I doubt that grub-installer would create
> correct entries for them.
> If you can test that, then adding os-prober support is of course fine.
> As you can see in the history of the BR, that is the one part of your
> changes I was unsure about.
Right. I noticed some debconf templates related to sataraid in grub-installer, but I am not sure what those are for. To try and figure this one out, I was thinking of adding a set -x command right after at the point where os-prober's data is fetched, and follow things from there to see why it doesn't use os-prober's output.
> > Ok, I'll go into detail where necessary later in this mail, but I will
> > shortly file bugs against all d-i packages I've touched, with patches
> > attached.
>
> That's not needed. Giuseppe has already taken your changes from the diffs
> between Debian and Ubuntu sources and I already have commits to our SVN
> repository prepared based on those (with some mostly mostly minor changes
> and some additions).
>
> What would be useful is if you could check those, which is probably
> easiest to do after they've been committed.
I've downloaded the respecitve svn branches, so I'll keep an eye on them.
> > > Question: how does booting from fakeraid work with e.g. RAID5?
> > > Reading the bootsector will work fine, but I don't see how grub can
> > > read its stage files from a RAID5 array.
> >
> > As long as the fakeRAID BIOS loads, and grub uses BIOS calls, all will
> > work. The BIOS sets everything up so that grub simply sees things as an
> > ordinary disk. No different to how booting from raid0 on fakeraid
> > works.
>
> OK, so that is a case where having real hardware _does_ make a difference
> and an emulator without the BIOS support cannot be used for testing.
You could still test them in an emulator, however you can't boot from them. So you could have 3 disks for RAID 5, and a 4th with an install on it to boot from.
Luke
Reply to: