Re: [lorax] how to decrease squashfs.img size, it increase more than install size

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

 



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





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux