LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-08-2016, 11:10 PM   #1
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Rep: Reputation: 5
How Come You Can't Install Linux From a USB, Like You Can From A DVD?


I see two ways to install Linux listed. Install from a CD, or a USB. When you install Linux from a CD, you DL the iso, burn it to a CD. Done. That CD will boot up, install or run a Live OS.

With a USB, you'd think you would DL the iso to a USB, done. That CD will not boot up, install or run a Live OS.

That made me curious, how come you can't boot up a USB like you can a CD?

I see instructions for USB that you have to DL one of four different programs, go through unclear, a lot of times doesn't work, procedures.

I've never had a distro that after you put it on a CD, you have to do a bunch more stuff to make it work. One distro has 12 to 17 things you have to do to make the USB work.

I'm asking because I've fixed computers all over town for 22 years, used Linux off and on for 15, and I can't get a USB to work. CD's work every time.

Question; How come you can put an iso on a CD, and it will boot right up, but on a USB, you can't (because you have to do a bunch of stuff after to make it work)?
 
Old 10-08-2016, 11:53 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
How Come You Can't Install Linux From a USB, Like You Can From A DVD?

You can.
 
1 members found this post helpful.
Old 10-08-2016, 11:55 PM   #3
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
Hmmm, I burn the iso to the USB stick using the dd command. Then I may have to tell the bios to boot from usb
 
Old 10-09-2016, 12:04 AM   #4
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
I can't remember the last time I used an optical drive for installing linux...maybe 6 years ago? Nothing but USB for a long time now.
 
Old 10-09-2016, 05:55 AM   #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
Simply put Windows allows one to write a .iso image to a CD or DVD which will create a bootable filesystem. However, Windows does not provide a way of putting that same image onto a USB stick to create a filesystem. Linux does provide that in the shape of dd or, my preferred choice, dcfldd. Under Windows you need a tool like unetbootin top do the same.
So, the issue is a Windows one not a Linux one.
 
Old 10-09-2016, 08:11 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,678
Blog Entries: 4

Rep: Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946
No, you can install Win-doze from a stick, too. (But, who would want to?)
 
1 members found this post helpful.
Old 10-09-2016, 09:23 AM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,143
Blog Entries: 21

Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Listen to yourself

Quote:
burn it to a CD.
Quote:
you'd think you would DL the iso to a USB, done.
You left out the burn to usb part in your head. Crap like that happens to me sometimes also. I blame it on moonshine.

Quote:
Question; How come you can put an iso on a CD, and it will boot right up, but on a USB, you can't (because you have to do a bunch of stuff after to make it work)?
Because you have not learned how yet. I am guessing you have a Windows 10 computer because you say so in your profile so.

https://www.youtube.com/watch?v=cQfCvoAEY7w

Using dd. Previously mentioned. Requires a linux box and since you sound green to me. Kinda dangerous for a green user. So having said that. Good luck with it.

https://www.youtube.com/watch?v=74A6pVrv0CA

I know you say you have been using linux 15 years. Longer than I have been using Linux. Just letting you know a hybrid iso is required for dd to work. Most isos are hybrids now, but it does not hurt to make sure before you begin.

Last edited by rokytnji; 10-09-2016 at 09:27 AM.
 
Old 10-09-2016, 09:40 AM   #8
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,783

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Many Linux distributions are downloaded as a hybrid ISO format which can be burned to a CD/DVD or simply copied to a USB flash drive with "dd". Those which are not in that hybrid format need additional steps to make a bootable USB drive. I've never looked into what the issues might be that keep the hybrid format from being more universal.
 
Old 10-09-2016, 09:55 PM   #9
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Fedora and Centos use hybrid ISO's, simply dd to the target device and you're done. In addition, the resulting usb will boot on either legacy or uefi and uefi+secure mode. Just today I was installing Fedora 24 on a recently obtained older Dell laptop. D/L the iso. On another machine dd the iso to the usb flash drive. On the laptop, activate the computer boot menu and there is a choice to boot the usb drive in both the legacy section and the uefi section of the computer's boot menu.
 
Old 10-09-2016, 11:24 PM   #10
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by rkelsen View Post
You can.
No, sorry. I tried to do it in Linux Mint. Salix lists a long list on what has to be done. DVD's do not have a long list of what you have to do to make a DVD work.

Since it didn't work, I tried using UNetbootin. I put the distro I wanted in the box, clicked to start. Noting happened. I unmounted the USB, took it out, closed the program. When I plugged the USB back in, empty, and my computer doesn't recognize it.

I can see it in "Discs" from the 'start' menu, but nothing happens when I insert it into the USB slot. After all this, I tried it in Windows 10. Wish I could install Linux distros with USB. I hate having all these DVD's around.

Thank you for the help,

Chris.

Last edited by happydog500; 10-09-2016 at 11:41 PM.
 
Old 10-10-2016, 02:41 PM   #11
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
I recently successfully installed Ubuntu Mate using a USB and Unebootin. Unfortunately, I can't remember exactly what I did, and am now trying to figure it out, as I'm down to my last DVD. But anyway, it can definitely be done. I used a tutorial I found. Maybe you should Google a bit, I'm sure the answer is out there.
 
Old 10-10-2016, 03:32 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,005

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Exactly what iso are you wanting to install to a USB? Then we can help you.

Aside for the complexity of writing the image to a usb, the issue I find most often is how one boots to the usb flash or hard drive. The newest getting more common way is that you have a uefi bios and there are issues there. A DVD seems to be more easily seen as a uefi boot device on some systems.

Almost every distro can run from a usb. Rufus, live creator, and Unetbootin are helpful.

Using the distro's help pages on how to create a usb is also a good start.

Last edited by jefro; 10-10-2016 at 03:38 PM.
 
Old 10-10-2016, 08:06 PM   #13
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by jefro View Post
Exactly what iso are you wanting to install to a USB? Then we can help you.

Aside for the complexity of writing the image to a usb, the issue I find most often is how one boots to the usb flash or hard drive. The newest getting more common way is that you have a uefi bios and there are issues there. A DVD seems to be more easily seen as a uefi boot device on some systems.

Almost every distro can run from a usb. Rufus, live creator, and Unetbootin are helpful.

Using the distro's help pages on how to create a usb is also a good start.
1 to many to list.
2 Distros help page is worthless. that's why thousands of people all over the world are having problems. It doesn't work. Very few DVD problems. That is a wonder.
3 Every distro can't run from my usb. It's not even recognized by my computer now.

Chris.
 
Old 10-10-2016, 09:10 PM   #14
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
I do all of my Linux installations from flash drives these days. It's a fairly routine process once you know what to do.

Do you have more than one flash drive that you can try to use for an installation?

If you've got a Linux system installed, maybe plug in the flash drive, run lsblk, and post the output here, then at least folks here will have something to work with to start helping you.

You can use the lsblk command to find out the name of your flash drive. If I plug in a flash drive here (using Ubuntu 16.04 at the moment) and run lsblk, I see the following:

Code:
steve[~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0  24.4G  0 part /
├─sda3   8:3    0  14.7G  0 part [SWAP]
├─sda4   8:4    0  24.4G  0 part /home
├─sda5   8:5    0  48.8G  0 part /media/sda5
└─sda6   8:6    0  48.8G  0 part /media/sda6
sdb      8:16   1  15.2G  0 disk 
└─sdb1   8:17   1  15.2G  0 part /media/steve/USB20FD
sr0     11:0    1  1024M  0 rom  
steve[~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0  24.4G  0 part /
├─sda3   8:3    0  14.7G  0 part [SWAP]
├─sda4   8:4    0  24.4G  0 part /home
├─sda5   8:5    0  48.8G  0 part /media/sda5
└─sda6   8:6    0  48.8G  0 part /media/sda6
sdb      8:16   1  15.2G  0 disk 
└─sdb1   8:17   1  15.2G  0 part 
sr0     11:0    1  1024M  0 rom  
steve[~]$
In this example, the flash drive is sdb and the partition on it is sdb1. The first run of lsblk is with the flash drive mounted; the second run is with the flash drive unmounted.

I want to know the name of the flash drive because I like to use the dd command to copy the .iso to the flash drive. I've used unetbootin many times in the past, but unetbootin doesn't always work. In my experience, dd always works.

I don't know how to help you if you're only using Windows because I haven't used Windows at home in years, and anyway I've forgotten a lot. But since you say you are able to install Linux from a CD or DVD, maybe do that, then use the Linux system to create your future Linux installation flash drives. I think it's probably a lot easier to use Linux for that.
 
Old 10-11-2016, 12:14 AM   #15
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
Using Linux. Got this with my 32GB USB Plugged in;

Code:
~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0  55.9G  0 disk 
├─sda1   8:1    0  48.4G  0 part /
├─sda2   8:2    0     1K  0 part 
└─sda5   8:5    0   7.5G  0 part [SWAP]
sdb      8:16   0 111.8G  0 disk 
├─sdb1   8:17   0   500M  0 part 
└─sdb2   8:18   0 111.3G  0 part 
sdc      8:32   0 298.1G  0 disk 
└─sdc1   8:33   0 298.1G  0 part 
sdd      8:48   1  29.8G  0 disk 
sr0     11:0    1     2K  0 rom
I bought this new USB drive just to put Linux on it. When I tried to format it to Fat, I got this;

Error creating partition on /dev/sdd: Command-line `parted --align optimal --script "/dev/sdd" "mkpart " " ext2 1MiB 32010911231b"' exited with non-zero exit status 1: Warning: Not all of the space available to /dev/sdd appears to be used, you can fix the GPT to use all of the space (an extra 58509312 blocks) or continue with the current setting?
Error: You requested a partition from 1049kB to 32.0GB.
The closest location we can manage is 17.4kB to 2054MB.
(udisks-error-quark, 0)


Thank you for the reply,

Chris.

Last edited by happydog500; 10-11-2016 at 12:27 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux won't boot from USB/DVD or install davidtrickett Linux - Newbie 22 10-20-2015 03:43 PM
Linux won't bootfrom USB/DVD or install davidtrickett Linux - Newbie 2 10-14-2015 08:46 AM
how install fedora with no CD no DVD? Ican use an USB or Network CD/DVD hectorquela Linux - Newbie 2 03-07-2011 04:28 PM
Usb Dvd Burner Install Mount Linux Problem - Help Needed Cpt|Kirk Linux - Hardware 1 04-16-2006 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:28 AM.

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