Stick (Linux)

USB stick from ISO File ArchivistaBox 64Bit (Linux)

Attention: The following instructions only apply to ArchivistaMini, but not to AVMultimedia. With AVMultimedia you can use Etcher to create a USB stick.

You can also create a USB stick from any ArchivistaBox CD. This can then be used afterwards for installation and/or updating. There is no need to waste time using a CD/DVD drive.

Preparing the USB Stick with Debian/Ubuntu

The steps to be carried out when using a ‘stick’ Linux (e.g. Debian) are briefly outlined below. All commands must be entered with root privileges (alternatively, use sudo). Firstly we need the lilo and syslinux packages. They can be installed using the following commands in Debian:

apt-get install lilo
apt-get install syslinux

apt-get install dosfstools

Then we can insert the USB stick. Here, it is important that you use the correct address for the stick. You should use ‘dmesg’:

archivista:~# dmesg

usb 7-3: new high speed USB device using ehci_hcd and address 15
scsi20 : usb-storage 7-3:1.0
scsi 20:0:0:0: Direct-Access USB Flash DISK 1100 PQ: 0 ANSI: 0
CCS
sd 20:0:0:0: Attached scsi generic sg5 type 0
sd 20:0:0:0: [sdf] 1957888 512-byte logical blocks: (1.00 GB/956 MiB)
sd 20:0:0:0: [sdf] Write Protect is off
sd 20:0:0:0: [sdf] Mode Sense: 43 00 00 00
sd 20:0:0:0: [sdf] Assuming drive cache: write through
sd 20:0:0:0: [sdf] Assuming drive cache: write through
sdf: sdf1
sd 20:0:0:0: [sdf] Assuming drive cache: write through
sd 20:0:0:0: [sdf] Attached SCSI disk
archivista:~#

 

The address for the stick is shown in the last lines displayed. Now we can prepare the stick accordingly with cfdisk:

cfdisk /dev/sdf

Note the correct settings. The stick must be bootable, formatted with FAT 16 (type 06) and only a primary partition can be set up.

After the stick has been initialized, you can perform the remaining steps on the console:

mkdosfs /dev/sdf1
lilo -M /dev/sdf
syslinux /dev/sdf1
mkdir /in
mkdir /out
mount -o loop avvm-test1.iso /in
mount /dev/sdf1 /out
cp /in/* /out
umount /in
umount /out

 

At the end, you can restart the computer and should be able to boot from the USB stick. In this way, you can perform the installation of the ArchivistaVM solution in approx. 1 to 2 minutes’ an update takes a further 45 seconds approx.

Preparing the USB stick with Windows

Generally, it should be easy to create a bootable USB stick in Windows, as there are numerous programs for this purpose. You can use UNetbootin, for instance. I must add here that I have not run through the process with the ArchivistaVM CD. Given that ArchivistaVM is open source, we would welcome it if someone were to create an instruction with screens. Otherwise, we recommend working with the ISO file.

 

« Setting up OSStick (Windows) »