LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-10-2016, 08:38 AM   #1
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Rep: Reputation: Disabled
Deb - Linux distro. Read Only File system problem


Hello.

I was looking Thin client Linux distro.
I found Thinstation but i didnt like it.
Than i found HP Thinpro Linux deb distro.
I'm runing this distro from usb. And working good...

Now i need to delete some packages and make some customization.
But i can't mount as RW. (btw I'm using ubuntu 16.04)
Thinpro's File system is BTRFS.

How can i access root dir?

/dev/sdb2 on /media/morphin/ROOT type btrfs (rw,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/,uhelper=udisks2)

drwxr-x--- 1 root root 62 Oct 10 12:33 ROOT/

root@goksu:/media/morphin/ROOT# ll
total 8
drwxr-x--- 1 root root 62 Oct 10 12:33 ./
drwxr-x---+ 4 root root 4096 Oct 10 16:34 ../
drwxr-xr-x 1 root root 38 May 12 2015 persistent/
drwxr-xr-x 1 root root 212 May 12 2015 root/
drwxr-xr-x 1 root root 14 May 12 2015 snapshots/
drwxr-xr-x 1 root root 80 Oct 7 15:09 writable/


rm -R teemtalk/
rm: cannot remove 'teemtalk/custom.xml': Read-only file system
 
Old 10-10-2016, 10:53 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
The files that you want to work with have permissions of rwx for root and r-x for all users. You need to switch to being root in order to delete the files. You can switch to root by opening a terminal and using the su command.

-------------------
Steve Stites
 
Old 10-10-2016, 11:36 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
mount command will print the actual mount options.
 
Old 10-13-2016, 03:35 AM   #4
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jailbait View Post
The files that you want to work with have permissions of rwx for root and r-x for all users. You need to switch to being root in order to delete the files. You can switch to root by opening a terminal and using the su command.

-------------------
Steve Stites
You can't be serious. Did you read my post? I'm already root and i cant even change owner by chown too. System is READ ONLY.

Quote:
Originally Posted by Emerson View Post
mount command will print the actual mount options.
I already add mount point bro?

/dev/sdb2 on /media/morphin/ROOT type btrfs (rw,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/,uhelper=udisks2)



Any body help please???
 
Old 10-24-2016, 12:33 AM   #5
SpyderX
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by morphin View Post
Hello.

I was looking Thin client Linux distro.
I found Thinstation but i didnt like it.
Than i found HP Thinpro Linux deb distro.
I'm runing this distro from usb. And working good...

Now i need to delete some packages and make some customization.
But i can't mount as RW. (btw I'm using ubuntu 16.04)
Thinpro's File system is BTRFS.

How can i access root dir?
There should be a way to remount the filesystem live without the read-only option. I have a similar RO filesystem that ocassionally needs an update or mod.

Something like
> mount -o remount,rw /dev/partition
 
Old 10-24-2016, 01:18 AM   #6
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
More 'wild-guesses' (sorry...): is it a 'snapshot'? (naw...)
Are there tools like {dump,tun}btrfs? Anything in logs? df showing 100%?

Oh! maybe: fsunlock, from search: "thinpro" linux "read only"

Last edited by Jjanel; 10-24-2016 at 01:35 AM.
 
Old 10-24-2016, 08:11 AM   #7
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
More 'wild-guesses' (sorry...): is it a 'snapshot'? (naw...)
Are there tools like {dump,tun}btrfs? Anything in logs? df showing 100%?

Oh! maybe: fsunlock, from search: "thinpro" linux "read only"
Dude...
Why do you underestimate?
Things that are easy for you can be difficult for someone else.
Asking for help isn't a crime. I search a lot but i didn't saw your link before. Thank you anyway.
But this is works only when its booted. I can't reach still while mounted on Ubuntu.

Last edited by morphin; 10-24-2016 at 08:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read only file system problem sanjeevdrdo Linux - Virtualization and Cloud 8 06-09-2015 05:44 AM
File system becomes read-only, hardware failure or software problem? sharpblade Linux - Software 10 12-11-2014 01:14 AM
Read Only File system problem geekslinux Ubuntu 1 09-05-2014 07:25 AM
'Read-only file system' problem buehler Linux - Newbie 7 05-09-2006 12:13 AM
problem: a read only file system milo36472 Linux - Newbie 3 01-24-2005 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration