[Lazarus] Lazarus on a Flashdrive

Michael Green myatus at googlemail.com
Fri Sep 5 20:03:08 CEST 2008

Hello Reenen,

Yes, it's possible to have Lazarus run from a flash drive - I did that 
for quite some time. Simply install to a folder on your flash drive 
instead the harddrive.

There's just two things you have to take care of, both of which pretty 
easy to do with a little batch file (or FreePascal app ;-) - you need to 
have the PATH environment setting pointing to your FPC folder and 
Lazarus needs to know a few additional folders. That means, if your 
flash drive is "E:\" on one PC, it might be "G:\" on another.

As for 2 binaries, you ought to be able to do the same on a single FAT 
partition (just two seperate folders, as most Linux distros will chew on 
FAT fine.. No pun intended...), or go a bit fancier and partition your 
flash drive...

Just a quick note though: do get a decent flash drive. You'd think a 
flash drive is faster than a HD, but that's not always the case 
(especially the ones that are large and cheap... There's a reason 
they're cheap).

-- Mike

More information about the Lazarus mailing list