User Tools

Site Tools


haas:system:sokraits_halfadder.offbyone.lan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
haas:system:sokraits_halfadder.offbyone.lan [2014/10/04 14:37] – [rsync to fileserver] wedgehaas:system:sokraits_halfadder.offbyone.lan [2014/10/04 14:41] (current) – [rsync to fileserver] wedge
Line 1133: Line 1133:
  
 I plan to rig up either some daily autogeneration of the initrd, or have a script on standby that can use to make it. This will then become the method of booting both sokraits and halfadder (and potentially freeing up a still-working SSD in the process! Which I can use in data2). I plan to rig up either some daily autogeneration of the initrd, or have a script on standby that can use to make it. This will then become the method of booting both sokraits and halfadder (and potentially freeing up a still-working SSD in the process! Which I can use in data2).
 +
 +On the fileserver, I then obtain the latest copy of the hypervisor, kernel, and generate a new all-system initrd:
 +
 +<cli>
 +data1:/export/tftpboot/netboot/halfadder# cp disk/boot/xen-4.4-amd64.gz .
 +data1:/export/tftpboot/netboot/halfadder# cp disk/boot/vmlinuz-3.16-2-amd64 linux
 +data1:/export/tftpboot/netboot/halfadder# cd disk
 +data1:/export/tftpboot/netboot/halfadder/disk# find . | cpio -c -o | gzip -9 > ../initrd.gz
 +data1:/export/tftpboot/netboot/halfadder/disk# 
 +</cli>
 +
 +====pxeboot file for sokraits/halfadder====
 +On the fileserver, in **/export/tftpboot/pxelinux.cfg/** are two files, **0A50012E** (sokraits) and **0A50012F** (halfadder)... they are named according to the machine's IP address (only in hex).
 +
 +The file(s) contain:
 +
 +<code>
 +default netboot
 +prompt 1
 +timeout 2
 +
 +label netboot
 +    kernel mboot.c32
 +    append netboot/halfadder/xen-4.4-amd64.gz --- netboot/halfadder/linux console=tty0 root=/dev/ram0 ro --- netboot/halfadder/initrd.gz
 +
 +label memtest
 +    kernel distros/memtest/memtest86+
 +</code>
  
 =====References===== =====References=====
haas/system/sokraits_halfadder.offbyone.lan.1412433460.txt.gz · Last modified: 2014/10/04 14:37 by wedge