USB usage as main boot system

Asked by kari jarvio

is there way to save ... install ubuntu to usb as main system , for safe "HD" when travelling with laptop as an extra harddrive , i have an old laptop ( dell X1 ) and if thats hard drive dies while travelling , cant use computer at all, so usb would be ... well i think u get idea, im not genius with linux, well i dont know anything about it except that live linux tested few times....

i think 2G usb would be enough and cheap....

tested pendrive usb....

KJ

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

Yes, it can be, if your laptop allows booting for a usb port. you can run off the live image. however, your system on the usb won't be as up to date as on your laptop. it seems the op sys on the usb is just a pre-installed image and i tried saving udates to it, with persistence enabled, and updates wouldn't save.

which brings me to another point. if you want to save programs on the desktop and other settings, you have to have enabled persistence when you created the system on the drive.

Revision history for this message
Ubfan (ubfan1) said :
#2

On the usb live media created by "startup disk creator", a big file (casper-rw) is where all your changes get saved. However, a big capser-rw file itself seems to cause booting problems, no idea why, but I see many complaints,and the solution is to use the minimum size of 128M when creating it. In your case, you might need more space, so partition your 2G into a location for the read only files (830M should do 700M+128M for casper-rw), and the rest in a large partition which you will rename casper-rw after the install, and delete the file casper-rw. Seems to cause fewer problems than a large file for some reason. I have successfully updated such a disk, but the updates take a significant part of the casper-rw. Still, you will have a working, updated system on the usb stick.

Revision history for this message
marcus aurelius (adbiz) said :
#3

i set 1 gig as persistence and have no problem booting. i'm running off a 4 gig usb drive though. i believe it's not recommended that you use more than 2 gigs. anyways, why would anyone use less than 128 mb? you can't save anything in that tiny amount.

Revision history for this message
Mechanical snail (replicator-snail) said :
#4

One factor to consider: it'll be a bit slower than booting off an internal drive.

Revision history for this message
marcus aurelius (adbiz) said :
#5

not if you have high speed usb drives.
i find that the sandisk cruzer and kingston flash drives are extremely slow.
lexar is quite fast.

Can you help with this problem?

Provide an answer of your own, or ask kari jarvio for more information if necessary.

To post a message you must log in.