[SOLVED]Running Linux on a USB drive
I run computers that do distributed computing for cancer cures. I'm experimenting with running a version of Ubuntu that is specifically written for DC and can be run on bootable USB drives. The one I'm running now on USB works fine but there is one issue I need to solve. When I reboot the system or it restarts from a power failure I have to reattach the cruncher client(BOINC)to the each project and I lose whatever work units that have started. I don't have this problem if I use a HDD. I'm using an 8GB USB drive with 6GB of DDR3 12800 memory. Can someone explain to a linux novice how to overcome this issue? Thanks in advance.
|
I recently found Lili USB Creator which, along with creating the boot usb, provides active storage assigned to the drive as well to save any changes you have made between boots. Hope that helps.
|
That looks promising. I'll give it a try. Thanks
|
I think it does need persistence. See pendrivelinux.com for how to add in persistence.
|
Quote:
Quote:
|
The recent 'buntus (9.10.and 10.04) can be run from a live CD alone (no install required) just choose "Try Ubuntu without affecting my HDD".
Once that is running, they also offer a "clicky solution" to take a linux distro .iso file and make it bootable from a USB stick. And the opportunity to use part of that USB stick to save that distro's settings to. The distro can be anything, not just one of the 'buntus. It is neat. Boot to the 'buntu, in "try it" mode. Then System - Admin - Make Startup Disk. Point it at the .iso you wish to boot (it's OK to have the .iso on another removable medium, or your HDD). "When starting up from this disk."... "Documents and settings will be stored in reserved extra space". Give it some space (on your USB stick). The resulting USB stick will be bootable, will run the distro of your choice, and remember things between boots, as long as it has sufficient storage space. Notes: - This does not affect your current installation (Win / linux). It does not touch your MBR. If you get a prompt about where to install the boot manager, you did it wrong, so back out. - You will have to set your BIOS to be able to boot from the generated USB stick. HTH |
I tried but it won't let me select any other image except the Ubuntu 10.04. I even copied it to the desktop. I select desktop, select the image, click open but it doesn't show in the choices to add to the USB stick. I'm using the Ubuntu 10.04 LTS. Could that be the problem?
|
Was the Lili option not any good? I know with Ubuntu you can have up to 4GB storage
|
Quote:
Here is the error message I get with the Lili option, SYSLINUX 3.36 2010-4-10 NO DEFAULT or UI CONFIGURATION DIRECTIVE FOUND It boots fine if I use unetbootin but I'm left with the staying attached problem. |
I heard from coder of the program. The ISO has to be burned to CD/DVD. I then needed to boot from the CD/DVD, plug in the USB after booting up and install it on the USB stick. It's a 2 part process but it did work. No more lost work. Thanks here to all who helped. When I finish school this summer I'm going to learn more about Linux. For the projects I'm running it will produce more results.
|
Where do we go if there are problems following the pendrivelinux.com guides?
for instances, i have never once been able to follow ANY of their guides, and have it just WoRK. Now i am sure i have to work on it longer than the general instructions lead, that is how Howto's work and all. So, working on it for a day, and simply trying to make a workable 10.04 usb install- im giving up and going old school with a stupid CDROM. Would 9.x be better not being the newest and "most stable" platform out? |
The following string of commands will create a persistence file using the command line:
Code:
sudo dd if=/dev/zero of=./casper-rw bs=1M count=4096 && sudo mkfs.ext3 -F ./casper-rw |
All times are GMT -5. The time now is 07:20 PM. |