How to install Ubuntu Server on a USB 3.0 stick and boot that stick
This instruction describes how to install Ubuntu Server (in my case 11.04) onto a USB 3.0 stick and make it boot from that stick.
What you will need:
- A working Linux system
- gparted – Gnome Partition Editor
- unetbootin – the universal netboot installer
- The Ubuntu Server ISO image
- A USB 2.0 stick with at least 800 MB free space
- A USB 3.0 stick to install the system onto
1. Installation
- Use gparted to make a 1 GB FAT16 partition on the USB 2.0 stick
- Use unetbootin to copy the system ISO to that partition
- Attach both, the USB 2.0 and the USB 3.0 stick to the computer you want to boot via USB 3.0
Attach both sticks to USB 2.0 ports! - Boot the USB 2.0 stick
- Select Install Ubuntu Server from the unetbootin menu and press TAB
- Add the following to the boot options (before the quiet entry):
cdrom-detect/try-usb=true
- Follow the installer’s instructions until the partitioner
- Create a swap partition and a system partition on the USB 3.0 stick
- Follow the installer’s instructions
- After installation is complete, remove the USB 2.0 stick
2. Configuration
- Keep the USB 3.0 stick attached to the USB 2.0 port and boot that stick
- Login to the system and open a terminal
- Type
$ sudo nano /etc/initramfs-tools/modules
and add the following lines
xhci_hcd
usbhid
hid
usb_storage
- Save the file and create a new initrd with
$ sudo update-initramfs -u
- Shut the system down, attach the USB 3.0 stick to a USB 3.0 port and boot
Posted on June 29, 2012, in Configure, Install and tagged Boot, Ubuntu Server, unetbootin, USB 3.0. Bookmark the permalink. 1 Comment.
Reblogged this on sudovm.