mount file system using offset.
Hi,
First of all please accept my apologies for posting to this list on this particular topic, but it was the closest match I could find.
I pulled the harddisk out of my ps3, because I have forgotten the root password on the linux partition.
After spending some time googling I see that the harddisk is encrypted and there are no linux utilities that can read/write it.
However I did find that the "testdisk" program finds the linux partitions on the disk (see below.).
It seems I should be able to mount the partitions on my linux pc box somehow since I now know their location on the disk.
Does anyone know how one might go about that?
Thanks!
Fred
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Disk /dev/sdc - 80 GB / 74 GiB - CHS 9729 255 63
The harddisk (80 GB / 74 GiB) seems too small! (< 13 TB / 11 TiB) Check the harddisk size: HD jumpers settings, BIOS detection...
The following partition can't be recovered:
Partition Start End Size in sectors
Quoted 1 line
Linux SWAP 2 9675 127 42 1593896 192 5 25450514424
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Disk /dev/sdc - 80 GB / 74 GiB - CHS 9729 255 63
Partition Start End Size in sectors
Quoted 1 line
P ext3 1566 128 42 1579 127 35 208776 [/boot]
P ext3 1579 127 42 9675 127 41 130062240 [/]
Quoted 7 lines · F. Heitkamp
First of all please accept my apologies for posting to this list on this particular topic, but it was the closest match I could find.
I pulled the harddisk out of my ps3, because I have forgotten the root password on the linux partition.
After spending some time googling I see that the harddisk is encrypted an=
d
Quoted 3 lines
there are no linux utilities that can read/write it.
However I did find that the "testdisk" program finds the linux partitions=
on
Quoted 3 lines
the disk (see below.).
It seems I should be able to mount the partitions on my linux pc box some=
how
Quoted 3 lines
since I now know their location on the disk.
Does anyone know how one might go about that?
Now you know the offset of the Linux "partition" on the disk (i.e. the part of the
disk that was visible to Linux), you can use dm-linear to map this part ont=
o a
new block device.
After that you can use kpartx to create block devices representing the individual
partitions on the above new block device.
Quoted 11 lines
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <[email protected]>
http://www.cgsecurity.orgDisk
/dev/sdc- 80 GB / 74 GiB - CHS 9729 255 63The harddisk (80 GB / 74 GiB) seems too small! (< 13 TB / 11 TiB) Check the harddisk size: HD jumpers settings, BIOS detection...
The following partition can't be recovered:
=C2=A0 =C2=A0 Partition =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
Start =C2=A0 =C2=A0 =C2=A0 =C2=A0End =C2=A0 =C2=A0Size in sectors
Quoted 1 line
Quoted 1 line
=C2=A0Linux SWAP 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A09675 127 42 1593896=
192 =C2=A05 25450514424
Quoted 8 lines
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <[email protected]>
http://www.cgsecurity.orgDisk
/dev/sdc- 80 GB / 74 GiB - CHS 9729 255 63
=C2=A0 =C2=A0 Partition =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
Start =C2=A0 =C2=A0 =C2=A0 =C2=A0End =C2=A0 =C2=A0Size in sectors
Quoted 1 line
Quoted 1 line
P ext3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01566=
128 42 =C2=A01579 127 35 =C2=A0 =C2=A0 208776 [/boot]
Quoted 1 line
=C2=A0P ext3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A01579 127 42 =C2=A09675 127 41 =C2=A0130062240 [/]
Gr{oetje,eeting}s,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org
In personal conversations with technical people, I call myself a hacker. Bu= t
when I'm talking to journalists I just say "programmer" or something like t= hat.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 -- Linus Torvalds
Quoted 7 lines · F. Heitkamp
Hi,
First of all please accept my apologies for posting to this list on this particular topic, but it was the closest match I could find.
I pulled the harddisk out of my ps3, because I have forgotten the root password on the linux partition.
Why doesn't init=/bin/sh work on the ps3?