On Fri, Jul 18, 2014 at 01:12:44PM +0800, 耳东 wrote: > hi guys. I want to build a cutom liveos by lorax. > my first liveos , dracut miss 'livenet' module, so it can **NOT** boot > under PXE > boot failed message: > > dracut: FATAL: Don't Know how to handle 'root=live:http:// > ...squashfs.img' > > first create command: > > livemedia-creator --no-virt --make-iso --ks=centos7.liveos.ks.cfg > > After I add 'dracut-network' package in centos7.liveos.ks.cfg '%package' > section, > the second create liveos with 'livenet' module can boot from PXE > successfully: > > livemedia-creator --dracut-arg="--no-hostonly" --no-virt --make-iso > --ks=centos7.liveos.ks.cfg > > But squashfs.img size increased was larger than the size initramfs.img > increased. Adding packages changes the squashfs.img (the root filesystem). dracut uses some of these to create the initrd. dracut-network will pull in other packages (eg. dhclient, iputils, iproute) which may not have been present. The easiest way to tell is to mount both squashfs.img files and diff their contents. -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT) _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list