Unix Technical Forum

Need help reading IDE drive data that is imaged from a SCSI drive

This is a discussion on Need help reading IDE drive data that is imaged from a SCSI drive within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have an IDE drive containing data imaged from a SCSI drive. The SCSI drive has debian on it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 08:05 AM
lsun91125@yahoo.com
 
Posts: n/a
Default Need help reading IDE drive data that is imaged from a SCSI drive

I have an IDE drive containing data imaged from a SCSI drive. The SCSI
drive has debian on it and is not available for me. I connected the IDE
drive onto my fedora core 3 box. Here's the result from "fdisk -l
/dev/hdb", it sees the fs as FAT32.
================================================== ====================
Disk /dev/hdb: 27.3 GB, 27373731840 bytes
255 heads, 63 sectors/track, 3328 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 3327 26716095 f W95 Ext'd (LBA)
/dev/hdb5 2 3327 26716063+ b W95 FAT32
================================================== ====================

When I did "fdisk -l /dev/hdb5", I can see the linux partitions:
================================================== ====================
Disk /dev/hdb5: 27.3 GB, 27357249024 bytes
64 heads, 32 sectors/track, 26089 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/hdb5p1 * 1 9 9200 41 PPC PReP Boot
/dev/hdb5p2 10 131 124928 83 Linux
/dev/hdb5p3 132 619 499712 82 Linux swap
/dev/hdb5p4 620 8678 8252416 5 Extended
/dev/hdb5p5 620 3003 2441200 83 Linux
/dev/hdb5p6 3004 3491 499696 83 Linux
/dev/hdb5p7 3492 8678 5311472 83 Linux
================================================== ====================

How can I read the data off of /dev/hdb5? I tried mounting /dev/hdb5
with different fstypes (msdos, vfat, ntfs, ext, ext2, ext3, ufs, xfs),
none would work. There is no such thing as /dev/hdb5p2. Is there anyway
I can somehow mount and read the content in hdb5?

Thanks a lot!

Lu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 08:05 AM
Bill Marcum
 
Posts: n/a
Default Re: Need help reading IDE drive data that is imaged from a SCSI drive

On 8 Mar 2005 07:22:43 -0800, lsun91125@yahoo.com
<lsun91125@yahoo.com> wrote:
>
> When I did "fdisk -l /dev/hdb5", I can see the linux partitions:
>================================================= =====================
> Disk /dev/hdb5: 27.3 GB, 27357249024 bytes
> 64 heads, 32 sectors/track, 26089 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb5p1 * 1 9 9200 41 PPC PReP Boot
> /dev/hdb5p2 10 131 124928 83 Linux
> /dev/hdb5p3 132 619 499712 82 Linux swap
> /dev/hdb5p4 620 8678 8252416 5 Extended
> /dev/hdb5p5 620 3003 2441200 83 Linux
> /dev/hdb5p6 3004 3491 499696 83 Linux
> /dev/hdb5p7 3492 8678 5311472 83 Linux
>================================================= =====================
>
> How can I read the data off of /dev/hdb5? I tried mounting /dev/hdb5
> with different fstypes (msdos, vfat, ntfs, ext, ext2, ext3, ufs, xfs),
> none would work. There is no such thing as /dev/hdb5p2. Is there anyway
> I can somehow mount and read the content in hdb5?
>

mount -o loop,offset=[bytes] /dev/hdb5 /mntpoint
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 08:05 AM
lsun91125@yahoo.com
 
Posts: n/a
Default Re: Need help reading IDE drive data that is imaged from a SCSI drive

I tried "mount -o loop,blocksize=620 -t ext3 /dev/hdb5 /mnt" and some
other fstypes, I got the following error message:
================================================== ============
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
================================================== ============

I know it's an IDE device, but how do I use sr0 or sda?

Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 08:06 AM
Laurenz Albe
 
Posts: n/a
Default Re: Need help reading IDE drive data that is imaged from a SCSI drive

lsun91125@yahoo.com wrote:
> I have an IDE drive containing data imaged from a SCSI drive.


What exactly is 'imaged'?

Yours,
Laurenz Albe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 08:06 AM
lsun91125@yahoo.com
 
Posts: n/a
Default Re: Need help reading IDE drive data that is imaged from a SCSI drive


Laurenz Albe wrote:
> lsun91125@yahoo.com wrote:
> > I have an IDE drive containing data imaged from a SCSI drive.

>
> What exactly is 'imaged'?
>
> Yours,
> Laurenz Albe


I think the person who transferred the data did "dd" or something
similar. He said he did bit to bit copy.

Lu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com