LinuxQuestions.org
Visit Jeremy's Blog.
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 06-01-2017, 08:24 AM   #1
x3me
LQ Newbie
 
Registered: Oct 2015
Location: Switzerland
Distribution: Debian or Debian based
Posts: 3

Rep: Reputation: Disabled
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?
 
Old 06-01-2017, 08:33 AM   #2
rdgreenlaw
Member
 
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 73

Rep: Reputation: 18
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.
 
Old 06-01-2017, 09:36 AM   #3
rdgreenlaw
Member
 
Registered: May 2007
Location: Newport, Maine, USA
Distribution: Debian 8.7
Posts: 73

Rep: Reputation: 18
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.
 
Old 06-01-2017, 12:36 PM   #4
x3me
LQ Newbie
 
Registered: Oct 2015
Location: Switzerland
Distribution: Debian or Debian based
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-01-2017, 01:11 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 06-01-2017, 03:34 PM   #6
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
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).
 
Old 06-01-2017, 04:35 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 06-03-2017, 01:04 PM   #8
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,487

Rep: Reputation: Disabled
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.
 
  


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: Create a Bootable Live USB Thumb Drive or Rescue Drive Using UNetbootin LXer Syndicated Linux News 0 08-06-2012 03:10 AM
[SOLVED] Is there difference between a Live USB and a installation to a USB ChiVampir Puppy 1 06-11-2010 12:15 PM
Making Live USB from an Installation Nabeel Ubuntu 4 04-21-2010 02:21 AM
Which USB Drive should I use for Linux Live USB? markw10 Linux - Hardware 3 11-01-2009 04:07 AM
How to use Live CD with USB flash drive? Cathinfo Mandriva 1 12-30-2006 11:10 PM

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

All times are GMT -5. The time now is 08:31 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