LinuxQuestions.org
Review your favorite Linux distribution.
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 12-18-2015, 09:33 PM   #1
siery
Member
 
Registered: Dec 2015
Posts: 31

Rep: Reputation: Disabled
Question dd overwrites file format


Hey!

I have trouble making bootable usb stick with Debian 8.2. So the problem is that when i run:
dd bs=4M if=/tmp/iso/debian-8.2.iso of=/dev/sdc1,
is overwriting the whole partition so gparted returns me "unknown file format" and whole partition is an iso but files are expanded when i open this directory.
What am i doing wrang ? Did someone had that problem before?

Ps. Im working on Debian Live for now.
 
Old 12-18-2015, 09:44 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,534

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Write it to the device node, not the partition
Code:
dd bs=4M if=/tmp/iso/debian-8.2.iso of=/dev/sdc
 
1 members found this post helpful.
Old 12-18-2015, 10:22 PM   #3
siery
Member
 
Registered: Dec 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Now it corupt the partition table :/. Still the same problem, corupting location where i use it.
 
Old 12-18-2015, 10:30 PM   #4
siery
Member
 
Registered: Dec 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I switch to Ubuntu live. Here is screen with error information: http://postimg.org/image/xc97zj5yr/
 
Old 12-18-2015, 10:34 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,357

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Wonder if debian install is a hybrid iso. The live iso is.

Don't use the bs switch.
 
Old 12-18-2015, 10:44 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,534

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Have you tried booting the USB ?.
The messages re the gpt are not uncommon on hybrid images.
 
1 members found this post helpful.
Old 12-18-2015, 11:02 PM   #7
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,339

Rep: Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631
Quote:
Originally Posted by jefro View Post
Wonder if debian install is a hybrid iso. The live iso is.

Don't use the bs switch.
Install iso is hybrid.
 
Old 12-18-2015, 11:15 PM   #8
siery
Member
 
Registered: Dec 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I did now syg00 and yes it works. Thank you a lot. Im newbie to linux, just moving my server here to Debian .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
.pem file format to .key format raj47 Linux - Newbie 1 04-14-2012 03:04 AM
ELF Format Weaknesses? Ideas for a new file format? coreybrenner Programming 2 02-12-2011 06:18 AM
[SOLVED] can't debug with gdb: not in executable format: File format not recognized (squeeze) oddiofile Debian 1 08-24-2010 03:21 AM
not in executable format: File format not recognized ypy13 Linux - Newbie 9 07-09-2008 11:33 PM
Blackbox overwrites rc file salmonix Slackware 1 04-22-2007 12:00 PM


All times are GMT -5. The time now is 12:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration