LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-16-2015, 01:17 AM   #1
lanane
Member
 
Registered: Jun 2015
Posts: 45

Rep: Reputation: Disabled
USB Drives For Linux Distros


O.K. I have an OLD laptop with a burnt out HD so I figured I could use it to boot off USB drives for different linux flavors on top of my other one that is dual boot Ubuntu and Win 10

My question is, and I know Kali Live doesn't save data so I'm running it on 16 GB USB drive, but ...

I have read that Linux USB disks need to be formatted with FAT32, at least for UNetBootin. Im sure there are other ways, but I am familiar with UNetBootin.

So that means the largest USB drive I can make is 32 GB on a USB stick. I would like to use at least 64 GB for each Distro I put on USB

Is it possible to install NTFS and run linux off of it using NTFS ? From what i remember and what I have read largest FAT32 is 32 GB

Wondering this before I order a half dozen USB sticks

P.S. I want to save modifications, updates, file downloads, bookmarks, etc on the USB sticks - except Kali of course
 
Old 08-16-2015, 01:19 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Some distro's can be installed onto the USB drive so that as long as your laptop supports it, you can boot to the USB and run a full distribution exactly like it was installed to an internal drive. Depending on how old, your laptop may or may not support that.

Course, you can usually pick up new drives of the ~120-150 GB size for chump change on ebay now, so you could always also use normal live distros, format the internal drive and use it for persistence for the ones that support that also.
 
Old 08-16-2015, 01:28 AM   #3
lanane
Member
 
Registered: Jun 2015
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
Some distro's can be installed onto the USB drive so that as long as your laptop supports it, you can boot to the USB and run a full distribution exactly like it was installed to an internal drive. Depending on how old, your laptop may or may not support that.

Course, you can usually pick up new drives of the ~120-150 GB size for chump change on ebay now, so you could always also use normal live distros, format the internal drive and use it for persistence for the ones that support that also.
I understand that. I could also boot off of a CD Drive if I really want to

However I want to boot strictly off USB sticks, and yes the computer that has the bad HD does support USB booting. It's solid there.

I'm just wondering, because the internal drive is cooked - and I don't care to replace it I want to run off USB only not external drives.


A) Is there any alternative on USB stick formatting too run Linux Distros and save procress without formatting FAT32 ? For larger drives (USB Only) .... There doesn't seem to be on UnetBootin. I get errors when booting. I think 64 GB would be fine more most Distros as I just want to get tastes for them and flip flop, not run one steadily.

B) I do not want to partition one external drive, even a 1 TB or 500 GB drive. I have issues installing 3 Linux distros as a beginner let a lone 5 or 6

Thank you for the help btw

Last edited by lanane; 08-16-2015 at 01:30 AM.
 
Old 08-16-2015, 01:32 AM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by lanane View Post
...
I have read that Linux USB disks need to be formatted with FAT32, at least for UNetBootin. Im sure there are other ways, but I am familiar with UNetBootin.
You can partition and format removable media in all kinds of different file systems. For a workable Linux filesystem, the best is to format in EXT2 (an older, non jounalized file system) or EXT4 (the most common default, journalized file system), however, others may argue this point (everyone has their favorites). I haven't really booted from removable USB media, except to try out Chromium OS, so I can't really answer about UNetBootin...

Quote:
Is it possible to install NTFS and run linux off of it using NTFS ?
No. NTFS doesn't support POSIX permissions. You could TRY it,... But even if you managed to get it to work, it wouldn't work well.

Last edited by JaseP; 08-16-2015 at 01:34 AM.
 
Old 08-16-2015, 01:37 AM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
There are some live distro's that support persistence on their media (such as puppy). However, I can't be of much help, because I use only dd for writing usb drives, I won't use unetbootin myself, doubly since it's been removed from debians repos other than sid. Good luck though!

Last edited by Timothy Miller; 08-16-2015 at 01:38 AM.
 
Old 08-16-2015, 02:04 AM   #6
lanane
Member
 
Registered: Jun 2015
Posts: 45

Original Poster
Rep: Reputation: Disabled
OK, Thanks Guys ...

I'll try EXT2 on a 16 GB drive that won't load Kali Live on anything but FAT32 and see what happens for starters.

Anyone with more information I would REALLY appreciate it ...

BTW what is max EXT2 Disk Size to Format ?
 
Old 08-16-2015, 02:19 AM   #7
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
EXT2 max volume size is 32 TiB,... Big enough for you...
 
Old 08-16-2015, 03:35 AM   #8
lanane
Member
 
Registered: Jun 2015
Posts: 45

