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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| lsun91125@yahoo.com wrote: > I have an IDE drive containing data imaged from a SCSI drive. What exactly is 'imaged'? Yours, Laurenz Albe |
| ||||
| 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 |