From fbeee8929a770ef53d75cd8b562aeb7283306117 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 17 Sep 2009 21:50:56 +0200 Subject: [PATCH 1/1] Xen-Image, fix config, readme, inittab/getty, change sizes --- config/xen-image/README | 2 +- config/xen-image/ipfire.cfg | 4 ++-- lfs/xen-image | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/xen-image/README b/config/xen-image/README index d1f0a36383..49c1192f87 100644 --- a/config/xen-image/README +++ b/config/xen-image/README @@ -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" diff --git a/config/xen-image/ipfire.cfg b/config/xen-image/ipfire.cfg index 468a1035ed..eeb35c9f21 100644 --- a/config/xen-image/ipfire.cfg +++ b/config/xen-image/ipfire.cfg @@ -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 diff --git a/lfs/xen-image b/lfs/xen-image index 98cdb35ccd..63c7b3e46b 100644 --- a/lfs/xen-image +++ b/lfs/xen-image @@ -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 -- 2.39.2