aefere.blogg.se

Create portable ubuntu usb
Create portable ubuntu usb





create portable ubuntu usb

I'm assuming this is a graphical installation btw. Go through the usual install steps until you get to partitioning the device. If not, and you can just install on the other USB, skip this step.īoot from your install USB with your desired bootable one plugged in. If you are dead set that you want it installed on the USB you're currently using, setup your install medium on the new one and format the desired one for installation. While this may not be the best way of doing it, it works and is what I tend to do if I need to set up a bootable USB. What you've done is setup an install medium rather than a bootable distro. (VirtualBox Gui -> Click on the VM -> Settings -> Storage -> Storage TreeĪfter tat you should be able to boot this USB Thumb in Virtualbox. Now add the virtual disk created as the VMDK file to your virtual-machine and remove the current vdi file.

create portable ubuntu usb

Make sure your user (where you run Virtualbox) is a member of the group "disk" (sudo adduser $USER disk)

create portable ubuntu usb

VBoxManage internalcommands createrawvmdk -filename ubuserver.vmdk -rawdisk /dev/sdc Just create a VMDK File from you inserted USB Thumb (you need to know the /dev/sd-name). In additional you can proof is the USB Thumb is booting also inside Virtualbox if you like. Image like in this example (as root user):Īfter that you are done. If you determinate the right destination device use "dd" to write the This could also be done with the command "lsscsi" Insert you USB thumg and proof with "dmesg" for the correct device name. Now you can write this Image to your USB Thumb with "dd" like in this example:

create portable ubuntu usb

data/sdb.raw: DOS/MBR boot sector GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94 Proof it with "file sdx.raw" for example. VBoxManage: error: Cannot register the hard disk 'nameofyour.vdi' " and replace "nameofyour.vdi" with this uuid like in this example: VBoxManage clonehd nameofyour.vdi sdx.raw -format RAW Open a terminal and go where the VDI file of you server resists After that just do the following (shutdown the virtual Ubuntu server fist) Just install everything and customize Ubuntu server as you like it. A method I like is to use Virtualbox to setup Ubuntu Server (and other OS's I need).Ĭhoose VDI as storage and size the disk around 2GB less then the total size of your thumb or just straight use a less size - like 30GB for the storage (virtual disk).







Create portable ubuntu usb