Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Basic help recovering files off bad hard drive

  1. #11
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by Werner P. Schulz View Post
    ... I found the difference - my usb-drive is ext3-formatted.
    Ah ha ! That would make a difference.

    But ... the line in /etc/fstab has users so the user knoppix can mount the drive without using sudo. No ?

    So it comes down to the formatting. When you create your ext3 file system you've just the top level directory and the lost+found directory, both owned by root so only root can create files in there. It's a cat: one way of killing it is:

    Code:
     sudo chown knoppix:knoppix /media/sdd2
    and the user knoppix can now create files and folders on the USB drive just as he can in any other directory the user owns. And you only need to do that once.

    I guess Ansky926 probably has (and probably should have for rescue) a USB stick with a vfat partition so he shouldn't need root at all and shouldn't need to change permissions or ownerships and stuff but you never know.

  2. #12
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    But ... the line in /etc/fstab has users so the user knoppix can mount the drive without using sudo. No ?
    Yes and No!

    If I attach the usb-drive, KNOPPIX (6.4.4) creates the entry in /etc/fstab and mounts the partition automatic. No need to click on an icon in PCManFM or writing "mount /media/sdd2" in the terminal. But then user knoppix can umount and remount the partition.

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  3. #13
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by Werner P. Schulz View Post
    Yes and No!
    I can agree with that bit.

    With me, neither df or /etc/mtab show the USB partition being mounted (automatically). That's consistent with the noauto in the line added to /etc/fstab. When I start pcmanfm I've got two panes. The left hand one has a list of 'icons' with names line knoppix, Desktop, Applications, cloop, loop0, STORE N GO (that the USB's volume label), var, usr, home, root (those are the labels of partitions on my hard drive), dm-1, dm-2, ,,, (lvm volumes on my hard drive), knoppixwork, knoppixdata, knoppixboot (the partitions on my Knoppix USB and yes, two of those are ext3).

    If I click on the STORE N GO, the right hand pane shows the folders and files in the USB stick and now df and /etc/mtab show the USB partition as mounted. I think the entries in /etc/ftab allows pcmanfm to mount partitions on-demand.

    You didn't click on any icon. So what do you call the pictures in the list in the left hand pane ?

  4. #14
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... now I've done a deeper look to my testing results from yesterday. I found in my remastered Knoppix version in PCmanFM-menu at 'Preferences/ Volume Management' settings, which are not the default setting.

    But I can't remenber at what time I changed the settings and why. Old age and forgetfulnes.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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


HP Z420 Desktop WS Intel XEON 3.6GHz 8GB Ram 500GB HDD Windows 10 Pro picture

HP Z420 Desktop WS Intel XEON 3.6GHz 8GB Ram 500GB HDD Windows 10 Pro

$149.99



Intel Xeon E5-2696V4 - 2.2 GHz 22 Core (SR2J0) Processor - NEW picture

Intel Xeon E5-2696V4 - 2.2 GHz 22 Core (SR2J0) Processor - NEW

$199.99



Dell PowerEdge R620 Server | 2x 2680 V2 2.8GHz = 20 Cores | 96GB | 2x 1TB SAS picture

Dell PowerEdge R620 Server | 2x 2680 V2 2.8GHz = 20 Cores | 96GB | 2x 1TB SAS

$334.40



Lenovo ThinkStation E31 Xeon E3-1275v2 @3.5GHz 8GB RAM No HDD No OS - Buildable picture

Lenovo ThinkStation E31 Xeon E3-1275v2 @3.5GHz 8GB RAM No HDD No OS - Buildable

$40.00



Intel Xeon E5-2697 V4 2.3Ghz 18 Core 45MB Cache 2011-3 CPU SR2JV Tested Grade A picture

Intel Xeon E5-2697 V4 2.3Ghz 18 Core 45MB Cache 2011-3 CPU SR2JV Tested Grade A

$89.99



Intel Xeon E5-2696 V2 SR19G 12 Core 2.5GHz 25MB LGA-2011 Server CPU picture

Intel Xeon E5-2696 V2 SR19G 12 Core 2.5GHz 25MB LGA-2011 Server CPU

$26.45



INTEL SLBVX Xeon X5690 3.46Ghz 6-Core 6.4 GT/s QPI 12MB LGA1366 Processor CPU picture

INTEL SLBVX Xeon X5690 3.46Ghz 6-Core 6.4 GT/s QPI 12MB LGA1366 Processor CPU

$29.99



CM8066002031501 INTEL XEON E5-2680V4 2.40GHZ 35MB 14-CORE 120W PROCESSOR picture

CM8066002031501 INTEL XEON E5-2680V4 2.40GHZ 35MB 14-CORE 120W PROCESSOR

$48.00



Intel Xeon E5-2470 V2 2.4GHz 25MB 8GT/s SR19S LGA1356 CPU Processor picture

Intel Xeon E5-2470 V2 2.4GHz 25MB 8GT/s SR19S LGA1356 CPU Processor

$27.99



Intel Xeon E5-2697V3 SR1XF 2.60GHz 14C Haswell 145W 35MB LGA 2011-3 CPU picture

Intel Xeon E5-2697V3 SR1XF 2.60GHz 14C Haswell 145W 35MB LGA 2011-3 CPU

$35.10