Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Details on making a bootable usb stick (RESOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Thu Jan 23, 2020 9:02 pm    Post subject: Details on making a bootable usb stick (RESOLVED) Reply with quote

I'm having trouble making a usb stick that will boot. Perhaps answers to these questions will help.
1. Do I need to use fdisk to setup the partition, and if so what is the type to use for the partition? And do I need to make that partition bootable?
2. Do I need to run mkfs.??? /dev/sdc1 and if so what to use for ???.
3. Is the last needed step to run dd if=/f/Downloads/install-amd64-minimal-20200122T214502Z.iso of=/dev/sdc1 bs=8192k

(Note, that install file is located where referenced, and df with /mnt/flash mounted shows the usb stick at /dev/sdc1.)

And if I'm having trouble should I download the iso for the minimal install?
Many thanks,
Fred


Last edited by Fred Krogh on Fri Jan 24, 2020 12:53 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7686
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 23, 2020 9:55 pm    Post subject: Reply with quote

Code:
dd if=/f/Downloads/install-amd64-minimal-20200122T214502Z.iso of=/dev/sdc bs=8192k


This is the only step required, unless you are building a stick with multiple boot images. And there is no need to mount it.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Fri Jan 24, 2020 12:12 am    Post subject: Reply with quote

What you suggest is very much what I had tried in the past. I gave it another try by removing all partitions on the usb stick (using fdisk). and using dd as mentioned. The BIOS does not recognize the resulting usb stick as being bootable. So I'm looking for more insight.
In the meantime my computer gets to the logon screen, and after typing in the pass word does nothing. My displaymanager is lightdm. I can get into X by using startx from a console. I've just emerged lightdm, and will see what happens when I reboot.
My main interest is to find someway to make this usb stick bootable. Any more ideas? Thanks,
Fred
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7686
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 24, 2020 12:22 am    Post subject: Reply with quote

You do not need to remove partitions, the partition table will be overwritten. Everything you had there will be lost. You sure you put the image to sdc, not sdc1 ?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Fri Jan 24, 2020 12:30 am    Post subject: Reply with quote

I tried it both ways with sdc1 and the last time with just sdc. Not sure which is correct. Thanks,
Fred
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7686
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 24, 2020 12:37 am    Post subject: Reply with quote

The command I gave you is correct, if it still does not boot then the image you are using is not USB bootable or your computer is not set up to boot from USB. To make image USB bootable you can execute
Code:
isohybrid -u /path/to/iso

although I don't think it is required, all Linux images nowadays are already made USB bootable. (The -u switch makes it UEFI compatible.)
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Fri Jan 24, 2020 12:52 am    Post subject: Reply with quote

I don't know what I have done that is different than things tried before, but I seem to have a bootable system on my usb stick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum