Install Linux on USB stick (Pen drive)

USB Pendrive Linux install from Linux

The Pendrivelinux team has put together a USB Pen Drive Linux package based purely on Debian Linux. The USB Linux package is currently available in .img format. Installation is simple and just requires copying the .img to a USB device and then creating a live-rw partition if you wish to store your changes. We think you will find this personalized USB Linux version easy to install, navigate and use.

Credits extend to the Debian-Live team for creating Live-Helper script used in this project. (Aicrom) Márcio Santos for the custom Penguin artwork, Theme-Graphics thanks to Carlos

This Pendrivelinux version is obsolete and no longer supported.

Basic Essentials:

  • 1GB or larger USB flash drive (512MB will work but isn’t recommended)
  • Pendrivelinux.img
  • Linux environment (Debian used in this example)

Obtaining and installing Pendrivelinux to USB:

  1. Insert a 1GB or larger USB flash pen drive
  2. Start your PC (booting from a Linux OS)
  3. Download the pendrivelinux.img
  4. Open a terminal and type sudo su
  5. From the terminal, change to the directory where you saved pendrivelinux.img
  6. Type fdisk -l and note which device is your USB device. Example:/dev/sdX (X represents your USB drive letter. Through the rest of this tutorial, replace X with your actual drive letter)
  7. Type dd if=pendrivelinux.img of=/dev/sdX

Optional – Create a second partition for saving changes:

  1. Type fdisk /dev/sdX
    1. Type n (makes a new partition)
    2. Type p (makes the new partition a primary partition)
    3. Type 2 (makes this the 2nd primary partition)
    4. Hit enter to accept the default first cylinder
    5. Hit enter again to accept the default last cylinder
    6. Type w (writes the new partition information to the USB drive)
  2. Type umount /dev/sdX1 and then remove and reinsert your USB drive
  3. Type mkfs.ext2 -b 4096 -L live-rw /dev/sdX2
  4. Reboot your computer and set boot priority to boot from the USB stick

You should now be booting into USB Pen Drive Linux from your USB drive!

Notes: You must boot by typing live persistent at the boot prompt if you wish to use the second partition to save or restore changes. Otherwise the system will boot in LIVE mode.

No root password has been set by default. To set a root password open a terminal and type sudo passwd root and then set the password you would like to use for root access.

The default username is user. Default user password is live

Advertisements
  1. post not working in firefox

  2. I am grateful to get found this site. Hold up the good postings.

  3. I know this is really boring and you are skipping to the next comment, but I just wanted to throw you a large thanks – you cleared up some things for me!

  4. I observed your internet site via look for engine several moment ago, and luckily, this can be the only information I was searching for the last hours

  5. I like the valuable info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite sure I will learn many new stuff right here! Good luck for the next!

  6. Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely glad I found it and I’ll be book-marking and checking back frequently!

  7. Something is better than nothing.

  8. I’ve been here a few times and it seems like your articles get more informative each time. Maintain it up I appreciate reading them.

  9. We would like to thank you again for the gorgeous ideas you offered Janet when preparing her own post-graduate research as well as, most importantly, pertaining to providing all of the ideas in one blog post. Provided that we had been aware of your web page a year ago, we might have been saved the unnecessary measures we were employing. Thank you very much.

  10. You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  11. Hey I was just looking at your site in IE 6 and the graphic at the top of the link doesnt show up right. Just thought I would let you know.

  12. Great material – Thanks for posting that advice, I believe that it pretty much answers my question.

  13. Brilliant, thanks, I will visit again now.

  14. Communicate I loved reading your put up and I like your tackle the issue. Thanks.your mind

  15. I like this info and it has given me some kind of desire to have success for some reason, so thanks. Furthermore I am undoubtedly contemplating running a blog these details in my very own weblog!

  16. I genuinely enjoy studying on this internet site , it contains great posts .

  17. Great post! I am just starting out in community management and trying to learn how to do it well – information like this article is incredibly helpful. As our company is based in the US, it’s all a bit new to us. The example here is something that I worry about as well, how to show your own genuine excitement and share the fact that your words is helpful in that case

  18. The same as someone else discussed what a fantastic blog this is. Typically I dont bother with a comment then again for your efforts you ought to have one. Well put

  19. You covered some engaging things in this post. I found it by searching Bing and I must admit that I am currently subscribed to the website, it is quite fine 🙂

  20. hi. I observe you are interested in generating quality backlinks and stuff. I’m selling scrapebox auto approve link lists. If you’d like to trade ?

  21. Man I absolutely enjoy your editorial and it has been too admirable so I am going to tweet it. I Have to say the Indepth analysis this article has is greatly extraordinary !!! Who goes that extra mile these days? Well Done !!! Just one more suggestion to you is that you definetlyget some Translator Application for your Global Users …

  22. Thank you for taking the effort and time to publish something which is effective

  23. Good web site! I truly love how it is easy on my eyes it is. I’m wondering how I could be notified when a new post has been made. I’ve subscribed to your RSS feed which may do the trick? Have a great day!

  24. Wanted writeup. I just without a doubt are in agreement with that which you are declaring. As well as sharing that issue a good deal of late along with the mommy hence with any luck , this would get him to see my own point of view. Hands and wrists intersected!

  25. A very informationrmative article and lots of really honest and forthright comments made! This certainly got me thinking a lot about this issue so nice one a lot for leaving!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: