Difference between revisions of "USB Install"

From Amahi Wiki
Jump to: navigation, search
 
(74 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''NOTE:'''  This has worked for some, but has not been thoroughly test nor is it a preferred way for install.  Support is not provided at this time.
+
==Prequisites==
 +
* USB Flash Drive (2-4GB minimum depending on the ISO)
 +
* [https://getfedora.org/en/workstation/download/ Fedora Media Writer] (supports Windows/Mac/Linux OS)
 +
<br />
 +
'''NOTE:''' Fedora Media Writer must be installed on the client system (no portable version available).
 +
==Create USB image==
 +
'''NOTE:'''  These instructions are based on a Windows client, but easily adaptable to MAC or Linux.
  
== UNetbootin based instructions:==
+
* Insert USB flash drive into your computer.
 +
* Run Fedora Media Writer
 +
:[[File:Fmw-ss1.png|600px]]
 +
:A. Select '''Custom image'''
 +
:B. Browse to select the ISO file you downloaded
 +
:C. Choose '''Write to Disk.''' Please be patient as this may take a while.
 +
:D. Once complete, exit and remove the USB flash drive from the computer.
  
* Setup a usb stick as you normally would using unetbootin
+
==Install Fedora ==
 +
Insert the USB flash drive into your server, reboot the system, and follow applicable install instructions to complete the install. This method may not work well with UEFI firmware based hardware.  See [[Install_troubleshooting|Install Troubleshooting]] for details.
  
* When UNetbootin has completed, exit out of it - do not select the reboot option - then copy the iso to the root of the usb stick
+
:'''NOTE:''' Some BIOS have function keys that allow you to choose the boot media. Others may require changes to the BIOS.
 
 
* In the root of the usbstick will be a file named "syslinux.cfg", edit it to read as follows:
 
 
 
default vesamenu.c32
 
prompt 0
 
menu title UNetbootin
 
timeout 100
 
 
label unetbootindefault
 
menu label Default
 
kernel /isolinux/vmlinuz
 
append initrd=/isolinux/initrd.img ks=hd:sda1:/advanced.cfg quiet
 
 
label ubnentry0
 
menu label ^Expert install for Amahi headless - Graphic installer
 
kernel /isolinux/vmlinuz
 
append initrd=/isolinux/initrd.img ks=hd:sda1:/advanced.cfg quiet
 
 
 
* Where hd:sda1 represents the likely chance that when installing from usb, your usb stick will be assigned the device name sda1. If this fails, try sdb1. The rest of these instructions assume that the usb stick is sda1 and the drive you're installing to is sdb1.
 
 
 
* Boot up your target PC from the usb stick and either choose Expert install or let it time out - you'll get to the same place either way.
 
 
 
* Eventually the installer will complain that it can't find the Install Disc, press [tab] until [Back] is highlighted and press [enter]
 
 
 
* You'll be asked what type of Installation Method you're using, navigate to Hard Drive press [enter]
 
 
 
* You'll be asked to point out the partition where the installation files are, select /dev/sda1 and press [enter]
 
 
 
* The graphical interface will fire up, follow it through, when you get to the partition editor, deselect /dev/sda1 and ensure that sdb1 is set to be booted from. Advanced users can configure their own partitions etc here, I recommend to keep it simple you choose the option to use the entire drive.
 
 
 
* Then follow the installer through to the end. At the end, you'll reboot, remove your usb stick and you should boot up to a command line login prompt. Login as root with the password you defined during setup.
 
 
 
* Issue an ifconfig and check to see whether you have an IP address or not. If you don't, issue a system-config-network and give your hda an ip address, gateway, dns etc and save and quit. Then issue a service network restart.
 
 
 
* Finally, issue a hda-new-install [your setup code here], ignore the errors, let it run through and reboot when prompted. You should now have an amahi box.  
 
 
 
 
 
('''NOTE:''' if you cannot login, try useradd admin && passwd admin to add a user to the fedora base system)
 

Latest revision as of 16:42, 21 August 2019

Prequisites

  • USB Flash Drive (2-4GB minimum depending on the ISO)
  • Fedora Media Writer (supports Windows/Mac/Linux OS)


NOTE: Fedora Media Writer must be installed on the client system (no portable version available).

Create USB image

NOTE: These instructions are based on a Windows client, but easily adaptable to MAC or Linux.

  • Insert USB flash drive into your computer.
  • Run Fedora Media Writer
Fmw-ss1.png
A. Select Custom image
B. Browse to select the ISO file you downloaded
C. Choose Write to Disk. Please be patient as this may take a while.
D. Once complete, exit and remove the USB flash drive from the computer.

Install Fedora

Insert the USB flash drive into your server, reboot the system, and follow applicable install instructions to complete the install. This method may not work well with UEFI firmware based hardware. See Install Troubleshooting for details.

NOTE: Some BIOS have function keys that allow you to choose the boot media. Others may require changes to the BIOS.