* mount file system using offset.
@ 2011-09-18 19:21 F. Heitkamp
2011-09-18 20:06 ` Geert Uytterhoeven
2011-09-18 22:28 ` Christoph Hellwig
0 siblings, 2 replies; 3+ messages in thread
From: F. Heitkamp @ 2011-09-18 19:21 UTC (permalink / raw)
To: linuxppc-dev
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 <grenier@cgsecurity.org>
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
> Linux SWAP 2 9675 127 42 1593896 192 5 25450514424
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdc - 80 GB / 74 GiB - CHS 9729 255 63
Partition Start End Size in sectors
>P ext3 1566 128 42 1579 127 35 208776 [/boot]
P ext3 1579 127 42 9675 127 41 130062240 [/]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mount file system using offset.
2011-09-18 19:21 mount file system using offset F. Heitkamp
@ 2011-09-18 20:06 ` Geert Uytterhoeven
2011-09-18 22:28 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2011-09-18 20:06 UTC (permalink / raw)
To: F. Heitkamp; +Cc: linuxppc-dev
On Sun, Sep 18, 2011 at 21:21, F. Heitkamp <heitkamp@ameritech.net> wrote:
> 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
> 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 some=
how
> 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.
> TestDisk 6.12, Data Recovery Utility, May 2011
> Christophe GRENIER <grenier@cgsecurity.org>
> 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:
> =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
>> =C2=A0Linux SWAP 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A09675 127 42 1593896=
192 =C2=A05 25450514424
>
>
> TestDisk 6.12, Data Recovery Utility, May 2011
> Christophe GRENIER <grenier@cgsecurity.org>
> http://www.cgsecurity.org
>
> Disk /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
>>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]
> =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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mount file system using offset.
2011-09-18 19:21 mount file system using offset F. Heitkamp
2011-09-18 20:06 ` Geert Uytterhoeven
@ 2011-09-18 22:28 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2011-09-18 22:28 UTC (permalink / raw)
To: F. Heitkamp; +Cc: linuxppc-dev
On Sun, Sep 18, 2011 at 03:21:45PM -0400, F. Heitkamp wrote:
> 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?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-18 22:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-18 19:21 mount file system using offset F. Heitkamp
2011-09-18 20:06 ` Geert Uytterhoeven
2011-09-18 22:28 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).