You're far better of with cat /proc/mounts, which is guaranteed to show you the actual mount table, wherein you'll probably find that it's actually mounted read-only. share|improve this answer answered Mar 23 '11 at 9:35 geekosaur 6,69911915 didn't work. AngryBeast View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by AngryBeast 07-17-2011, 01:43 PM #14 unSpawn Moderator Registered: May 2001 Posts: 29,302 share|improve this answer answered Aug 7 '12 at 9:07 Gilles 377k726901135 add a comment| up vote 6 down vote You have a device mounted in /mnt/... http://tawish.org/only-file/ubuntu-cannot-delete-file-read-only.php
Otherwise you may fall into the same permissions problem. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Notify me of new posts by email. Ah, yes:$ lsattr /boot/syslinux/ldlinux.sys ----i--------e-- /boot/syslinux/ldlinux.sysThanks, circleface. http://askubuntu.com/questions/31614/how-to-delete-edit-files-from-readonly-filesystem
Cannot Remove Read-only File System Windows
What does it say? share|improve this answer answered Mar 22 '12 at 22:06 Béné 539313 add a comment| up vote 3 down vote Ask Windows to repair the filesystem on the device and eject it Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Any idea how I can delete it if I need to?
Reply Ashish says October 7, 2016 at 11:21 am Very very useful information.
Missing } inserted. \int dx = x + C & Was it legal to rant against trick or treating via loudspeaker during halloween?
umount /media/linux/C38C-099C Step 3: As we know the USB pen drive got /dev/sdd1 partition and filesystem is vfat(see in Step 1).
Once that's completed (the copying is taking forever), I have to test, delete, and recreate the home directoy, then move everything back (or maybe just use the new /home as my
this did not work.
Then I ran $ sudo mount -t vfat -o rw /dev/sdb1 /media/sdb1 Still I can't delete the directories including their files.
Find all posts by Corona688 #3 12-22-2011 figaro Registered User Join Date: Jan 2007 Last Activity: 27 August 2016, 2:57 PM EDT Posts: 842 Thanks: 93 Thanked 29
Offline #8 2014-11-15 03:35:49 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: [SOLVED]How to remove a read-only file? TheSaint wrote:You probably need to remove files from within a Live distro as administrator.I tried that, or at least I think did, when I chrooted in to install Gummiboot. So-r--r--r--is like "if you wouldn't mind, please don't modify this file" and----i--------e--is like I don't THINK so. Cannot Remount Block Device /dev/sdb1 Read-write, Is Write-protected Now, your USB pen drive should be writable.
circleface wrote:The file is set to be immutable, so you must remove that attribute before you can delete it.Success. Linux Remove Read Only File Attribute They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. How do I get it back without rebooting?1ubuntu applications segfaults and filesystem remounts with readonly mode0How do I delete the Windows hibernate file on a read only device? mkfs keeps asking stuff like "/home is not a block special device.
Rm Read Only File System Mac
So it seems to me that your entire /-partition is mounted read-only. http://serverfault.com/questions/304416/i-cant-delete-files-rm-cannot-remove-x-read-only-file-system Is there a way to block a President Elect from entering office? Cannot Remove Read-only File System Windows sycamorex View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sycamorex View Blog 07-17-2011, 01:34 PM #13 AngryBeast Member Registered: Jul 2011 Cannot Remove Read-only File System Usb Results of the [email protected] [/]# fsck /homefsck 1.39 (29-May-2006)e2fsck 1.39 (29-May-2006)/home contains a file system with errors, check forced.Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking
Have you tried removing it from a liveCD / liveUSB? this contact form I think the way to create a new /home is using mkfs, which I have to start reading up on, but how do I get rid of the old /home? Last edited by hcra (2014-11-15 04:46:16) Offline #2 2014-11-15 02:40:50 TheSaint Member From: my computer Registered: 2007-08-19 Posts: 1,381 Re: [SOLVED]How to remove a read-only file? Will I get the same result if I use 18-55mm lens at 55mm (full zoom) and 55-200mm lens at 55mm (no zoom), if not, then why? Rm Read-only File System Android
AngryBeast View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by AngryBeast 07-17-2011, 01:22 PM #12 sycamorex LQ Veteran Registered: Nov 2005 Location: I'm guessing a simple rm -rf won't do the trick, it's an entire filesystem plus the damn thing is read only, so I have no idea what to do. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. http://tawish.org/only-file/ubuntu-cannot-read-only-file-system.php I don't expect running; Code: $ dd if=/dev/zero of=/dev/sdb1 to erase the pendrive completely.
Offline #16 2014-11-15 04:48:20 hcra Member From: Oregon Registered: 2013-04-20 Posts: 56 Re: [SOLVED]How to remove a read-only file? Cannot Move Read Only File System Therefore I ran # fdisk /dev/sdb to repartition the drive and afterwards ran; # mkfs.ext2 -c /dev/sdb1 it went though w/o complaint But I can't mount the pendrive $ sudo mount This normally only happens when the system recognizes errors on that partition and re-mounts the partition read-only to prevent further damage.
All Rights Reserved.
But they can't be deleted later. It's possible that information reported by mount(8) is not up to date. Don't even use PHP. How To Change Read Only File System To Read Write In Linux I would recommend to run fsck on that partition to fix any errors and then reboot the machine.
You probably need to remove files from within a Live distro as administrator. Does Intel sell CPUs in ribbons? any ideas? Check This Out Word for a Fact Believed by a Sub-Culture How can I save a file to a new location from inside Vim?
Inode 421 has INDEX_FL flag set but is not a directory. Not sure what to say. But if your luck is anything like mine, you managed to catch the "Lock" slider on the card as you inserted it, and will have to pop it back out and Having a problem installing a new program?
justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM All times are GMT -5. GO OUT AND VOTE Forcing everyone to speak the same language Using the eval command twice Can you dispel a magic effect you can't perceive? No databases. Results 1 to 3 of 3 Thread: How to delete files/directories on Read-Only file system Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch
karol wrote:Have you tried removing it from a liveCD / liveUSB?I'll try straight away and report back.[EDIT]same result: Operation not permitted Last edited by hcra (2014-11-15 03:46:53) Offline #12 2014-11-15 04:26:04 I am root, and the permissions look normal. Run mount | grep /mnt to see what options were specified when mounting that filesystem. If it is FAT or FAT32 you can use Code: sudo mount -o remount,rw -t vfat /dev/sdb1 Hi bigtomrodney, Thanks for your advice.