LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2010, 09:21 AM   #1
tiggertie
LQ Newbie
 
Registered: May 2010
Posts: 11

Rep: Reputation: 0
Unhappy help with dd input parameters


have a disk image of a laptop in a DVD. the fdisk details is provided in a text file and it shows it has HDA1 as HPFS/NTFS partition. however after copying the content in a to a directory issued the following command to create a NTFS partition

dd if=/home/dvd2 of=/home/hda1.dd skip=0 bs=512 count=3824

however it retuns had1.dd as empty

pls. help
 
Old 05-22-2010, 10:02 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
It would depend on how the image was created, if they imaged the whole disk eg:

dd if=dev/hda ...

then you should be able to just put it straight back:

dd if=/mnt/<dvd?>/image.dd of=/dev/hda bs=512

If it was an image of a specific partition, then you need to recreate the partitions first with fdisk or similar, then restore the image:

dd if=/mnt/<dvd?>/image.dd of=/dev/hda1 bs=512

cheers
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HAL vs Xserver (/dev/input/mice?): convincing X to *not* use a given input device? stuartnlevy Linux - Desktop 6 01-24-2012 04:06 PM
[SOLVED] tcflush input parameters Aquarius_Girl Programming 1 03-30-2010 06:35 AM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
HELP connecting MIC Input/Line Input with Jack and Qsynth animehair Linux - Software 0 07-28-2006 07:47 AM
Ctrl+Shift Unicode input gone, after installing Japanese Input Methodes polemon Linux - Newbie 1 09-20-2005 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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