This site is moved to other domain!

You should be automatically redirected in 9 seconds. If not, visit
http://www.detector-pro.com
and update your bookmarks.

Tuesday, October 21, 2008



Stumble Upon Toolbar
written by: Viktor Ustijanoski in
[] [] [] [] []

How to boot Ubuntu from USB and make persistent install for saving sessions


Don't want to miss a single bit? Subscribe to our RSS Feed!


You can try Ubuntu with downloading the Live CD and booting up from a CD or USB, but every time you get the same session without saving your work. Do you like the idea that you can always carry your personal OS in your pocket everywhere? And also saving your sessions? Checking mail with your personal OS at your friends computer? Here is tutorial (http://www.pendrivelinux.com) how to do that with Live CD:


You need Ubuntu Live CD and USB 1GB or more!

  1. First download Live CD from Ubuntu official site, or just click here, and burn it to empty CD.
  2. Now boot up from a Ubuntu CD
  3. When Ubuntu is started insert the USB
  4. On main Ubuntu menu click Applications/Accessories/Terminal, and type sudo su
  5. Next type fdisk -l to list available drives/partitions (note which device is your flash drive Example: /dev/sdb). Throughout this tutorial, replace all instances of x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
  6. Type umount /dev/sdx1
  7. Type fdisk /dev/sdx
  8. type p to show the existing partition
  9. type d to delete it
  10. type p again to show any remaining partitions (if partitions exist, repeat the previous step)
  11. type n to make a new partition
  12. type p for primary partition
  13. type 1 to make this the first partition
  14. hit enter to use the default 1st cylinder
  15. type +750M to set the partition size
  16. type a to make this partition active
  17. type 1 to select partition 1
  18. type t to change the partition filesystem
  19. type 6 to select the fat16 file system
  20. type n to make another new partition
  21. type p for primary partition
  22. type 2 to make this the second partition
  23. hit enter to use the default cylinder
  24. hit enter again to use the default last cylinder
  25. type w to write the new partition table
  26. Type umount /dev/sdx1 to unmount the partition
  27. Type mkfs.vfat -F 16 -n ubuntu8 /dev/sdx1 to format the first partition
  28. Type umount /dev/sdx2 to ensure the partition is unmounted
  29. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
  30. Remove and re-insert your flash drive (if prompted that a new medium has been detected, select to open in a new window and click ok)
  31. In terminal, type sudo apt-get install syslinux mtools
  32. Type syslinux -sf /dev/sdx1
  33. Type cd /cdrom
  34. Type cp -rfv casper dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines install/mt86plus /media/ubuntu8
  35. Type cd /media/ubuntu8
  36. Type wget pendrivelinux.com/downloads/u8/syslinux.cfg
  37. Type cd casper
  38. Type rm initrd.gz
  39. Type wget pendrivelinux.com/downloads/u8/initrd.gz
  40. Reboot your computer and set your system BIOS boot priority to boot from the USB stick.
If everything has gone as it should, you should now be able to boot Ubuntu from the USB flash device and it should save your changes, restoring them on boot.

Notes: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sdx (replacing x with the letter of your flash device).

The good thing is that you can boot up your OS from USB stick and
learn a lot of things for Linux, and then decide to install it on your hard drive.

The negative side is the speed (is a little slowly) and protection - becouse is open session everyone who is using your usb can enter in your computer - for example.





Subscribe to DetectorProDid you enjoy this post? Why not leave a comment below and continue the conversation, or Subscribe to Feed and get articles like this delivered automatically to your Email or feed reader.



Related articles by tags



2 comments:

Anonymous said...

you forgot to add the link of ubuntu live cd

Miss TT

Viktor Ustijanoski said...

Link added. Thank U Miss TT :)