Hits : 1785


I want to create a new clean centos 6.5 but without download any large ISO images!
Minimal ISO has the tendency to have too old packages and it's size against the net ISO is just a few MB.


So here is my suggestion, use the PXE centos kernel and initramfs images for netistall:


[~]> wget -c http://ftp.otenet.gr/linux/centos/6.5/os/x86_64/images/pxeboot/vmlinuz
[~]> wget -c http://ftp.otenet.gr/linux/centos/6.5/os/x86_64/images/pxeboot/initrd.img


create your new centos 6.5 qed image:


[~]> qemu-img create -f qed centos65.qed +20G


and fire up your kvm machine:


[~]> qemu-system-x86_64 -kernel ./vmlinuz -initrd ./initrd.img centos65.qed -m 1024 -usbdevice tablet


after that follow the same procedure as if using the netinstall.iso