LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-24-2009, 05:15 AM   #571
blnl
Member
 
Registered: Nov 2009
Location: The Netherlands
Distribution: Fedora
Posts: 93

Rep: Reputation: 1
Smile


Quote:
Originally Posted by AwesomeMachine View Post
In the command line to restore, dd is dependent on gunzip feeding it image data. Because of the sync parameter, dd pads the last block with zeroes to make it a full block. So dd keeps going after the image.gz file is written. No space left on device is not an error. Many uses of dd require the device to run out of space. It's not a problem. But the sync conversion is helpful for the method of backup you are using (gzip).
Thanks a lot!
It is good to know that my backup is not corrupted.
I'm very much relieved by this knowledge.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-30-2009, 10:59 PM   #572
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
How do you know which byte size to use?

For example I just made an iso of a video using this command

dd if=/dev/hda of=/home/trist007/doug1.iso bs=2048 conv=sync,notrunc

Then I used nero 7 to burn a dvd using that iso and nero informed me that the byte size of 2048 was incorrect. It asked me if I wanted to correct or ignore. I chose to ignore. It burned successfully, but I can't get the video to play. How do I know which byte size to use when I use the dd command for any given medium?
 
Old 12-01-2009, 09:09 AM   #573
jasee
LQ Newbie
 
Registered: Jun 2006
Posts: 27

Rep: Reputation: 15
Thanks very useful, this worries me

>Dd is not presently able to clone Microsoft Windows Vista OEM Partitions.

Does this mean only OEM Vista (and Windows 7) partitions? So machines that have been 'upgraded' from Xp should still be ok? Is it what is in the partitions or the whole structure of the disk?
 
Old 12-01-2009, 10:58 AM   #574
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by jasee View Post
Thanks very useful, this worries me

>Dd is not presently able to clone Microsoft Windows Vista OEM Partitions.
Where'd you get this from? I tried to search through the last few pages of this forum, but to no avail.

Does any body know for sure if this is true, or why it might be?

John G
 
Old 12-01-2009, 12:54 PM   #575
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by jasee View Post
Thanks very useful, this worries me

>Dd is not presently able to clone Microsoft Windows Vista OEM Partitions.

Does this mean only OEM Vista (and Windows 7) partitions? So machines that have been 'upgraded' from Xp should still be ok? Is it what is in the partitions or the whole structure of the disk?
Where did you hear this or read? What has OEM got to do with the partition? What is an OEM partition? Something special? If you are speaking of a OEM install of M$ Vista then some do make installations across more than one partition. You would then need to address the multiple partitions in use.

I believe you've been had with improper or just plain wrong information. You should 'man dd' to get some information to defend when someone presents you with mis-information.

 
Old 12-01-2009, 02:15 PM   #576
jasee
LQ Newbie
 
Registered: Jun 2006
Posts: 27

Rep: Reputation: 15
Quote:
Originally Posted by onebuck View Post
Hi,



Where did you hear this or read? What has OEM got to do with the partition? What is an OEM partition? Something special? If you are speaking of a OEM install of M$ Vista then some do make installations across more than one partition. You would then need to address the multiple partitions in use.

I believe you've been had with improper or just plain wrong information. You should 'man dd' to get some information to defend when someone presents you with mis-information.

It's in the first post of this thread by 'Awesome Machine' about half way down at the end of the 'Ms Windows' section.
Perhaps you'd like to tell him he's misinforming people :-)

Last edited by jasee; 12-01-2009 at 02:18 PM.
 
Old 12-01-2009, 04:43 PM   #577
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

As I stated you have you handle the partitions independently. The 'hidden' must be either quashed or moved.
 
Old 12-01-2009, 10:44 PM   #578
anderson1773
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Very good articale on DD
 
Old 12-02-2009, 02:12 AM   #579
jasee
LQ Newbie
 
Registered: Jun 2006
Posts: 27

Rep: Reputation: 15
Quote:
Originally Posted by onebuck View Post
Hi,

As I stated you have you handle the partitions independently. The 'hidden' must be either quashed or moved.
If this 'reply' is in response to my quote it makes about as much sense as AwesomeMachine's original comment on Vista, sorry.

Please explain more, I'm familiar with the MBR and partition structure of a normal HD
 
Old 12-12-2009, 12:11 PM   #580
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Original Poster
Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Post Windows Vista OEM Partitions

Quote:
Originally Posted by JohnGraham View Post
Where'd you get this from? I tried to search through the last few pages of this forum, but to no avail.

Does any body know for sure if this is true, or why it might be?

John G
As of Vista, and I would guess Windows 7 also, machines from Dell, IBM, HP and other OEMs use a partitioning scheme built into Vista that is not standard partitioning. If the Vista partition is moved to a different place on the disk, or placed on another disk, it won't boot.

-Awesome
 
Old 12-12-2009, 12:14 PM   #581
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Original Poster
Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Post XP is ok.

Quote:
Originally Posted by jasee View Post
Thanks very useful, this worries me

>Dd is not presently able to clone Microsoft Windows Vista OEM Partitions.

Does this mean only OEM Vista (and Windows 7) partitions? So machines that have been 'upgraded' from Xp should still be ok? Is it what is in the partitions or the whole structure of the disk?
XP partitions work with dd.
 
Old 12-12-2009, 12:23 PM   #582
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Original Poster
Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Smile Totally fubar

Quote:
Originally Posted by trist007 View Post
How do you know which byte size to use?

For example I just made an iso of a video using this command

dd if=/dev/hda of=/home/trist007/doug1.iso bs=2048 conv=sync,notrunc

Then I used nero 7 to burn a dvd using that iso and nero informed me that the byte size of 2048 was incorrect. It asked me if I wanted to correct or ignore. I chose to ignore. It burned successfully, but I can't get the video to play. How do I know which byte size to use when I use the dd command for any given medium?
In the OP, I mention making an .iso image file from a CD. But the CD is already in .iso file system format. So, the resulting .iso image is just a copy of the CD. Dd will not change everything into iso9660 file systems. Whatever the file system is, it stays that.

To make an .iso image out of some files, you use genisoimage. That will produce an .iso image that will burn to a CD as an image.
 
Old 12-24-2009, 03:21 AM   #583
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Original Poster
Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Merry Christmas
 
Old 12-31-2009, 02:43 AM   #584
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
what a article it is...i go through this before 2 weeks...now i took copy into my linuxdocs
thanks a lot....
 
Old 01-02-2010, 07:18 AM   #585
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Original Poster
Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Smile Hi Kingston

Quote:
Originally Posted by kingston View Post
what a article it is...i go through this before 2 weeks...now i took copy into my linuxdocs
thanks a lot....
Your Welcome

-Awesome
 
  


Reply

Tags
backup, best, clonezilla, cloning, command, data, dd, disk, drive, duplicate, erase, explanation, formatting, ghost, hard, image, iso, memory, ping, popular, recover, recovery, rescue, search, security, stick, upgrade, usb, wipe


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
Learn The DD command AwesomeMachine Linux - Newbie 17 08-17-2006 04:22 AM
The best way to learn? iz3r Programming 7 02-06-2005 11:00 PM
Best way to learn Linux from the command line patpawlowski Linux - General 2 03-01-2004 03:37 PM
I want to learn C. KptnKrill Programming 14 12-18-2003 01:03 PM
Best way to learn.... InEeDhElPlInUx Linux - Newbie 5 10-11-2003 01:02 AM

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

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration