Xen-Image, fix config, readme, inittab/getty, change sizes

This commit is contained in:
Arne Fitzenreiter
2009-09-17 21:50:56 +02:00
parent 7f8044b6dd
commit fbeee8929a
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
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"

View File

@@ -19,6 +19,6 @@ vif = [
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

View File

@@ -55,7 +55,7 @@ IMGvar := /install/images/$(SNAME)/$(SNAME)-var.img
SIZEboot := 30
SIZEswap := 512
SIZEroot := 512
SIZEvar := 1024
SIZEvar := 950
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
rm -rf $(MNThdd) $(IMGinst) $(IMGroot) && mkdir -p $(MNThdd)
@@ -151,8 +151,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
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