- Make sure you have 7z (7za or 7zr are fine, too) installed.
We'll use 7zr in this example; usage of other tools is exactly the same as far as our operation is concerned.
To install 7zr (on Ubuntu 12.04), run:
sudo apt-get install p7zip
- Download the image:
wget -O ocng5-5.3-20151222.7z http://darkswarm.org/sm-bios/ocng5-5.3-20151222.7z
- Connect the USB drive, make sure it's at least 64 MB large
- If your Linux distribution automatically displays contents of the drive or presents
any related contents -- close the recently popped-up window
- Now we need to determine the mount point and device name of the target drive, run:
df -h
Find your drive in there and note device name (drop any trailing digits) and mount point.
For instance:
alice@wonderland:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 17G 16G 599M 97% / udev 741M 4.0K 741M 1% /dev tmpfs 300M 908K 299M 1% /run none 5.0M 0 5.0M 0% /run/lock none 750M 200K 750M 1% /run/shm tmpfs 750M 19M 731M 3% /home/folding/fah /dev/sde1 8.0G 705M 7.2G 9% /media/20C8-9A83 alice@wonderland:~$
- Unmount the target drive:
sudo umount <mount point from previous step>
sudo umount /media/20C8-9A83
- Extract the image onto the USB drive:
sudo -s 7zr x -so ocng5-5.3-20151222.7z | dd bs=1M of=<device name> exit
sudo -s 7zr x -so ocng5-5.3-20151222.7z | dd bs=1M of=/dev/sde exit
- Wait for the command prompt to return
- Eject the drive to make sure all data have reached the medium:
sudo eject -s <device name>
sudo eject -s /dev/sde
- Remove the USB drive.
- You're done!
OCNG5: Step-by-step USB drive setup instructions for Linux
Subscribe to:
Posts (Atom)
No comments:
Post a Comment