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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-13-2015, 04:03 AM
|
#1
|
Member
Registered: Sep 2012
Posts: 69
Rep:
|
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
|
|
|
04-13-2015, 04:45 AM
|
#3
|
Senior Member
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240
Rep:
|
I agree, and moreover, unmount your usb stick before you do it.
|
|
|
04-13-2015, 04:58 AM
|
#4
|
Member
Registered: Sep 2012
Posts: 69
Original Poster
Rep:
|
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
|
|
|
|
04-13-2015, 05:23 AM
|
#5
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,447
|
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.
|
|
|
04-13-2015, 06:57 AM
|
#6
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep:
|
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.
|
|
|
04-13-2015, 04:03 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,233
|
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.
|
|
|
04-13-2015, 04:59 PM
|
#8
|
LQ Newbie
Registered: Apr 2015
Posts: 5
Rep:
|
@ 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.
|
|
|
All times are GMT -5. The time now is 06:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|