]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Xen-Image, fix config, readme, inittab/getty, change sizes
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Sep 2009 19:50:56 +0000 (21:50 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Sep 2009 19:50:56 +0000 (21:50 +0200)
config/xen-image/README
config/xen-image/ipfire.cfg
lfs/xen-image

index d1f0a363831744ab21f1b06cd52a9cc7575bdba7..49c1192f8738dcef44a53a8ba8767a875501fecf 100644 (file)
@@ -1,7 +1,7 @@
 Howto install Ipfire as a paravirtualized DomU:
 
 - download image
 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"
 - edit the file ipfire.cfg
 - start ipfire:  "xm create ipfire.cfg"
 - if you get no errormessage go to console: "xm console ipfire-xen"
index 468a1035ed84ffbd8dccac9b9f74d6ed34736a05..eeb35c9f21b135234c5c3ae55d7e86947874b7e6 100644 (file)
@@ -19,6 +19,6 @@ vif         = [
 disk = [
                'file:/mnt/test/ipfire-boot.img,xvda1,w',
                'file:/mnt/test/ipfire-swap.img,xvda2,w',
 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
        ] #### Change path
index 98cdb35ccd2fcc1ec61197d67006c1d596864f02..63c7b3e46b55e72b75c793e52a29c06dc8c927ba 100644 (file)
@@ -55,7 +55,7 @@ IMGvar   := /install/images/$(SNAME)/$(SNAME)-var.img
 SIZEboot := 30
 SIZEswap := 512
 SIZEroot := 512
 SIZEboot := 30
 SIZEswap := 512
 SIZEroot := 512
-SIZEvar  := 1024
+SIZEvar  := 950
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        rm -rf $(MNThdd) $(IMGinst) $(IMGroot) && mkdir -p $(MNThdd)
 
 $(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 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
 
        #Disable some initskripts
        echo "#!/bin/sh" > $(MNThdd)/etc/rc.d/init.d/setclock