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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-01-2017, 08:24 AM
|
#1
|
LQ Newbie
Registered: Oct 2015
Location: Switzerland
Distribution: Debian or Debian based
Posts: 3
Rep:
|
Installation (No live) on USB drive
Hi all,
I'd like to install a distro on a bootable USB 3.0 pendrive, possibly legacy and UEFI comaptible.
All tutorials I have found make use of tools that are a graphical replacement of dd command. They create a live distro.
I need a full installation with the possibility to update, install programs and so on.
Any idea?
|
|
|
06-01-2017, 08:33 AM
|
#2
|
Member
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 73
Rep:
|
I've done this before, boot from a CD/DVD install disk and install directly to a USB. Some distribution installers won't allow you to install directly to a USB.
Some distributions allow you to make a persistent partition on the USB so the "live" USB can install updates and store data on the USB. The system merges the persistent directories of the partition with the static directories of the primary partition upon reboot.
If I can locate the steps to do this and which distributions allow direct install to USB I'll post an update.
|
|
|
06-01-2017, 09:36 AM
|
#3
|
Member
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 73
Rep:
|
Ubuntu allows creation of live persistent and bootable linux USBs.
I changed to Debian because I didn't like Ubuntu removing software from the installs on update, and automatically removing same from my system during the update without notifying me. The last time was when they replaced OpenOffice with LibreOffice. My office suite disappeared and I had to manually install LibraOffice after the update. I don't mind LibraOffice, but prefer to know what is going to be deleted before it's gone.
Ubuntu uses the Unity display interface by default which was a little difficult to adjust to, but it works well.
|
|
|
06-01-2017, 12:36 PM
|
#4
|
LQ Newbie
Registered: Oct 2015
Location: Switzerland
Distribution: Debian or Debian based
Posts: 3
Original Poster
Rep:
|
Thanks for your replies so far.
I do not mind if someone will post me a DIY tutorial that shows how to manage GRUB, fstab and all this kind of stuff that are somehow related with the boot process.
|
|
|
06-01-2017, 01:11 PM
|
#5
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
To install to a USB drive just select that drive from the installer. It may show up as a "hard disk drive" but it is usually very simple to install to any kind of "USB Mass Storage" device -- it's a standard even MS adheres to.
|
|
|
06-01-2017, 03:34 PM
|
#6
|
Member
Registered: Jul 2013
Posts: 749
Rep:
|
I recently installed Fedora 25 to a usb stick. First, I booted a Fedora live usb, and after it was booted, inserted the target usb stick, from the live fedora desktop there is a "install to hard drive" option to start the full Fedora installer. I was careful to select the correct usb target for the installer, and proceeded with a normal installation without any issues.
I haven't figured out how to make a hybrid boot though. I installed from a UEFI boot and the new usb system only boots UEFI.
If you install Fedora from a live usb system, you need to boot that live system in whichever boot mode you desire the target to use (UEFI or MBR).
|
|
|
06-01-2017, 04:35 PM
|
#7
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Just install the distro like a normal install, but when you come to partitioning, manually partition the USB drive, and mark everything else "Do Not Use". Then the installer will know to only use the USB drive. When Grub installs, tell it to install to the USB drive.
|
|
|
06-03-2017, 01:04 PM
|
#8
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,654
Rep:
|
Yep, just install it onto your USB3 as if it were a hard disk, which it is in effect, it's as simple as that.
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|