Re: Bug#386265 closed by Frans Pop <fjp@debian.org> (Bug#386265: fixed in base-installer 1.70)
On Wed, Dec 06, 2006 at 09:12:17AM +0100, Frans Pop wrote:
> On Wednesday 06 December 2006 08:30, Sven Luther wrote:
> > Frans, notice that yaird is still the prefered option for prep
> > machines, as initramfs-tools still is unable to detect the root
> > partition per default.
>
> Setting yaird as default for a subarch is not trivial and IMHO
> initramfs-tools is currently much to be preferred over yaird.
>
> > Another solution would be to set the ROOT= variable in
> > /etc/initramfs-tools/initramfs.conf (or whatever the conf file is
> > named), to make sure the ramdisk knows about the ROOT to boot from.
> >
> > This would have to be done after initramfs-tools is installed, but
> > before the kernel is installed (or at least configured), so inside
> > base-installer.
>
> If you can create a file /target/etc/mkinitramfs/conf.d/preproot or
It would be trivial, it would just have a single line which is ROOT=...
And the root partition can be grabbed from debconf already. I guess i can grab
code from nobootloader for that. Will do this, not sure if i have time before
the WE, but i will try this.
> similar instead, this looks trivial.
Yep.
> base-installer already does similar things starting from line 735.
> Creating and testing a patch should be fairly trivial.
Cool.
Friendly,
Sven Luther
Reply to: