Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


apu_ubuntu

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
apu_ubuntu [2018/06/01 23:48]
admin [Post installation steps]
apu_ubuntu [2019/02/16 21:23] (current)
admin [Post installation steps]
Line 1: Line 1:
-=====PCEngines ​APU2 - Ubuntu 18.04 LTS server =====+=====PC Engines ​APU2 - Ubuntu 18.04 LTS server ===== 
  
-====Prepare a USB drive==== 
-  * [[https://​www.ubuntu.com/​download/​alternative-downloads|Download the latest Ubuntu server net install mini.iso for amd64 architecture.]] 
-  * Extract downloaded ISO and copy the files to a temporary location:<​code>​ 
-sudo mkdir /mnt/iso 
-sudo mount -o loop ~/​Downloads/​mini.iso /mnt/iso 
-cd /mnt 
-tar -cvf - iso | (cd /var/tmp/ && tar -xf - ) 
-cd /​var/​tmp/​iso</​code>​ 
-  * Modify ''/​var/​tmp/​iso/​isolinux.cfg''<​code>​serial 0 115200 
-console 0 
-path 
-include menu.cfg 
-default vesamenu.c32 
-prompt 0 
-timeout 0</​code>​ 
-  * Modify ''​Command-line install'':​ ''/​var/​tmp/​iso/​txt.cfg''<​code>​ 
-append file=/​cdrom/​preseed/​ubuntu-server.seed vga=off initrd=/​install/​initrd.gz console=ttyS0,​115200n8 ---</​code>​ 
-  * Create a new ISO file (this was done from Fedora):<​code>​xorriso -as mkisofs -R -J -V "​Ubuntu-Server 18.04 LTS amd64" \ 
--o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ 
--boot-load-size 4 -boot-info-table \ 
--isohybrid-mbr /​usr/​share/​syslinux/​isohdpfx.bin .</​code>​ 
-  * Write the new image to the USB drive:<​code>​sudo dd if=~/​file.iso of=/dev/sdX bs=4k conv=fsync status=progress</​code>​ 
 ====Install Ubuntu 18.04==== ====Install Ubuntu 18.04====
 +  * dd Ubuntu server netinstall (mini.iso) to USB drive [[https://​www.ubuntu.com/​download/​alternative-downloads]]
   * Connect the USB drive to the APU board and boot from USB (F10 / F12).\\   * Connect the USB drive to the APU board and boot from USB (F10 / F12).\\
-  * Select ''​Command-Line install''​.+  * Select ''​Install''​, then TAB. 
 +  * Change kernel options to ''​linux initrd=initrd.gz console=ttyS0,​115200''​
   * When asked to unmount mounted partitions choose ''​Yes''​.   * When asked to unmount mounted partitions choose ''​Yes''​.
   * Install options as you like.   * Install options as you like.
Line 39: Line 20:
 GRUB_CMDLINE_LINUX="​console=ttyS0,​115200n8"​ GRUB_CMDLINE_LINUX="​console=ttyS0,​115200n8"​
  
-sudo update grub+sudo update-grub
 </​code>​ </​code>​
   * Reboot to test the update grub configuration.   * Reboot to test the update grub configuration.
Line 78: Line 59:
 systemctl enable beeponshut systemctl enable beeponshut
 </​code>​ </​code>​
 +
 +====Prepare a USB drive (optional)====
 +  * [[https://​www.ubuntu.com/​download/​alternative-downloads|Download the latest Ubuntu server net install mini.iso for amd64 architecture.]]
 +  * Extract downloaded ISO and copy the files to a temporary location:<​code>​
 +sudo mkdir /mnt/iso
 +sudo mount -o loop ~/​Downloads/​mini.iso /mnt/iso
 +cd /mnt
 +tar -cvf - iso | (cd /var/tmp/ && tar -xf - )
 +cd /​var/​tmp/​iso</​code>​
 +  * Modify ''/​var/​tmp/​iso/​isolinux.cfg''<​code>​serial 0 115200
 +console 0
 +path
 +include menu.cfg
 +default vesamenu.c32
 +prompt 0
 +timeout 0</​code>​
 +  * Modify ''​Command-line install'':​ ''/​var/​tmp/​iso/​txt.cfg''<​code>​
 +append file=/​cdrom/​preseed/​ubuntu-server.seed vga=off initrd=/​install/​initrd.gz console=ttyS0,​115200n8 ---</​code>​
 +  * Create a new ISO file (this was done from Fedora):<​code>​xorriso -as mkisofs -R -J -V "​Ubuntu-Server 18.04 LTS amd64" \
 +-o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \
 +-boot-load-size 4 -boot-info-table \
 +-isohybrid-mbr /​usr/​share/​syslinux/​isohdpfx.bin .</​code>​
 +  * Write the new image to the USB drive:<​code>​sudo dd if=~/​file.iso of=/dev/sdX bs=4k conv=fsync status=progress</​code>​
  
 {{tag>​[hardware apu apu1 apu2 Ubuntu linux ]}} {{tag>​[hardware apu apu1 apu2 Ubuntu linux ]}}
apu_ubuntu.1527889697.txt.gz · Last modified: 2018/06/01 23:48 by admin