Difference between revisions of "USB Install"

From Amahi Wiki
Jump to: navigation, search
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 (2GB minimum)
 +
* [http://unetbootin.sourceforge.net/ UNetbootin] (supports Windows/Linux/Mac OS])
 +
<br />
 +
'''NOTE:''' Ensure your system meets the [[Requirements|minimum requirements]] for Amahi before proceeding.
  
 +
=Create USB image=
 +
'''NOTE:'''  These instructions are based on a Windows client, but easily adaptable to MAC or Linux.
  
{{NeedsUpdate}}
+
* Insert USB flash drive into your computer.
== Amahi 7 Express Disc ==
+
* Run UNetbootin
<b>NOTE:</b>  Guidance is incomplete and this <b>DOES NOT</b> work. Need more details. Recommend following the [[Fedora_19_USB_install|Fedora 19 USB installation]] guidance instead as it's proven successful.
+
* Select '''Diskimage''' and ''ISO'' for format
 +
* Browse to select the file you downloaded earlier ([[Amahi_8_Install#Minimal_.28CD.29_Install|Minimal CD Install]] or [[Amahi_8_Install#Full_.28DVD.29_Install|Full (DVD) Install]] ISO)
 +
* Verify at the bottom
 +
** Type is '''USB Drive'''
 +
** Drive listed is for your USB flash drive.  If not, select the appropriate drive.
 +
* Once you are ready, choose '''OK'''.  Please be patient as this may take a while since it extracts the ISO to the USB flash drive.
 +
* When UNetbootin finishes, select '''Exit''' and remove the USB flash drive.
  
This is untested, however, Amahi 7 may be bootable via USB disk as follows:
+
=Install Fedora=
* copy the image to a USB drive
+
* Insert the USB flash drive into your server.
* boot from it
+
* Now boot your server using the USB flash drive.  Some BIOS have function keys that allow you to choose the boot media.  Others may require changes to the BIOS.
* when the bootloader comes up, manually change the command line to replace this:
+
* Follow applicable [[Fedora_21_Server_Install|Fedora 21 Server]] or [[Fedora_21_Minimal_Install|Netinstall instructions]]<br />
  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.
+
:<b>NOTE:</b>  Most commands from here on will need to be executed as a privileged user. Depending on how you configured the users at install, you may need to precede them with '''sudo''' (made user administrator). Otherwise, you will need to be '''root''' user.
 
 
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 interface.  At 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.-->
 

Revision as of 22:39, 8 September 2015

Prequisites

  • USB Flash Drive (2GB minimum)
  • UNetbootin (supports Windows/Linux/Mac OS])


NOTE: Ensure your system meets the minimum requirements for Amahi before proceeding.

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 UNetbootin
  • Select Diskimage and ISO for format
  • Browse to select the file you downloaded earlier (Minimal CD Install or Full (DVD) Install ISO)
  • Verify at the bottom
    • Type is USB Drive
    • Drive listed is for your USB flash drive. If not, select the appropriate drive.
  • Once you are ready, choose OK. Please be patient as this may take a while since it extracts the ISO to the USB flash drive.
  • When UNetbootin finishes, select Exit and remove the USB flash drive.

Install Fedora

  • Insert the USB flash drive into your server.
  • Now boot your server using the USB flash drive. Some BIOS have function keys that allow you to choose the boot media. Others may require changes to the BIOS.
  • Follow applicable Fedora 21 Server or Netinstall instructions


NOTE: Most commands from here on will need to be executed as a privileged user. Depending on how you configured the users at install, you may need to precede them with sudo (made user administrator). Otherwise, you will need to be root user.