Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Just made a horrible horrible horrible mistake

  1. #11

    Default Re: Just made a horrible horrible horrible mistake

    Quote Originally Posted by ChrisH_16 View Post

    I chdir'd to /.wine/drive_c/ and ran rm -rf on the /windows/ directory in it, since I made a mistake pertaining to several files in wine's windows directory.

    While it was doing that I ran off to eat dinner.
    The / before windows/ is probably the reason - there cannot be a /windows/ directory in /.wine/drive_c/

    You can test the recovery programs on a USB memory stick.

  2. #12

    Default Re: Just made a horrible horrible horrible mistake

    It's the drives (or at least the partitions) that are supposedly non-existent.

    Quote Originally Posted by caf4926 View Post
    Open a terminal become su and do

    Code:
    fdisk -l
    post result - explain which partitions you want to mount from the list
    sda is my primary drive with Windows 7 on it. sda1 is, er, was where it was installed, and sda2 is an extra partition, with a boatload of songs I've made and are working on (I'm a producer).

    sdb is where opensuse is.

    sdc is another storage drive. It might not be as important to my education or pseudo-career (music production), but I still really need it.

    sdd is my backup drive.

    Code:
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x64061985
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       65271   524288000    7  HPFS/NTFS
    /dev/sda2           65271       91201   208282624    7  HPFS/NTFS
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x70841fad
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1         523     4200966   82  Linux swap / Solaris
    /dev/sdb2             524        8584    64749982+  83  Linux
    /dev/sdb3            8585       60801   419433052+  83  Linux
    
    Disk /dev/sdc: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x70841faa
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       60802   488383488    7  HPFS/NTFS
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
    256 heads, 63 sectors/track, 121126 cylinders
    Units = cylinders of 16128 * 512 = 8257536 bytes
    Disk identifier: 0x80fe36d2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1               1      266306  2147483647+  ee  GPT

  3. #13
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,738
    Blog Entries
    20

    Default Re: Just made a horrible horrible horrible mistake

    OK. So lets see what is in your fstab currently

    Code:
    cat /etc/fstab
    Tell us also. When you were deleting files, were you working as User, you hadn't switched to su had you?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #14

    Default Re: Just made a horrible horrible horrible mistake

    /dev/disk/by-id/ata-ST3500630AS_9QG3FBBD-part1 swap swap defaults 0 0
    /dev/disk/by-id/ata-ST3500630AS_9QG3FBBD-part2 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-ST3500630AS_9QG3FBBD-part3 /home ext4 acl,user_xattr 1 2
    /dev/disk/by-id/ata-ST3750640AS_3QD0RB47-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST3750640AS_3QD0RB47-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST3500630AS_9QG3F9PA-part1 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0





    And no, I didn't run the rm command as root.

  5. #15
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,738
    Blog Entries
    20

    Default Re: Just made a horrible horrible horrible mistake

    If you navigate in your directory tree to /windows/C (D) (E)

    Are you saying there is nothing?

    In My Computer, does it show the partitions and do the disk usage stats look correct?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #16

    Default Re: Just made a horrible horrible horrible mistake

    Quote Originally Posted by caf4926 View Post
    If you navigate in your directory tree to /windows/C (D) (E)

    Are you saying there is nothing?

    In My Computer, does it show the partitions and do the disk usage stats look correct?
    It shows the partitions but the disk usage stats are grossly lower than they should be. Browsing to them in Dolphin, while some directories are still there, quite a few are gone and almost all files are gone. I should note that the system says they're not mounted but they are. Winecfg also mentions that it can't detect any drives at all.

    Edit: Made a BartPE disk (with some data recovery tools added) in a Win XP under VirtualBox, and right now K3b is burning the iso to disk. As soon as it finishes I'm going to pray that I can recover a decent amount of data.

  7. #17
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,738
    Blog Entries
    20

    Default Re: Just made a horrible horrible horrible mistake

    The less you mess with the partitions the better. Good luck

    Remember: http://www.cgsecurity.org/wiki/TestDisk
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #18

    Default Re: Just made a horrible horrible horrible mistake

    Tested it out in a virtual machine and glad I did. Even though all requirements are met, the executables just don't like the PE environment.

    And how do I get TestDisk to work? Neither RPM works.

  9. #19
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,738
    Blog Entries
    20

    Default Re: Just made a horrible horrible horrible mistake

    Live cd like Parted Magic
    TestDisk Livecd - CGSecurity
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #20
    palladium NNTP User

    Default Re: Just made a horrible horrible horrible mistake

    ChrisH 16 wrote:
    >
    > IT DELETED ALL THE DATA


    no, YOU deleted all the data..

    simple recovery: restore from your current backup

    --
    palladium

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •