]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Make installer system bootable from initramfs.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jul 2010 16:17:16 +0000 (18:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Jul 2010 09:53:16 +0000 (11:53 +0200)
config/syslinux/syslinux.cfg
lfs/initrd

index 15af66e4ac5482d92ddf9af1f23f905a5e79a4fe..361a3168e81086da1baa8c956120cd82cf9f2bb8 100644 (file)
@@ -4,16 +4,16 @@ PROMPT 1
 F1 boot.msg
 F2 options.msg
 DEFAULT vmlinuz 
-  APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent ro
+  APPEND ide=nodma initrd=instroot vga=791 splash=silent ro
 LABEL novga
   KERNEL vmlinuz
-  APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 ro
+  APPEND ide=nodma initrd=instroot ro
 LABEL dma
   KERNEL vmlinuz
-  APPEND initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent ro
+  APPEND initrd=instroot vga=791 splash=silent ro
 LABEL unattended
   KERNEL vmlinuz
-  APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent unattended ro
+  APPEND ide=nodma initrd=instroot vga=791 splash=silent unattended ro
 LABEL memtest
   KERNEL memtest
   APPEND -
index 824b40c765fc6d80117768eaf3cc1a26f6479ec7..896d78ecf83df754b23cb5df45cb42016dc7c291 100644 (file)
@@ -93,6 +93,8 @@ $(TARGET) :
        cd /install/initrd && strip --strip-all {,usr/}{,s}bin/* || true
        cd /install/initrd && strip --strip-debug {,usr/}lib/* || true
 
+       cd /install/initrd && ln -svf sbin/init init
+
        cd /install/initrd && find . | cpio -o -H newc | lzma -9 > /install/images/initrd
        cd /install/initrd && find ./ -ls > $(DIR_INFO)/_build.initrd.log