Howto install Ipfire as a paravirtualized DomU:
- download image
-- extract the downloaded file, be careful, you need at least 4gb
+- extract the downloaded file, be careful, you need at least 2gb
- edit the file ipfire.cfg
- start ipfire: "xm create ipfire.cfg"
- if you get no errormessage go to console: "xm console ipfire-xen"
disk = [
'file:/mnt/test/ipfire-boot.img,xvda1,w',
'file:/mnt/test/ipfire-swap.img,xvda2,w',
- 'file:/mnt/test/ipfire-root.img,xvda2,w',
- 'file:/mnt/test/ipfire-var.img,xvda2,w'
+ 'file:/mnt/test/ipfire-root.img,xvda3,w',
+ 'file:/mnt/test/ipfire-var.img,xvda4,w'
] #### Change path
SIZEboot := 30
SIZEswap := 512
SIZEroot := 512
-SIZEvar := 1024
+SIZEvar := 950
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
rm -rf $(MNThdd) $(IMGinst) $(IMGroot) && mkdir -p $(MNThdd)
echo xvc0 >> $(MNThdd)/etc/securetty
#Add getty for xvc0
- echo "#Enable login for XEN" >> $(MNThdd)/etc/securetty
- echo "8:2345:respawn:/sbin/agetty xvc0 9600" >> $(MNThdd)/etc/securetty
+ echo "#Enable login for XEN" >> $(MNThdd)/etc/inittab
+ echo "8:2345:respawn:/sbin/agetty xvc0 9600" >> $(MNThdd)/etc/inittab
#Disable some initskripts
echo "#!/bin/sh" > $(MNThdd)/etc/rc.d/init.d/setclock