Hi guys, I want to builed a custom liveOS booting from PXE to do some
sysadmin operations.
I want to create liveos base on centos 6.5 under Centos 6.5 host.
I install 'livecd-tools' from EPEL mirror and some 'dracut-*' packages:
# rpm -qa|grep livecd
livecd-tools-13.4.5-1.el6.x86_64
# rpm -qa|grep dracut
dracut-004-336.el6_5.2.noarch
dracut-tools-004-336.el6_5.2.noarch
dracut-kernel-004-336.el6_5.2.noarch
dracut-network-004-336.el6_5.2.noarch
dracut-generic-004-336.el6_5.2.noarch
This is my ks.cfg paste:
http://ix.io/elW
I created ISO by:
livecd-creator -c centos6.liveos.ks.cfg -f Centos6u5-LiveCD -v -d
after creating Centos6u5-LiveCD.iso, I try to boot it from PXE.
LABEL centos6u5-liveos
KERNEL images/6u5/vmlinuz0
APPEND initrd=images/6u5/initrd0.img root=live:
http://10.21.10.2/6u5/squashfs.img biosdevname=0
PXE boot failed with kernel pannic:
dracut: FATAL: Don't know how to handle 'root=live:http://
.../squashfs.img'
dracut: Refusing to continue
I google for this error, get some info about : 'initrd0.img' missing
'livenet' module
from this topic:
http://bugs.centos.org/view.php?id=6112
so I try to add 'livenet' module to initrd0.img:
dracut -v --force -a "livenet" initrd0.img 2.6.32-431.29.2.el6.x86_64
After add 'livenet', I retry to boot it from PXE, but it doesn't work.
I get the same kernel pannic error.
How could I create a liveOS booting from PXE with
'root=live:http://.../squashfs.img'
?
Thanks.
Hi All,
On my live USB stick, I installed a couple of large RPM's that I
no longer needed. So I removed them (rpm -e xxx).
Question: do I get that space back or it is permanently used?
Many thanks,
-T
Hi All,
I am noticing a few ISO's now support "dd" to install on
a Live USB. Does anyone know if this method will support
"persistence"?
Many thanks,
-T