LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to test debian (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-test-debian-4175624474/)

hilfer 02-26-2018 04:40 AM

trying to test debian
 
Hi :

I'm running ubuntu 17.10 on my PC.

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).

What am I doing wrong ??

m.a.l.'s pa 02-26-2018 08:33 AM

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.

Emerson 02-26-2018 08:34 AM

Try the easy way: http://www.asclinux.com/usbstick.html

hilfer 02-26-2018 10:06 AM

Quote:

Originally Posted by m.a.l.'s pa (Post 5824429)
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/


could you please give me the right command ??

rtmistler 02-26-2018 10:12 AM

Quote:

Originally Posted by hilfer (Post 5824483)
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/


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.

m.a.l.'s pa 02-26-2018 10:19 AM

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.

m.a.l.'s pa 02-26-2018 10:33 AM

Quote:

Originally Posted by rtmistler (Post 5824485)
I would go with the dd form of it.

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.

hilfer 02-26-2018 11:14 AM

Ok I didi it with Cp command.

Thank you all


All times are GMT -5. The time now is 02:47 PM.