Results 1 to 5 of 5

Thread: Cannot delete files with Knoppix!

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    2

    Cannot delete files with Knoppix!

    Please I just booted the Live CD but I'm unable to delete files on Fat32 partitions... WHY?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    See Using FAQ

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    2
    I've done what it said, changed the read only thing in Properties but still i cannot delete files on windows partionion *fat32*.

  4. #4
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Quote Originally Posted by Tetsuro
    I've done what it said, changed the read only thing in Properties but still i cannot delete files on windows partionion *fat32*.
    Are you sure that it's fat32? Did you mount the drive using mount -t vfat /dev/hda1 /mnt/hda1?
    Did you add permissions to change all the files on that drive with chmod -R 777 /mnt/hda1?

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --You can't change permissions effectively on fat32 filesystems with chmod - it causes unpredictable results. Try changing a vfat file to 600 and you'll see what I mean.

    --Fat32 file permissions are instead controlled by the mount command ( see ' man mount '. )

    Code:
    /dev/hde8 on /mnt/drivef type vfat (rw,noexec,nosuid,nodev,noatime,uid=1001)
    --This drive is assigned with uid=1001 (my non-root login ) as the "owner."

    Here's the fstab entry for that drive:
    Code:
    /dev/hde8  /mnt/drivef vfat defaults,users,noexec,noatime,uid=dave,rw 0 0
    --Note that the owner will revert when the drive is umounted:
    Code:
    la /mnt 
    
    drwxr-xr-x   7 root root  472 Jun  5 23:23 bkps
    drwxr-xr-x   7 root root  384 Jun  5 23:55 bkps2
    drwxr-xr-x   9 root root  352 Jun  5 23:58 bkps3
    drwxr--r--   8 dave root 8192 Dec 31  1969 cdtemp
    drwxr--r--  40 dave root 8192 Dec 31  1969 drived
    drwxr--r--  17 dave root 8192 Dec 31  1969 drivef
    
    umount /mnt/drived 
    la /mnt/drived
    
    drwxr-xr-x   2 root root   72 May 21 21:32 drived
    --Quick (and safe) solution to delete files:

    o Switch to root console ( Ctrl-Alt-F1 ) and enter ' mc '
    o cd to the directory you want
    o Mark files with Insert, or just set the cursor on a directory
    o Hit F8 to delete them.

    ( The "grey plus" key on the numeric keypad will mark all files in a directory except subdirs; " Grey - " will unmark them. )

    --I **never** use bare " rm " to delete directories; always use mc or another filemanager. In doing this, you avoid the most regrettable *nix admin's lament: " I accidentally just trashed my filesystem! " (There are stories all over the Internet about this... It's the #1 trap to fall into. DD is another matter however... But that is a story for another day.

    o DON'T USE RM AS ROOT:
    http://wiki.linuxquestions.org/wiki/Rm

    Quote Originally Posted by foamrotreturns
    Quote Originally Posted by Tetsuro
    I've done what it said, changed the read only thing in Properties but still i cannot delete files on windows partionion *fat32*.
    Are you sure that it's fat32? Did you mount the drive using mount -t vfat /dev/hda1 /mnt/hda1?
    Did you add permissions to change all the files on that drive with chmod -R 777 /mnt/hda1?

Similar Threads

  1. Can't delete files
    By haskabab in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 05-29-2009, 11:29 PM
  2. Knoppix 5.0.1 live CD delete files in ntfs
    By carlo67 in forum General Support
    Replies: 3
    Last Post: 09-22-2007, 10:00 AM
  3. Problems using knoppix liveCD to delete files on sdb2
    By voteslave in forum General Support
    Replies: 2
    Last Post: 05-22-2006, 07:02 PM
  4. How do you delete files in knoppix
    By Accumet8000 in forum General Support
    Replies: 2
    Last Post: 10-02-2004, 01:41 AM
  5. How to delete files
    By microsoft_sucks in forum General Support
    Replies: 1
    Last Post: 07-04-2003, 05:00 AM

Posting Permissions

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


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



2U AI MINING SERVER 2x Xeon 36 cores 2.3Ghz DDR4 2x NVIDIA V100 GPU PCIe 2PS USA picture

2U AI MINING SERVER 2x Xeon 36 cores 2.3Ghz DDR4 2x NVIDIA V100 GPU PCIe 2PS USA

$799.00



Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY. picture

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY.

$49.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99