Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I don't know if I should post this, but sounds like a good place for it; also, I looked for it, didn't find the answer I found, so here goes.
I'm trying to install Backtrack (yeah, whatever) on a USB. I've used UNetBootin to run it like a live CD, but I want the OS installed on the USB drive. I don't know if I should change it from FAT32 to a EXT2. I read somewhere, but can't find the thread anymore that says ext4 or ext2 on a usb isn't a good idea.
Sounds like nor ext2 or ext4 is a good idea, although ext2 is safer, but as suggested in one of the answers, running fstab every week etc.
I don't know what to do, do you suggest running the OS as a live CD with UNetBootin? Or does UNetBootin have an option to actually INSTALL the OS on the USB?
I'm using VirtualBox, running the .iso of BT5, and plugging in my USB, deciding weather to format FAT32 to ext2, installing BT5 on the drive.
So in summary, is it safe to format FAT32 to ext2 and install linux? OR keep it as a live CD-like boot with UNetBootin?
What do you guys suggest?
Last edited by Death.System; 01-09-2013 at 05:41 PM.
ext2 (or any other) does not work well in my experience because of file ownership issues. fatXX gives all the files to the user who mounts the file system (well, depending on the mount options). extX give the ownership to the original owners. So if you move with such a stick between owners, you may discover that files are owned by user 500 or 1004 or another user on your computer, whoever happens to have the same id. If you keep it in the same computer, then it should be OK. (maybe I miss something, but this is my experience.)
unetbootin installs distro on usb stick. It acts as an additional harddisk for your computer, onto which the distro is installed.
I would use ext4 with the 'noatime' flag, personally, for a full install to USB (as opposed to a Live USB situation). I do not know anything about the Backtrack installer, sorry. For a distribution such as Ubuntu you would just use the regular Ubiquity installer for this purpose.
The drawbacks of a full USB installation (in comparison to a regular hard drive install) will be slower performance and, possibly, shorter lifespan of the USB medium.
For external USB hard drives, ext3 or ext4 are best. For usb thumb drives, use ext2 and use the noatime mount option.
Ext3 and ext4 use journaling which increase robustness of the filesystem, but also the number of writes for thumb drives.
Fat32 is a terrible filesystem for Linux because it doesn't support Linux ownership or permissions. The ownership and permissions are determined for the entire filesystem in the mount options.
For an external usb drive with a physical hard drive, you can simply install as if you were installing it to disk. Just be careful were grub is installed to. The easiest way is to install grub to the MBR of the external drive, and use the fast boot menu of your computer to boot from the usbdrive instead.
While I agree with jschiwal's excellent advice, the advantage of a journaling filesystem like ext4 for this purpose is better recovery if there is unexpected power loss, the laptop's batter runs down, the USB drive is accidentally knocked out of the port, etc.
Yes, the flash drive will wear out eventually (years, probably), but I wouldn't worry too much about the lifespan of a device that costs less than $10, so long as you have good backups (which you should anyways---a thumb drive is easy to lose).
nope, in order to contain an MBR, it must be fat. the other partition can be any format it matters not.
Even when creating a Live bootable USB you must create a dos bootable partition first, then you can split the rest into what ever file system type you desire. ext2,3,4,riser, etc...
i'm not saying your wrong but my experience is that you can create a single ext2 partition, install something like fedora-live on it then boot from it (without first needing to create a fat32 partition then chain-booting it).
The first partition begins either on block 63 or 2048.
Just for clarification, this is just a convention, no necessity. There is no technical reason that would stop you from starting the first partition at sector 1024 or sector 2657, apart from possible alignment problems. But of course most of the time it is a good idea to use the standard options.