Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I found out the following hidden feature in openQRM :
With the local-boot support one can boot a filesystem-image from an usb-stick or usb-(mini)-harddisk.
Here how it works :
- plug in and mount your usb-stick
- back-up all data (it will be removed soon) and umount it
- create a primary linux partition with an ext3 filesystem on the usb-stick (fdisk + mkfs.ext3)
- mount the usb-stick
- copy your favourite root-filesystem-image to the stick
- edit /etc/fstab on the root-filesystem and replace the root-device with /dev/sda1
- umount the usb-stick
- boot up a node with openQRM (one idle node is needed)
- plugin the usb-stick into that node
- in the openQRM GUI create a filesystem-image using the "local" storage server and as filesystem-identifier use "ext://127.0.0.1//dev/sda1"
- then create a virtual-environment using the just
created filesystem-image and a boot-image of your choice.
- start the created ve
This will boot the node with the selected boot-image, then modprobe the usb-stick, mount it as rootfs and pivot_root into it.
Left to do :
- in the linuxrc the following lines should be added to the local-boot support section (at the very beginning)
if [ "$STORAGE_TYPE_INTERFACE" == "local" ]; then
syslogd && klogd
echo "waiting to let the kernel notice the new scsi-device"
# local hd
btw: This description assumes that the nodes booted from the usb-stick do not have any additional scsi-devices. In case they have, the partition number of the scsi-device to boot from must be exchanged properly.
This feature can lead people in an office env to be able to have their complete operating-system
evnironment on an usb-stick and then just let openQRM boot an available computer with their personal environment.
hope it is usefull,
This is an awesome trick/tip! Thanks for posting it to the community.