How Come You Can't Install Linux From a USB, Like You Can From A DVD?
Linux - GeneralThis 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
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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by happydog500
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.
Oddly enough most people I see nowadays seem to have installed from USB, so it's obviously not that difficult.
If, rather than just moaning, you mentioned what exactly your issues are then it's likely they could be resolved. One thing which occurs to me now is you haven't bothered to state whether you know how to boot from USB at all -- i's usually not difficult but, also, not as obvious as is made out. Of course, that's not a Linux issue either which is why it didn't occur to me at first.
Chris, I think you might want to run fdisk -l and post the output here. Actually, like this:
Code:
$ sudo fdisk -l /dev/sdd
For example, I ran it here with one of my flash drives plugged in. Of course you would use /dev/sdd instead of /dev/sdb. This particular flash drive I'm looking at already has Linux on it (it has GParted Live on it):
Code:
steve[~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 3.8 GiB, 4041211904 bytes, 7892992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x55157441
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 550911 550912 269M 0 Empty
/dev/sdb2 533532 539795 6264 3.1M ef EFI (FAT-12/16/32)
you say thousands of people in the world have problems. where did you get this data from ?
you say with extreme confidence that booting with usb simply doesnt work ? we know this is not true, we all do it.
I hate cd/dvds, its just fscking toxic non-recyclable plastic crap of this world which just piles up, so I switched to usb booting a long time ago.
But I sure did a lot of googling and reading before attempting to boot from usb.
You say you have 15 years of linux experience and cant get a usb drive to work ? sorry I dont buy that.
Did you check md5sum of iso to verify iso is correct ?
Did you check usb port is working ? Did you enable boot from usb in bios ?
The advantage of usb is you can reuse it , burn to it many times. with cd you make a mistake you have to throw it away, it becomes unusable.
Also your error clearly states a gpt problem with your 32gb pendrive. Did you google / search issues regarding that ?
You can start by telling which OS you are using to burn the iso on the usb, which software etc.
It's an emotional/philosophical issue:
One's 'belief' *'creates'* whatever is 'SO' (for them)
That's the essence of 'reality'. Tons on the web:
"The Secret" (famous philo./book/DVD);
"Science of Mind" (no, not infamous ...tology);
"Power of [Negative] Thinking"; MKS; etc...
I believe I can't write, so I can't [no, almost always, "can't" is a lie: it's "won't"!]
"And SO it IS".
OK, OP: instead of worrying about how you 'burn' a usb, just load easy2boot onto a usb thumb drive.
With EASY2BOOT You copy your ISO into the right folder on the USB, run a script to defragment the USB (because booting from a fragmented ISO generally fails, and when it works it is still very SAD), and there you go. Want to add another ISO, just copy it over and run the script again. When you add the new ISO and run the script, you do not even have to be on the same PC with EASY2BOOT, it lives on the USB device. Elegant, easy, wonderful.
This works for most Linux ISO images, Windows ISO images, FREEDOS (with restrictions), BSD and FreeBSD, but not (so far) with Kolibrios. The EASY2BOOT web pages list tons of ISO images that work some that do not, and many that work but you have to use the right parameters or make the right choice on boot.
BTW: installing Windows from a USB is something of a hoot. Not elegant (it is still windows) but faster than from DVD.
I carry a set of USB drives around at work every day, and am ready to boot offline AV distros, install images, live-CD diagnostic and disk preparation images, rescue images, or whatever I need on short notice.
Life is good. Better if you find the right tool for the job!
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,498
Rep:
Quote:
Originally Posted by happydog500
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)?
To put a distro onto a pendrive, use dd. All distros should now work like that, if not, use isohybrid on the ISO image first, & then dd it to your pendrive. (You only need to do a lot of other things if you try to use another program to load the disk image.)
Likely your problem is the fact that legacy boot isn't active, or the from usb option is not being used in the computers BIOS, & on some you will have to use the BIOS boot menu when starting up.
OK, OP: instead of worrying about how you 'burn' a usb, just load easy2boot onto a usb thumb drive.
With EASY2BOOT You copy your ISO into the right folder on the USB, run a script to defragment the USB (because booting from a fragmented ISO generally fails, and when it works it is still very SAD), and there you go. Want to add another ISO, just copy it over and run the script again. When you add the new ISO and run the script, you do not even have to be on the same PC with EASY2BOOT, it lives on the USB device. Elegant, easy, wonderful.
but not (so far) with Kolibrios.
KolibriOS works both as .ISO and .img file with E2B for me???
Download the ISO to wherever you are working, I recommend doing that already in Linux, and then use the dd command and the drive letter of the USB as the of= argument.
I have never had a problem making a boot-able USB for Linux with the simple exception that I did a bad thing originally such as used a 64-bit image for a 32-bit machine, or something odd to that effect.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by michael diemer
The first time I tried booting from USB, it didn't work. I then partitioned the drive, downloaded to the free 4GB partition, and then it worked.
I'm not sure I understand "Downloaded to a 46G partiton..."? How does one "download" something to a partition in such a way as to make it bootable?
Are you using Plan 9?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.