LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems instaling linux on to usb (https://www.linuxquestions.org/questions/linux-newbie-8/problems-instaling-linux-on-to-usb-893188/)

casualdislike 07-22-2011 12:44 PM

problems instaling linux on to usb
 
About a two years ago I installed a fedora os on a 4gb thumb drive. Not a iso actuly instaled it and was able to install software and save documents and the such just like a normal os. Since then I went on a deployment oversees and suffered a head injury. At the time I made the thumb drive I was vary good at linux. Now I cannot even remember how to use a terminal. If I remember right fedora was a vary easy to use os and I would like to reinstall it on the thumb drive. But eveytime I try now evey iso says there is not enof room on the thumb drive if anyone can help me I would be forever greatfull. Thanks

alfredo10 07-22-2011 01:17 PM

Hi!
Do you want to create a live USB to test a Linux distribution?
I did that more than 20 times - the best way: PartedMagic/ UNetbootin.
If you want to create an USB with persistence:
Mint and openSUSE have own creaters, and as far as I remember, Fedora 14
(at the moment I'm not on Fedora).
alfredo

amirgol 07-22-2011 01:30 PM

On Debian/Ubuntu (it's been ages since I last installed a Redhat derivative, but IIRC it's the same there), once you choose the disk to install to, you can choose how to partition it. If there's nothing you wish to keep on the USB stick, you can choose 'use entire disk' and let the installation program repartition it for you. a 4GB memory stick should be more then enough for pretty much every distribution.

yhcheang 07-22-2011 01:45 PM

Run the fedora installation and set your pendrive as target partition, make sure there is a swap partition too. At last, set your grub/lilo config to boot from your pendrive. Next things you do, select boot from pendrive in the bios. Good luck mate:)

casualdislike 07-22-2011 01:49 PM

Thanks for the help I will try it when I get home tonight and let you all know if I have any problems.

andrewthomas 07-22-2011 01:56 PM

If you have a decent amount of RAM in the machines that you are going to use the stick on, I would skip the swap.

Just use a single partition and mount it with the noatime option.

If you have more that 2GB of RAM, you can locate /tmp in RAM.

In /etc/fstab:
Code:

none        /tmp        tmpfs        nodev,nosuid,noatime,size=1000M,mode=1777        0        0
Much more information here:

https://wiki.archlinux.org/index.php..._Read.2FWrites

casualdislike 08-03-2011 11:49 AM

thanks all this realy helped and i got it figured out i bought a 8 gb drive and ubuntu instaled with no problems but i did use all the tricks that you all have taught me to make it work a lot better thanks


All times are GMT -5. The time now is 03:53 AM.