Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-19-2010, 02:25 PM   #1
LQ Newbie
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
dd'd /dev/sda rather than /dev/sda1; now how can I mount this?

Hello linuxquestions,
A while ago, I made a backup of an old 200GB hard drive onto a new 1.5TB hard drive using dd. The old hard drive had 2 NTFS partitions on it, but rather than dd'ing each partition (e.g. dd if=/dev/sda1...), I dd'd the entire drive (dd if=/dev/sda...).

I know one option to access the contents of the backup image is to just dd the image onto another hard drive (dd if=/hdimage.iso of=/dev/sda), but is there a way to do this via mount?

Since the backup image is an entire disk rather than a partition, mount -t ntfs -o loop /hdimage.iso /mnt/point doesn't work for me. Is there a way to mount just a portion of an image? And if so, how would I find where the partition starts - would it involve some use of dd and hexdump?

Any insight into this problem is appreciated.

Old 11-19-2010, 02:31 PM   #2
LQ Newbie
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
oh snap, about a minute after posting this noobish question, think I got the answer. Use "offset" option with mount along with loop (mount -o loop,offset)

Apologies for this needless thread.


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
why only "mount /dev/sda /mnt/usb" works and not "mount /dev/sda1..." ? gromot Linux - General 7 05-19-2009 10:18 AM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
No /dev/sda or /dev/sda1 mago Slackware 9 06-08-2006 11:12 AM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 05:00 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration