49 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
Objective:
 | 
						|
 | 
						|
    Create a bootable media that contains everything to install and configure a system.
 | 
						|
 | 
						|
Ideas:
 | 
						|
 | 
						|
* usb stick
 | 
						|
** uefi vs. bios
 | 
						|
** contains cdist config
 | 
						|
** static ip (?) (if at all)
 | 
						|
** hostname setup to localhost
 | 
						|
** install and config support
 | 
						|
* preos from existing OS?
 | 
						|
** requires kernel
 | 
						|
** requires initramfs (self build)
 | 
						|
** missing tools: cdist preos --config hostname...
 | 
						|
* testing with qemu
 | 
						|
* syslinux/isolinux?
 | 
						|
 | 
						|
Program:
 | 
						|
 | 
						|
- get tools
 | 
						|
- get kernel
 | 
						|
    - provide fallback on cdist page
 | 
						|
    - archlinux: /boot/vmlinuz-linux
 | 
						|
- create initramfs?
 | 
						|
- create bootable media
 | 
						|
    - iso
 | 
						|
    - uefi-usb
 | 
						|
    - bios-usb
 | 
						|
 | 
						|
Tasks:
 | 
						|
 | 
						|
- Setup test environment
 | 
						|
    - qemu launcher
 | 
						|
    /usr/bin/qemu-system-x86_64 -boot d -m 256 -cdrom  '/home/users/nico/oeffentlich/rechner/projekte/cdist/cdist/cdist-preos.iso'
 | 
						|
- Create bootable image
 | 
						|
- Test image
 | 
						|
 | 
						|
Log:
 | 
						|
 | 
						|
mkdir iso
 | 
						|
cp /boot/vmlinuz-linux iso/
 | 
						|
cp /usr/lib/syslinux/bios/isolinux.bin iso/
 | 
						|
 | 
						|
[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
 | 
						|
 | 
						|
[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 
 | 
						|
 |