Linux - NewbieThis 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.
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.
However I would like to try Debian.For that purpose I grabbed the live debian file from here:https://www.debian.org/CD/live/
My problem is that when I try to write the file to a pen drive using the ubuntu disk creator it doesn't recognize the file (debian-live-9.3.0-amd64-cinnamon.iso).
I've never used Ubuntu Disk Creator, but I've never had a problem when using cp or dd to get Debian onto a flash drive -- see: https://www.debian.org/CD/faq/#write-usb.
I've never used Ubuntu Disk Creator, but I've never had a problem when using cp or dd to get Debian onto a flash drive -- see: https://www.debian.org/CD/faq/#write-usb.
Ok I tried this method but no sucess so far.
The ISO file is at: home/hilario/downloads
So the command I have to enter is : cp/home/hilario/downloads/
So the command I have to enter is : cp/home/hilario/downloads/
could you please give me the right command ??
I would go with the dd form of it. However note that you can get into a lot of danger if you enter things incorrectly:
Code:
$ sudo dd if=<source-file> of=<target-path>
<source-file> would likely be /home/hilario/downloads/<filename>.iso
<target-path> would be the USB device name. As an example, if you insert the USB device and it detects is as /dev/sdb, then you use /dev/sdb.
Warnings are that you do have to use sudo, which gives you root privileges, therefore there are no take-backs if there are errors
If you mistype the /dev/sdb, such as it is not really that disk, and your system disk happens to be at /dev/sdb you will destroy your system disk, so be cautious, there are no confirmations y/n for this command.
EDIT: In my original, I forgot to have the if= and of= terms. Those are needed. Sorry for the omission.
Last edited by rtmistler; 02-26-2018 at 10:35 AM.
Reason: Added if= and of= terms, originally omitted.
First of all, make sure the flash drive is unmounted. I'll show you an example of what I've used, but you'll need to edit according to your own situation.
First, I cd into the Downloads directory:
Code:
cd Downloads/
Then:
Code:
sudo cp debian-9.0.0-amd64-netinst.iso /dev/sdb
I hope that helps. You need root access. I wrote down in my notes that it took 11 minutes for that to copy over, but that was the netinstall iso. YMMV.
Last edited by m.a.l.'s pa; 02-26-2018 at 10:22 AM.
Yeah, I like using dd as well. I've been going with cp lately simply because it's mentioned first there in the Debian documentation. I don't know if one is any better than the other, but either way works fine for me. To the OP, definitely take note of what "rtmistler" posted. I like to take a look at the output of the lsblk command to make sure of the device name. Most likely it's /dev/sdb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.