Showing posts with label usb drive. Show all posts
Showing posts with label usb drive. Show all posts

Wednesday, June 13, 2012

Installing multiple iso on a usb drive with Ubuntu


I'm using Multisystem to install multiple isos on a USB drive.

Download:
http://liveusb.info/multisystem/install-depot-multisystem.sh.tar.bz2

unzip and run:

sudo install-depot-multisystem.sh

This will install all required packages and multisystem. After this just run mutisystem from the Ubuntu menu.

MultiSystem allows you to boot your USB drive using QEMU inside Ubuntu to test that the drive is working before booting it on another machine.


reference:
http://www.pendrivelinux.com/multiboot-create-a-multiboot-usb-from-linux/

Sunday, March 1, 2009

How to flash the Bios using a DOS USB Flash drive

This tutorial might delete your hard-drive or usb-drive data, in case you do not understand how partitions work, avoid this tutorial


Install gparted and run:
sudo apt-get install gparted
sudo gparted

- Select the the USB drive, delete all partitions and click apply.

- Create a new FAT16 partition, apply


- Format FAT16 partition, apply



- Set boot flag, set label to DOS




After all this is done, you should have a pen with a DOS partition. The drive I'm using is assigned to sdf1 partition.

sudo apt-get install dosemu

# some usb drives mount on the same drive as the cdrom, so we are changing it to be safe
sudo gedit /etc/dosemu/freedos/autoexec.bat



Create this file /home/youruser/dosemurc
Put the correct partition used in gparted section:

$_hdimage = "drives/* /dev/sdf1"

Save the file and execute

sudo dosemu -f /home/youruser/dosemurc

# as you can see the flash drive was assign to drive E under DOS

Type
> Z:
to change to the drive that contains the OS binaries and then type
> sys E:
to copy all needed files to make DOS boot.


You can close dosemu, and remove the USB drive.
Plug it again to see a DOS drive on the desktop.
Now copy all the needed files to flash your bios.

NOTE: I'm not sure, but I think FAT16 should only work for USB drives with 4GB partitions or lower, so if you have a USB drive bigger than 4GB just create a partition with less than 4GB, and leave the rest as free space.

Monday, August 25, 2008

Ubuntu on a USB pen/drive




Easy tool to create a bootable USB drive, for multiple distributions.

Install:
sudo apt-get install p7zip p7zip-full mtools
wget http://unetbootin.sourceforge.net/unetbootin-linux-latest
chmod +x unetbootin-linux-*
sudo ./unetbootin-linux-XXX

Reference: http://unetbootin.sourceforge.net/

Setting dns over TLS on ubuntu 26.04 using quad9 and

With this change future dns queries should got to Quad9 and fallback Cloudflare if Quad9 has a outage, and should go over TLS.  Change /etc/...