Results 1 to 5 of 5

Thread: how to delete files on redhat

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    3

    how to delete files on redhat

    Hi,

    I cannot boot RedHat 9 (which is the only OS installed on my harddisc). I inserted a Knoppix CD and mounted that hard drive. The command df tells me that the disc is 100% used (no free space at all)! I guess this is the reason that RedHat cannot boot. using the menue that comes up after rightclick on the hard drive icon, I gave permission for writing onto that drive. However, I cannot DELETE any data that are on that drive, because Knoppix prompts that I have no permission for that. I cannot swich to any of the users or the root of the RedHat system (i.e. those users that own the files that I want to delete). Of course Knoppix doesn't know those users.
    What can I do? HOW CAN I DELETE DATA ON LINUX USING KNOPPIX?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Location
    Belgrade, YU
    Posts
    334
    Right click on hd icon, change read/write permission.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    3
    As I said, this is what I already did! I can write to the disc, but I cannot delete anything!

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: how to delete files on redhat

    Quote Originally Posted by sepi
    What can I do? HOW CAN I DELETE DATA ON LINUX USING KNOPPIX?
    First, don't panic. There's really no need to shout. Second, what version of Knoppix are you using? Third, how familiar are you with Linux? That is, are you comfortable working at the command line?

    If you are comfortable at the CLI, then I would boot with boot: knoppix 3. Then type the following:
    Code:
    mount /mnt/hda1
    rm /mnt/hda1/$path/$filename
    reboot
    Let us know if that works for you.

    Regards,
    - Robert
    http://www.cwelug.org

  5. #5
    Junior Member
    Join Date
    Sep 2005
    Posts
    3
    Thanks for trying to help.

    I already solved the problem in a different way: I booted in the single-user mode (as described on RedHat's webpage) and deleted a few bigger files. After that, RedHat could boot again as usual.

    I'm working at the command line quite a bit and using shell scripts (for analyzing research data). But I'm not very experienced.

    Probably the reason why the 'rm' command didn't work ('permission denied') was that the big data were saved in home/username. If they were in /usr/local, I would have been able to remove them.

    Anyways, thanks

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. Cannot delete files with Knoppix!
    By Tetsuro in forum General Support
    Replies: 4
    Last Post: 07-09-2005, 08:07 PM
  3. What files can I safely delete from My HD
    By Mustang64 in forum General Support
    Replies: 3
    Last Post: 12-14-2004, 03:06 AM
  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
  •  


Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



HPE DL360 G10 CTO Server W/ 2x800W  1x LP PCIE RISER 1xFLEXROM  2XHIGH PERF FANS picture

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS

$200.00



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



Lenovo ThinkServer TS460 Part Number: 70TS-S01U00 picture

Lenovo ThinkServer TS460 Part Number: 70TS-S01U00

$279.00



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA

$374.48



HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro picture

HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro

$349.00



HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS picture

HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS

$140.00



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00