LinuxQuestions.org
Help answer threads with 0 replies.
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 02-08-2016, 02:31 PM   #1
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 142

Rep: Reputation: 15
creating USB bootable stick


I am using:
dd if=/home/parents/Downloads/1.iso of=/dev/sdb1
command to create a bootable installation USB stick

i tried different USB sticks (new ones and old ones) however only one of them is seen by the computer at boot time and I am able to install from it but the other ones even though it says they were successfully created they don't show on boot BIOS menu as the one that boots. I checked on LINUX and compared the one that works with the one that doesn't work with "Disk" utility from debian and the one big difference I notice is the stick that boots properly has 3 partitions on it comparing with the other ones who have only one (why is it that since I use same command?). Is that the reason the computer doesn't boot from it? What can I do to make all USB stick I have bootables?
 
Old 02-08-2016, 02:33 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
It will not boot because instead of putting the ISO on device you are writing it to a partition.
 
Old 02-08-2016, 02:34 PM   #3
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 142

Original Poster
Rep: Reputation: 15
so what should I do?
 
Old 02-08-2016, 02:35 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
This is likely an issue with the machine rather than the USB stick.

Also, you might want to make sure there aren't any other partitions on the stick. You should be running the dd command on the raw device rather than an existing partition.

dd if=/path/to/iso of=/dev/sdX

Where X in sdX is the flash drive device, in your case, it was sdb.
 
Old 02-08-2016, 02:35 PM   #5
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 142

Original Poster
Rep: Reputation: 15
why it works on one stick and not the other? what kind of partitioning i should use?
 
Old 02-08-2016, 02:58 PM   #6
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 142

Original Poster
Rep: Reputation: 15
thank you so much. It worked (and it was so simple ... just remove the number 1 at the end)
 
Old 02-08-2016, 11:22 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,658

Rep: Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257
Thanks for the update and solution.

Many many ways exist to make a usb but all tend to require some special iso or image to begin with.

Tools like dd, and 7z and programs like Rufus may help. Some may need creators (programs) to make a usb bootable.

Haven't seen it in a while but you used to have to force some usb's to become bootable.
 
Old 02-09-2016, 06:34 AM   #8
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.1 MATE
Posts: 1,850

Rep: Reputation: 591Reputation: 591Reputation: 591Reputation: 591Reputation: 591Reputation: 591
Just to add it to the mix, for a GUI solution to creating bootable USB drives, I use the following programs:

Linux - UNetbootin

Windows - Rufus
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bootable USB Stick Creating Program in Xubuntu? Novatian Linux - Software 6 07-21-2013 05:02 PM
Mounting a bootable USB stick makes the stick non-bootable PeterSteele Red Hat 6 03-15-2013 02:44 PM
GRUB: Booting from USB; Creating the Ultimate Bootable USB Stick Jinouchi Linux - Software 2 04-07-2010 05:17 PM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 10:18 PM
creating a bootable WinXP USB stick in Fedora 10 manuleka Linux - Software 1 05-17-2009 11:47 PM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration