| 1 |
Objective: |
| 2 |
|
| 3 |
Create a bootable media that contains everything to install and configure a system. |
| 4 |
|
| 5 |
Ideas: |
| 6 |
|
| 7 |
* usb stick |
| 8 |
** uefi vs. bios |
| 9 |
** contains cdist config |
| 10 |
** static ip (?) (if at all) |
| 11 |
** hostname setup to localhost |
| 12 |
** install and config support |
| 13 |
* preos from existing OS? |
| 14 |
** requires kernel |
| 15 |
** requires initramfs (self build) |
| 16 |
** missing tools: cdist preos --config hostname... |
| 17 |
* testing with qemu |
| 18 |
* syslinux/isolinux? |
| 19 |
|
| 20 |
Program: |
| 21 |
|
| 22 |
- get tools |
| 23 |
- get kernel |
| 24 |
- provide fallback on cdist page |
| 25 |
- archlinux: /boot/vmlinuz-linux |
| 26 |
- create initramfs? |
| 27 |
- create bootable media |
| 28 |
- iso |
| 29 |
- uefi-usb |
| 30 |
- bios-usb |
| 31 |
|
| 32 |
Tasks: |
| 33 |
|
| 34 |
- Setup test environment |
| 35 |
- qemu launcher |
| 36 |
/usr/bin/qemu-system-x86_64 -boot d -m 256 -cdrom '/home/users/nico/oeffentlich/rechner/projekte/cdist/cdist/cdist-preos.iso' |
| 37 |
- Create bootable image |
| 38 |
- Test image |
| 39 |
|
| 40 |
Log: |
| 41 |
|
| 42 |
mkdir iso |
| 43 |
cp /boot/vmlinuz-linux iso/ |
| 44 |
cp /usr/lib/syslinux/bios/isolinux.bin iso/ |
| 45 |
|
| 46 |
[22:36] freiheit:cdist% genisoimage -v -V "cdist preos v0.1" -cache-inodes -J -l -no-emul-boot -boot-load-size 4 -b isolinux.bin -c boot.cat -o cdist-preos.iso iso |
| 47 |
|
| 48 |
[22:38] freiheit:cdist% genisoimage -r -V "cdist preos v0.2" -cache-inodes -J -l -no-emul-boot -boot-load-size 4 -b isolinux.bin -c boot.cat -o cdist-preos.iso iso |
| 49 |
|