User Tools

Site Tools


usersguide:x86usbworkaround

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
usersguide:x86usbworkaround [2016/03/13 21:19]
pplo [Post installation]
usersguide:x86usbworkaround [2016/07/12 11:36] (current)
antoineleca Highlight the need to use format=raw
Line 8: Line 8:
 ===== Preparation & Booting ===== ===== Preparation & Booting =====
  
-Please make sure your system meets the [[.:​hardwarerequirements|Installation Requirements]] ​first.+Please make sure your system meets the [[.:​hardwarerequirements|Installation Requirements]].
  
-First step is to **make a bootable USB of your favorite Linux or *BSD flavor**, in which you can install Qemu. Persistency ​USB is recommended. Tough normal USB without persistency can also be used if Qemu can be installed on ram, as don'​t ​needed ​after a succeeded install.+  * First step**make a bootable USB of your favorite Linux or *BSD flavor**, in which you can install Qemu. USB persistency ​is recommended, though ​normal USB without persistency can also be used if Qemu can be installed on RAM, as Qemu isn'​t ​necessary ​after a successful installation.
  
-Second step is to **boot target machine with live USB, set up network, download and install Qemu**. Alternatively,​ if there are network issues with the live USB, Qemu can be installed by downloading packages or source first. Don't worry, Internet connection ​wouldn't be needed ​during MINIX install.+  * Second step**boot ​the target machine with your live USB, set up the network, ​then download and install Qemu**. Alternatively,​ if there are network issues with the live USB, Qemu can be installed by downloading ​its packages or sources separately, along with the Minix ISO (see below), and then copied to the bootable USB disk Don't worry, ​an Internet connection ​won't be necessary ​during ​the MINIX install.
  
-Third step is to **download ​iso** from [[http://​www.minix3.org/​download|here]] and save it in your persistent USB or any normal FAT USB. If having ​network issues, download it before second step. **Save it as normal ​iso file**, don't do anymore+  * Third step**download ​the Minix ISO** from [[http://​www.minix3.org/​download|this location]] and save it in your persistent USB or any normal FAT USB. If there are network issues, download it before ​the second step (as mentioned above). **Save it as normal ​ISO file.**  You're now ready to perform the installation.
  
  
-===== Performing the workaround =====+===== Performing the workaround ​installation ​=====
  
-Now it's time to use Qemu. Other virtualization or emulation platforms could also work, but Qemu is an open source emulator that is ported to nearly all OSes. **Issue ​command ​like this** (explained below). Be patient it may be very slow if not used in conjunction with KVM:+Now it's time to launch ​Qemu. Other virtualization or emulation platforms could also work, but Qemu is an open source emulator that is ported to nearly all OSes.  
 + 
 +**Issue ​the following ​command:** (explained below).  You will have to customize the command for your bootable USB platform. Be patient, as it may be very slow if not used in conjunction with KVM:
  
 <​code>​ <​code>​
Line 26: Line 28:
  
  
-=== Explanation ===+==== Explanation ​of Command Line options ==== 
 + 
 +=== First part ===
  
 <​code>​ <​code>​
Line 34: Line 38:
 Fire up a VM using x86 platform and 512MB memory. Fire up a VM using x86 platform and 512MB memory.
  
 +=== Second part ===
 <​code>​ <​code>​
 -drive file=/​dev/​wd0c,​format=raw,​media=disk -drive file=/​dev/​wd0c,​format=raw,​media=disk
 </​code>​ </​code>​
  
-**Target machine physical ​hardisk**. An OpenBSD live USB is used in this guide. If NetBSD, change //wdXc// to //wdXe//. For linux change //wdXc// to //sdX// (where //X// is the hard disk letter, e.g.: //sda//, without partition number). This is very important, **the idea is to point to whole physical hard disk, not to a partition!** The installation program in the VM need to write Master Boot Record and Partition Boot Sector in the hard disk to boot the kernel, if can't access to, the system won't boot natively when rebooted.+**Target machine physical ​hard disk**.  This is the drive where Minix is going to be installed. An OpenBSD live USB is used in this guide. If using NetBSD, change //wdXc// to //wdXe//. For linux change //wdXc// to //sdX// (where //X// is the hard disk letter, e.g.: //sda//, without partition number). This is very important, **the idea is to point to whole physical hard disk, not to a partition!** The //​format=raw//​ part is to bypass the qemu protection of the MBR sector of the target disk: the installation program in the VM need to write Master Boot Record and Partition Boot Sector in the hard disk to boot the kernel.  If Minix doesn'​t ​have full access to the disk, the system won't boot natively when rebooted.
  
 +=== Third part ===
 <​code>​ <​code>​
--cdrom /​tmp/​minix_R3.3.0-588a35b.iso -boot d+-cdrom /​tmp/​minix_R3.3.0.iso -boot d
 </​code>​ </​code>​
  
-Boot from MINIX iso as CD-ROM.+Boot from MINIX iso as CD-ROM.  Replace with the correct folder location and filename of the ISO downloaded in step 3.
  
  
 ===== Installing ===== ===== Installing =====
  
-When the above command is issued, the VM starts, ​**now install normally**, by following [[.:​doinginstallation|Installation]] guide.+When the above command is issued, the VM will start.  ​**Now install normally**, by following ​the [[.:​doinginstallation|Installation]] guide.
  
-Be carefull ​with partitions if there any other OS in the machine. **During installation,​ select the appropriate target machine'​s native ethernet card**, not what MINIX selects automatically,​ this only will work within Qemu.+Be careful ​with partitions if there are any other OSes installed ​in the target hard disk.  It is recommended that Minix be installed on its own dedicated hard disk. **During installation,​ select the appropriate target machine'​s native ethernet card**, not what MINIX selects automatically, ​as this selection ​will only work within Qemu.
  
  
Line 58: Line 64:
 When the installation is finished, **shutdown virtual machine**. When the installation is finished, **shutdown virtual machine**.
  
-At this point, **if you don't have any bootloader installed, install one**. There are some bootloaders that doesn't require a partition, like [[http://​gag.sourceforge.net/​|GAG]]. Or edit the one you are using if [[.:​multipleoperatingsystems|multibooting]].+At this point, **if you don't have any bootloader installed, install one**. There are some bootloaders that don't require a partition, like [[http://​gag.sourceforge.net/​|GAG]]. Or edit the one you are using if you are [[.:​multipleoperatingsystems|multibooting]]. ​**In some weird cases, marking the partition active isn't enough. It requires a bootloader in MBR**
  
-**Shutdown live USB and reboot natively from hard disk**, and congrats, you have MINIX installed via USB!+**Shutdown ​your live USB instance ​and reboot natively from the hard disk**, and if everything goes well, congratulations, you have MINIX installed via USB!
  
-Now you should also read [[.:​postinstallation|Post Installation]] guide.+Now you should also read the [[.:​postinstallation|Post Installation]] guide.
  
  
-//Tested and succeeded whit Acer AO751h Netbook/​Ultrabook with 3.3.0 (stable) and 3.2.1 (previous stable), everything works but wireless. Tested whit no success yet with snapshot, don't boot.//+//Tested and successfully on Acer AO751h Netbook/​Ultrabook with versions ​3.3.0 (stable), 3.4.0rc2 (current development snapshot) and 3.2.1 (previous stable), everything works except ​wireless.//
  
usersguide/x86usbworkaround.1457900365.txt.gz · Last modified: 2016/03/13 21:19 by pplo