From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 20AD91381F3 for ; Mon, 6 May 2013 00:49:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D70A2E09AE; Mon, 6 May 2013 00:49:44 +0000 (UTC) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B501E0996 for ; Mon, 6 May 2013 00:49:43 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id z53so2642223wey.29 for ; Sun, 05 May 2013 17:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=cPObwNjrKk1xkXmHk5NjWsqk3EAw7LKXNBvTVi0e2Zk=; b=XLgToO0Nzs4bePzmLFlWYvmHXZlvGgptHek5W5rfZ6mFpcj1chHR5KYXXfWn8V8cCz j2ExBzaaj6rMElZs0lIeSx6T3l5pmfsGH05whgYOcRmmgCAhrb0VEAufUa8fdvGu77S8 RfGs7o5w0Vy9Ljppyw9SXdYN5eQukz926UGnYO4lC1ztLDsYuTHIa7bCH0juKRNSzAW8 FTZzGbKshRZ3g+yltIuPPQh66s4LxFSfu+UpQWIewRTKJjIKg7v0xggjxJTAO7jsp3jp l0x+LjXcReGRmlrVjNws6V4WHy0n4JNH+SZq1Eel36mS69DWEC0VASEGmmo2qFF04bEA UOIA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.194.78.137 with SMTP id b9mr22813484wjx.10.1367801381905; Sun, 05 May 2013 17:49:41 -0700 (PDT) Received: by 10.180.85.162 with HTTP; Sun, 5 May 2013 17:49:41 -0700 (PDT) In-Reply-To: References: <20130505161640.GB30557@BIFROST.fritz.box> Date: Mon, 6 May 2013 02:49:41 +0200 Message-ID: Subject: Re: [gentoo-user] Recover on SSD From: =?ISO-8859-1?Q?Randolph_Maa=DFen?= To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=047d7bd91a627debe504dc0213ea X-Archives-Salt: 94626e40-110b-4ee9-bf5b-5509ac1bbc77 X-Archives-Hash: 1784bb79c1c77bd83a8c67e98ee04c8e --047d7bd91a627debe504dc0213ea Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2013/5/5 Randolph Maa=DFen > 2013/5/5 Hinnerk van Bruinehsen > >> On Sun, May 05, 2013 at 02:44:11PM +0000, Randolph Maa=DFen wrote: >> > Hi, >> > >> > I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel= . >> for >> > some purpose I needed several Partitions so my base system was lying o= n >> > sda10, on an LVM-PV. Today my Windows refused to start and during >> recovery >> > its diskpart must have deleted the information about the 10th partitio= n >> on >> > the disk, containing my main Gentoo system. Recovery failed, but >> > sysrescuecd still works :) >> > >> > Now I'm concerned about the rescueing of the partition on the SSD, is = it >> > the same way as on HDDs and are the same memory-parts of the SSD used? >> Or >> > is the partiton gone forever? And when I recreate a partition, will th= e >> PV >> > with the data still be there and readable? >> >> You could try Testdisk[1]. It may help. The data on a SSD is not >> necessarily stored linar so it's not said that a new partition is using >> the same memory cells as the old one. Even if it is, you'd lose any >> information about directories or files (names, dates, accessrights and >> so on). >> You should definitly try to minimize writes (ideally there would be >> none) since they can corrupt data. For a HDD I'd advise to create a copy >> using dd but from my understanding of SSD technology it's not >> guaranteed to copy the right (now unused marked) blocks. >> If you can't recover the old partition information I'd say you lost your >> data unless you are willing (and there's no guarantees either) to pay >> substantial amounts of money to specialised services (substantial as in >> most likely >> 1000 EUR). >> >> WKR >> Hinnerk >> >> >> [1] http://www.cgsecurity.org/wiki/TestDisk >> > > > Thanks for the input. I ensured that there is no write after I noticed th= e > partition was missing. > I try what I can now, and I'm sure its gonna be a long night > > > > -- > Mit freundlichen Gr=FC=DFen / Best regards > > Randolph Maa=DFen > > I'm so damn lucky I dd'ed the SSD onto an external drive and worked at first on the image with qemu. A simple recreation of the partition brought the system back to live on the image. I tried the same on the real machine and Gentoo works again. --=20 Mit freundlichen Gr=FC=DFen / Best regards Randolph Maa=DFen --047d7bd91a627debe504dc0213ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2013/5/5 Randolph Maa=DFen <r.maassen60@gmail.com>
On Sun, May 05, 2013 at 02:44:11PM +0000, Randol= ph Maa=DFen wrote:
> Hi,
>
> I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel= . for
> some purpose I needed several Partitions so my base system was lying o= n
> sda10, on an LVM-PV. Today my Windows refused to start and during reco= very
> its diskpart must have deleted the information about the 10th partitio= n on
> the disk, containing my main Gentoo system. Recovery failed, but
> sysrescuecd still works :)
>
> Now I'm concerned about the rescueing of the partition on the SSD,= is it
> the same way as on HDDs and are the same memory-parts of the SSD used?= Or
> is the partiton gone forever? And when I recreate a partition, will th= e PV
> with the data still be there and readable?

You could try Testdisk[1]. It may help. The data on a SSD is no= t
necessarily stored linar so it's not said that a new partition is using=
the same memory cells as the old one. Even if it is, you'd lose any
information about directories or files (names, dates, accessrights and
so on).
You should definitly try to minimize writes (ideally there would be
none) since they can corrupt data. For a HDD I'd advise to create a cop= y
using dd but from my understanding of SSD technology it's not
guaranteed to copy the right (now unused marked) blocks.
If you can't recover the old partition information I'd say you lost= your
data unless you are willing (and there's no guarantees either) to pay substantial amounts of money to specialised services (substantial as in
most likely >> 1000 EUR).

WKR
Hinnerk


[1] h= ttp://www.cgsecurity.org/wiki/TestDisk


Thanks for the input. I ensured that= there is no write after I noticed the partition was missing.
I try what I can now, and I'm sure its gonna be a lo= ng night



--
Mit freundlichen Gr=FC=DFen=A0= / Best regards
=A0
Randolph Maa=DFen



I'm so damn lucky

I dd= 9;ed the SSD onto an external drive and worked at first on the image with q= emu. A simple recreation of the partition brought the system back to live o= n the image. I tried the same on the real machine and Gentoo works again.

--
Mit freundlichen Gr=FC=DFen=A0= / Best regards
=A0
Randolph Maa=DFen

--047d7bd91a627debe504dc0213ea--