LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-19-2010, 03:25 PM   #1
KleeIrwin
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.

Thanks,
Klee
 
Old 11-19-2010, 03:31 PM   #2
KleeIrwin
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.
 
  


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
why only "mount /dev/sda /mnt/usb" works and not "mount /dev/sda1..." ? gromot Linux - General 7 05-19-2009 11:18 AM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
No /dev/sda or /dev/sda1 mago Slackware 9 06-08-2006 12:12 PM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 06: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 10:37 AM


All times are GMT -5. The time now is 11:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration