-
Senior Member
registered user
Re: Help to restore a dd image file back to the hard drive
Are you getting an error message? Describe "not working."
1. You must be root, and running from the Knoppix CD.
2. NOTHING on hda should be mounted, including swap.
' swapon -s ' == swap status; ' swapoff /dev/hdaX '
' umount /dev/hda* '
3. ' dd if=/mnt/sdb1/image.dd of=/dev/hda bs=2M '
Note: It may be more useful to image partitions (/dev/hda1) rather than the entire drive.
--You can also compress/uncompress the drive image on the fly:
' dd if=/dev/hda bs=1M |gzip -9 >/mnt/sdb1/image.dd.gz '
' gzip -cd image.dd.gz > /dev/hda ' == Restore

Originally Posted by
BrianC
I've read the faqs and can find info on creating images but not of restoring them back to the hard drive.
I have created a dd image file of the complete hard drive /dev/hda on a removeable hard drive
using
dd if=/dev/hda of=/mnt/sdb1/image.dd
Now I am trying to restore the image back to the hard drive as an upgrade went wrong.
However
dd if=/mnt/sdb1/image.dd of=/dev/hda is not working.
I think I have to make hda writeable but I don't know the exact syntax of the command I need.
On the left of the desktop I can find icons for hda1, hda3 and hda7 which are currently on my machine but are currently unmounted.
What exactly do I do here?
Hope someone can help.
Regards
Brian C
Similar Threads
-
By PaulKraemer in forum General Support
Replies: 1
Last Post: 05-08-2006, 04:49 PM
-
By slvrldy17 in forum MS Windows & New to Linux
Replies: 2
Last Post: 02-23-2006, 04:06 AM
-
By satimis in forum General Support
Replies: 1
Last Post: 05-29-2005, 12:34 PM
-
By jon1234444 in forum General Support
Replies: 0
Last Post: 01-20-2005, 08:14 AM
-
By punkass in forum General Support
Replies: 2
Last Post: 05-08-2004, 05:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A
$22.02

Samsung T9 1TB External Portable SSD MU-PG1T0B -2000MB/s - Black
$179.00

Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated
$85.00

Samsung Galaxy Tab S10+ 5G (256GB, 12GB, Wi-Fi + Cellular, Unlocked) 12.4" X828U
$579.99

RAM-GDS-SKIN-SAM80-NG RAM IntelliSkin® Next Gen for Samsung Tab A7 Lite 8.7”
$82.99

3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G
$155.00

1 lot of 3 (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe
$109.00

RAM-GDS-DOCK-SAM80CPU RAM GDS® Tough-Dock™ for Samsung Tab A7 Lite 8.7"
$159.49

SAMSUNG SF-760P Multifunction Laser Printer Copy/Fax/Print/Scan BRAND NEW IN BOX
$349.00

LOT OF 30 8GB 2Rx4 PC3L-10600R-9-11-E2 MT36KSF1G72PZ-1G4M1FF DDR3 Server RAM
$274.99