Difference between revisions of "USB Install"

From Amahi Wiki
Jump to: navigation, search
 
(61 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''DISCLAIMER:'''  This has worked for some, but has not been thoroughly tested nor is it a preferred way for install.  Support is not provided at this time, so proceed with caution.
+
==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.
# Setup a USB Flash Drive as you normally would using [http://unetbootin.sourceforge.net/ UNetbootin]
+
* Run Fedora Media Writer
# When UNetbootin has completed, exit but do not select the reboot option.  Next copy the [[Express CD|Express CD ISO]] to the root of the USB Flash Drive.
+
:[[File:Fmw-ss1.png|600px]]
# Change the file syslinux.cfg to read as follows:
+
:A. Select '''Custom image'''
default vesamenu.c32
+
:B. Browse to select the ISO file you downloaded
prompt 0
+
:C. Choose '''Write to Disk.''' Please be patient as this may take a while.
menu title UNetbootin
+
:D. Once complete, exit and remove the USB flash drive from the computer.
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
 
# Most likely '''hd:sda1''' will be what your USB Flash Drive is assigned (the remaining instructions assume your USB Flash Drive is '''sda1''' and the hard drive you're installing to is''' sdb1''').
 
  
* Boot up your target PC from the USB Flash Drive and choose Expert Install or let it time out - you'll get to the same place either way.
+
==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.
  
* Eventually the installer will complain that it can't find the Install Disc, press '''[tab]''' until '''[Back]''' is highlighted and press '''[enter]'''.
+
:'''NOTE:'''  Some BIOS have function keys that allow you to choose the boot mediaOthers may require changes to the BIOS.
 
 
* When asked type of Installation Method, navigate to Hard Drive and press '''[enter]'''
 
 
 
* When asked partition where the installation files are, select '''/dev/sda1''' and press '''[enter]'''.
 
 
 
* When the graphical interface begins, follow it through until you get to the partition editor. Deselect '''/dev/sda1''' and ensure that '''sdb1''' is set to be the boot partition. Advanced users can configure their own partitions here, but recommend keeping it simple by choosing the option to use the entire drive.
 
 
 
* Once the installer finishes, reboot.  Remove the USB Flash Drive and it should boot in to a command line interfaceAt the login prompt enter root as the user and 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.