LinuxQuestions.org
Review your favorite Linux distribution.
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 02-26-2018, 04:40 AM   #1
hilfer
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Rep: Reputation: 0
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 ??
 
Old 02-26-2018, 08:33 AM   #2
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
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.
 
Old 02-26-2018, 08:34 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Try the easy way: http://www.asclinux.com/usbstick.html
 
Old 02-26-2018, 10:06 AM   #4
hilfer
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by m.a.l.'s pa View Post
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 ??
 
Old 02-26-2018, 10:12 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by hilfer View Post
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.

Last edited by rtmistler; 02-26-2018 at 10:35 AM. Reason: Added if= and of= terms, originally omitted.
 
Old 02-26-2018, 10:19 AM   #6
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
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.
 
Old 02-26-2018, 10:33 AM   #7
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by rtmistler View Post
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.
 
Old 02-26-2018, 11:14 AM   #8
hilfer
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Ok I didi it with Cp command.

Thank you all
 
  


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
missing firestarter on debian test pan64 Linux - Networking 2 01-07-2015 12:10 AM
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM
[SOLVED] Silencing the line "echo test > test/test.txt" in a shell script Arenlor Linux - General 2 06-18-2010 01:37 PM
Why my debian test can't find my network card any more? bloor Linux - Hardware 1 05-25-2004 05:40 AM

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

All times are GMT -5. The time now is 03:08 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