LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03:03 AM   #1
jaydul
Member
 
Registered: Sep 2012
Posts: 69

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, 03: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, 03:45 AM   #3
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

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

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, 04:23 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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, 05:57 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

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 05:58 AM.
 
Old 04-13-2015, 03:03 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
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 03:05 PM.
 
Old 04-13-2015, 03: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 04:01 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 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
Open Source Consulting | Domain Registration