Original Poster
Rep: Reputation: Disabled
TB u mean ? Like TeraBytes ? Damn ! That will work !

Do u know I'f it boots from unetbootin or alternative source ?

If so, I'm set ... Thanks !
 
Old 08-16-2015, 04:32 AM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505

Rep: Reputation: Disabled
Why not just install your choice of distro onto your pendrives(?).

They will act just the same as an internal hard drive, except that access will be a little bit slower.
(I regularly do, & I use ext4, no problem.)
 
Old 08-16-2015, 05:53 AM   #10
lanane
Member
 
Registered: Jun 2015
Posts: 45

Original Poster
Rep: Reputation: Disabled
I thought Pen Drives were USB sticks ?

If they are external HDD I don't want to go that way ... Access time aside, must preference

If I cared about access time that much Imwould buy a SSD and partition it correctly. USB read/write times of 300 Mbps is fine by me
 
Old 08-17-2015, 06:02 AM   #11
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505

Rep: Reputation: Disabled
Quote:
I thought Pen Drives were USB sticks ?
Yep, same thing, (also called thumb drives by some).

What I was trying to convey is that you can just install any distro to a pendrive, just like to an internal hard drive.
If you use a 'live' system on a pendrive, you then have the problem of having to create & set up persistence so that you can save your settings & files.

 
Old 08-17-2015, 09:03 AM   #12
lanane
Member
 
Registered: Jun 2015
Posts: 45

Original Poster
Rep: Reputation: Disabled
Thanks !

Kali I see the reason to run Live ...

But on other distros do you have to run Live on USB or can you do fill installs to the drives ?

I'd like to do full installs obviously to save files, updates, modifications, bookmarks, etc ...
 
Old 08-17-2015, 09:14 AM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
The 32GB limit for FAT32 partitions is an artificial one that windows imposes on itself. You can format it larger than 32GB as FAT32 under linux and that's nothing new. But you don't need to unless you're doing some sort of UEFI setup, which you probably are NOT on older hardware.

Just think of usb sticks as harddrives. Although they tend to be horridly slow, so I tend to use a USB card reader and an SDHC card. But not all readers are bootable, so YMMV. And SDHC cards have limited writes so expect them to fail at least once a year in a mostly unrecoverable way. I also have a couple USB HDDs for when I want to run an external linux install for a longer duration. Otherwise all the usual install methods apply. One advantage of external drives is that you can do installs on OTHER machines, and then boot them on the destination machine.

The only caveat I can think of is if your machine is old enough (pre-2006) to not support booting USB at all. Although you can chainload the grub on the USB device from a CDROM grub disc if that's the case. Many means to an end.
 
Old 08-17-2015, 10:26 AM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
There are two ways to install Linux on a USB drive (be it a thumb/flash/pen drive or an external usb hard drive).

1) Use dd, unetbootin, YUMI, or some other tool to write a live ISO to the drive.

2) Use a separate boot device to run a linux installer to actually install linux to the drive.

#1 is easier and faster, but very limited. You usually don't get persistence, and even when you do it's easily corrupted, filesystem types are often limited, etc.

#2 gets you a full linux installation with a regular filesystem, but it means you need a separate boot drive and you need to run through the linux installation process, which takes time and knowledge to not screw things up. #2 actually requires #1 as well. You use #1 to write the installation dvd to USB drive A, boot that, then use the installer to install linux onto USB drive B.
 
Old 08-17-2015, 10:27 AM   #15
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by Shadow_7 View Post
Just think of usb sticks as harddrives. Although they tend to be horridly slow, so I tend to use a USB card reader and an SDHC card.
I'm not sure what you mean. The USB stick is only slow if you purchase a crappy slow one. Same goes for SDHC cards. There are plenty of USB sticks that have upwards of 200 MB/s read/write speeds. I have two sitting on my desk right now. Of course you won't get those speeds on a USB 2.0 port, but you won't get any faster than 40 MB/s with an SDHC card and USB reader either on a USB 2.0 port.

Last edited by suicidaleggroll; 08-17-2015 at 10:33 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: USB 2.0 vs. USB 3.0 Flash Drives On Linux LXer Syndicated Linux News 0 03-04-2013 11:50 PM
Booting Windows and Linux distros separately; from master & slave drives Mr. ameya sathe Linux - Hardware 9 08-20-2009 01:39 AM
Boot from separate distros of Linux on sep hard drives lluciano Linux - General 4 05-10-2006 04:42 AM
multiple booting two hard drives with linux distros slim case Linux - Newbie 3 07-04-2005 09:02 PM
booting win2k and two Linux distros on two hard drives mjp Linux - General 3 01-01-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration