Difference between revisions of "USB Install"

From Amahi Wiki
Jump to: navigation, search
 
(42 intermediate revisions by the same user 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.
  
 +
* 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.
  
{{NeedsUpdate}}
+
==Install Fedora ==
== Amahi 7 ==
+
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 hardwareSee [[Install_troubleshooting|Install Troubleshooting]] for details.
<b>NOTE:</b>  Guidance is incomplete and this does not work.  Need more details.  Recommend following the [[Fedora_19_USB_install|Fedora 19 USB installation]] guidance instead as it's proven successful.
 
  
This is untested, however, Amahi 7 may be bootable via USB disk as follows:
+
:'''NOTE:''' Some BIOS have function keys that allow you to choose the boot mediaOthers may require changes to the BIOS.
* copy the image to a USB drive
 
* boot from it
 
* when the bootloader comes up, manually change the command line to replace this:
 
  inst.stage2=hd:LABEL=Amahi\x207.1\x20x86_64
 
with
 
  inst.stage2=hd:sda1
 
 
 
That assumes sda1 is where the USB drive is coming up at boot time. Yours may be different.
 
 
 
== UNetbootin based instructions (Fedora 14) ==
 
1. Setup a USB Flash Drive as you normally would using [http://unetbootin.sourceforge.net/ UNetbootin]
 
 
 
2. 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.
 
 
 
3. Change the file syslinux.cfg to read as follows:
 
 
 
default vesamenu.c32
 
prompt 0
 
menu title UNetbootin
 
timeout 100<br >
 
label unetbootindefault
 
menu label Default
 
kernel /isolinux/vmlinuz
 
append initrd=/isolinux/initrd.img ks=hd:sda1:/advanced.cfg quiet <br />
 
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
 
 
 
4. 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.
 
 
 
* Eventually the installer will complain that it can't find the Install Disc, press '''[tab]''' until '''[Back]''' is highlighted and press '''[enter]'''.
 
 
 
* 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.
 
 
 
5. 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.