LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-13-2015, 04:03 AM   #1
jaydul
Member
 
Registered: Sep 2012
Posts: 48

Rep: Reputation: Disabled
Question How-to make a bootable USB stick using DD


Hello
I want to make CentOS-7 ISO to my pen drive.I had try this now But it not woks How to make pen drive as boot CD for centOS 7 I m using now Red Hat 6.

PHP Code:
dd if=CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdb1 
PHP Code:
/dev/sda1               495844     30604    439640   7% /boot
/dev/mapper/vg_tuhin-lv_home
                     251551508   8620468 230152956   4
% /home
/dev/sdb1              4209322   4209322         0 100% /media/CentOS 7 x86_64 
 
Old 04-13-2015, 04:17 AM   #2
onlyesterday16
LQ Newbie
 
Registered: Dec 2014
Distribution: Fedora
Posts: 9

Rep: Reputation: Disabled
try of=/dev/sdb not /dev/sdb1.

or use syslinux:
http://askubuntu.com/questions/37260...-from-terminal
hope this helps
 
Old 04-13-2015, 04:45 AM   #3
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 6.7, 7
Posts: 514

Rep: Reputation: 48
I agree, and moreover, unmount your usb stick before you do it.
 
Old 04-13-2015, 04:58 AM   #4
jaydul
Member
 
Registered: Sep 2012
Posts: 48

Original Poster
Rep: Reputation: Disabled
Hello I had try it
Code:
sudo dd if=/root/Downloads/CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdc bs=1M
Quote:
Originally Posted by onlyesterday16 View Post
try of=/dev/sdb not /dev/sdb1.

or use syslinux:
http://askubuntu.com/questions/37260...-from-terminal
hope this helps
 
Old 04-13-2015, 05:23 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,129

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
I do not know that iso, but probably that simply does not work, cannot boot it from usb. It depends on the content of the iso.
Anyway: /dev/sdc may work, /dev/sdc1 will never work.
 
Old 04-13-2015, 06:57 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Try this:
Code:
isohybrid /root/Downloads/CentOS-7-x86_64-DVD-1503-01.iso
then:
Code:
dd if=/root/Downloads/CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdc bs=1M
http://www.syslinux.org/wiki/index.php/Isohybrid

Last edited by brianL; 04-13-2015 at 06:58 AM.
 
Old 04-13-2015, 04:03 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,388

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
http://wiki.centos.org/HowTos/InstallFromUSBkey Would work if you wanted to use install from usb.

If you simply want to have centos on a usb then I tend to use a virtual machine without a virtual hard drive. Then take the install iso and boot to it in the vm. Attach usb and install to the usb.

Last edited by jefro; 04-13-2015 at 04:05 PM.
 
Old 04-13-2015, 04:59 PM   #8
Hactar
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Rep: Reputation: Disabled
@ jaydul

Goto http://www.pendrivelinux.com/ and scroll down and click on any of the tabs to learn how to make a bootable usb drive using software either in inux or in windows.

Last edited by Hactar; 04-13-2015 at 05:01 PM.
 
  


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
Mounting a bootable USB stick makes the stick non-bootable PeterSteele Red Hat 6 03-15-2013 02:44 PM
What the hell is a bootable ISO and a bootable USB-stick? duplex Linux - Software 15 11-23-2012 09:00 PM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 10:18 PM
How to make USB stick bootable? depam Linux - Software 3 12-31-2006 12:22 PM
make a USB stick bootable lothario Linux - Software 1 07-13-2006 02:02 PM


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