forked from ungleich-public/cdist
		
	+logs
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								b7ed5b7d12
							
						
					
				
			
			
				commit
				
					
						6ff6604941
					
				
			
		
					 2 changed files with 81 additions and 0 deletions
				
			
		
							
								
								
									
										49
									
								
								docs/dev/logs/2015-02-10.installation_from_usb_stick
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								docs/dev/logs/2015-02-10.installation_from_usb_stick
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,49 @@
 | 
			
		|||
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 
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										32
									
								
								docs/dev/logs/2015-03-28.preos-from-os
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								docs/dev/logs/2015-03-28.preos-from-os
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,32 @@
 | 
			
		|||
- basics of config
 | 
			
		||||
    - wrapping to config
 | 
			
		||||
    - testbed for CaaS!
 | 
			
		||||
- allow to include .cdist
 | 
			
		||||
- generate
 | 
			
		||||
    - pxe
 | 
			
		||||
    - iso
 | 
			
		||||
- package...
 | 
			
		||||
    - mkfs
 | 
			
		||||
    - fdisk*
 | 
			
		||||
    - kernel
 | 
			
		||||
 | 
			
		||||
- types (?)
 | 
			
		||||
    - iso?
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
- based on Arch Linux
 | 
			
		||||
 
 | 
			
		||||
- new types for iso?
 | 
			
		||||
 | 
			
		||||
- change __cdistmarker to accept prefix
 | 
			
		||||
 | 
			
		||||
- ISO / USB
 | 
			
		||||
    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 
 | 
			
		||||
 | 
			
		||||
    - have a look at archiso?
 | 
			
		||||
 | 
			
		||||
    http://www.syslinux.org/wiki/index.php/Isohybrid
 | 
			
		||||
        -> uefi
 | 
			
		||||
        -> mbr
 | 
			
		||||
 | 
			
		||||
- PXE
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue