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

Re: [atomic-devel] PXE boot/install using root=live:http// tries to mount NFS




----- Original Message -----
> On Thu, Sep 3, 2015 at 10:41 PM, Mark Lamourine <markllama gmail com> wrote:
> > I'm working on a custom build of Atomic on F23 beta using the fedora atomic
> > configuration repo here:
> >
> > ssh://markllama git fedorahosted org/git/fedora-atomic.git
> >
> > I'm using rpm-ostree-toolbox treecompose and then installer to generate the
> > bootable components.
> >
> > When I pxe boot using images/images/pxeboot/{vmlinuz,initrd.img} and
> > specify
> > on the kernel cmdline to use root=live:http://.... sysroot fails to mount.
> >
> > The target of the URL is a copy of the images/images/install.img squashfs
> > file.
> >
> > The URL is resolvable and I can download it to /tmp when in dracut.  I can
> > also mount it -o loop,ro and I can see the LiveOS directory inside which
> > appears to conform to the root=live convention.
> >
> > It appears that only the NFS mount components are present and/or that the
> > root=live:http// input is not handled.  The sysroot.mount target attempts
> > to
> > mount the full URL as NFS and obviously fails.
> >
> > Should this work?
> 
> Could it be that your initramfs is missing the dmsquash-live module?
> IIRC it is not part of the default initramfs.
> 
> cat > /etc/dracut.conf.d/foo.conf <<EOF
> add_dracutmodules+=" dmsquash-live "
> EOF
> 
> And the regenerate the initramfs using dracut -f

Hrrm.  I didn't generate the initramfs manually, but using 'rpm-ostree-toolbox installer'. Any hints where I'd look to get that change into the installer code?

BTW, is that change something I could/should do on the build host (f23 beta) and which rpm-ostree-toolbox would inherit, or would it be set inside the build environment itself? 
> 
> - fabian
> 
> 

-- 
Mark Lamourine <mlamouri redhat com>
Sr. Software Developer, Cloud Strategy
Red Hat, 314 Littleton Road, Westford MA 01886
Voice: +1 978 392 1093
http://people.redhat.com/~mlamouri
markllama @ irc://irc.freenod.org*lopsa


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