Browse Source

added squashfs support in boot.ipxe

tags/v1.0.1^0
Robin Thoni 7 years ago
parent
commit
e77baf6dac
2 changed files with 7 additions and 0 deletions
  1. 7
    0
      data/apache/files/boot.ipxe
  2. 0
    0
      data/apache/files/unix/livesquash/.gitkeep

+ 7
- 0
data/apache/files/boot.ipxe View File

6
 <?php
6
 <?php
7
 
7
 
8
 $types = [['live', 'unix/live', 'Live'],
8
 $types = [['live', 'unix/live', 'Live'],
9
+  ['livesquash', 'unix/livesquash', 'Live Squash'],
9
   ['iso', 'iso', 'ISO'],
10
   ['iso', 'iso', 'ISO'],
10
   ['install', 'unix/install', 'Installers'],
11
   ['install', 'unix/install', 'Installers'],
11
   ['winpe', 'winpe', 'Windows PE']];
12
   ['winpe', 'winpe', 'Windows PE']];
75
 set options vga=normal ramdisk_size=14332 root=/dev/nfs nfsroot=10.15.44.1:/pxeroot/${live} rw --
76
 set options vga=normal ramdisk_size=14332 root=/dev/nfs nfsroot=10.15.44.1:/pxeroot/${live} rw --
76
 goto boot-unix
77
 goto boot-unix
77
 
78
 
79
+:boot-livesquash
80
+kernel unix/livesquash/${livesquash}/vmlinuz
81
+initrd unix/livesquash/${livesquash}/initrd.img
82
+imgargs vmlinuz boot=live config hooks=filesystem username=live noeject fetch=http://netboot/unix/livesquash/${livesquash}/filesystem.squashfs
83
+boot
84
+
78
 :boot-unix
85
 :boot-unix
79
 initrd unix/${unix}/initrd.img
86
 initrd unix/${unix}/initrd.img
80
 boot unix/${unix}/vmlinuz ${options}
87
 boot unix/${unix}/vmlinuz ${options}

+ 0
- 0
data/apache/files/unix/livesquash/.gitkeep View File


Loading…
Cancel
Save