Read Only Home Partition (file system permission) - after installation of 18.2
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Read Only Home Partition (file system permission) - after installation of 18.2
Hi everybody cheers from Rome,
I've installed Mint 18.2 Mate on a clean Ssd in an Ext4 partition (got other partitions on this hd),
during installation as usual, i set the /home directory to my previous Hd with data (/dev/sda3 750Gb Hd which got the /home before),
set it to Ext4 and with the Formatting flag, Unchecked. (could be the fact of setting it again in Ext4? one could not do any else in that option)
all went fine but when the Os opened my Desktop and so the Home partition, were not writeable, so R.O.
(this problem is just in SDA3 not in the other
So the DE is just showing the desktop file, all just Read Only, actually i can't open them, and so the files in Home Directory.
The DE can't configure some of its files in the Home and so on.
I got not the Desktop bar too, so it's difficult to open app, i'm writing from another Pc so i cant post easily results from input code.
How this could have happened? And why?
I can access to the Recovery Menu from Grub, what's the command to set me (dario it's the username) as owner of sda3 file-system?
Thanks Guys
I've installed Mint 18.2 Mate on a clean Ssd in an Ext4 partition (got other partitions on this hd),
during installation as usual, i set the /home directory to my previous Hd with data (/dev/sda3 750Gb Hd which got the /home before),
set it to Ext4 and with the Formatting flag, Unchecked. (could be the fact of setting it again in Ext4? one could not do any else in that option)
all went fine but when the Os opened my Desktop and so the Home partition, were not writeable, so R.O.
(this problem is just in SDA3 not in the other
So the DE is just showing the desktop file, all just Read Only, actually i can't open them, and so the files in Home Directory.
The DE can't configure some of its files in the Home and so on.
I got not the Desktop bar too, so it's difficult to open app, i'm writing from another Pc so i cant post easily results from input code.
How this could have happened? And why?
I can access to the Recovery Menu from Grub, what's the command to set me (dario it's the username) as owner of sda3 file-system?
Thanks Guys
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Did you use the same user name in the new installation as in the previous installation?
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Hi,
Yes i used the same username and the same pc name.
Yes i used the same username and the same pc name.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Read Only Home Partition (file system permission) - after installation of 18.2
You're going to need to drop to a terminal. Post the contents of /etc/fstab, and the output of this command:Gibbo wrote:Home partition, were not writeable, so R.O.
Code: Select all
sudo blkid
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Ok, thanks, it's not easy to post attaches, the DE is not usable, and i cant use browsers too.
So i have to take photos...
btw luckily i can use terminal
It's me or the RO fs is in sdc? that's the ssd with Mint, but the /home it's on sda3
Other thing i noticed is that the Pc name i think i changed the first letter with the same btw Capital, could e that? (btw i'm not sure it changed)
.
So i have to take photos...
btw luckily i can use terminal
It's me or the RO fs is in sdc? that's the ssd with Mint, but the /home it's on sda3
Other thing i noticed is that the Pc name i think i changed the first letter with the same btw Capital, could e that? (btw i'm not sure it changed)
.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Read Only Home Partition (file system permission) - after installation of 18.2
It looks like a reinstall where you have existing files on sda3. Do you have important files there?
I think it's a permissions issue so you need to chown the mount point:
As you've noted, you'll have to do it through the recovery entry in GRUB.
I think it's a permissions issue so you need to chown the mount point:
Code: Select all
sudo chown <user> /media/<user>/home
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Yes on SDA3 i got the old /home, so i didn’t format it when i installed,(there is no a way to leave the FS extension as the old previuos one?)
got hundreds of GB of important Data there.
Does Chown change the owner of the entire FS?
Btw the command dont work:
"impossible to access. directory or media doesn't exist"
got hundreds of GB of important Data there.
Does Chown change the owner of the entire FS?
Btw the command dont work:
"impossible to access. directory or media doesn't exist"
Last edited by Gibbo on Sun Aug 13, 2017 7:05 am, edited 2 times in total.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Read Only Home Partition (file system permission) - after installation of 18.2
No, in the command I've given you, chown will only change the owner of the mount folder.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Read Only Home Partition (file system permission) - after installation of 18.2
So why don't change the entire FS permissions?
(btw i've Edited the post, that directory seems doesn't exist)
(btw i've Edited the post, that directory seems doesn't exist)
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Boot in normal mode (not Recovery).
Press Ctrl+Alt+F2
login in as dario
Enter these commands:
Start recording your terminal output to a text file named "terminal.txt" using the script program.
All terminal output, and keyboard input, will be recorded in the text file. Try to avoid the Backspace and DEL keys, because those are recorded also, and will make the text file messy and harder to read. (Type carefully.)
After running your commands, press ctrl-d to end the script function.
Install pastebinit:
Post the contents of terminal.txt to the pastebin with the command:
Post the resulting url link here to the forum.
Then shutdown:
Press Ctrl+Alt+F2
login in as dario
Enter these commands:
Code: Select all
sudo umount /dev/sda3
Code: Select all
sudo mount /dev/sda3 /home
Code: Select all
sudo chown dario:dario /home/dario
All terminal output, and keyboard input, will be recorded in the text file. Try to avoid the Backspace and DEL keys, because those are recorded also, and will make the text file messy and harder to read. (Type carefully.)
Code: Select all
script terminal.txt
Code: Select all
ls -la /home
Code: Select all
ls -la /home/dario
Install pastebinit:
Code: Select all
sudo apt-get install pastebinit
Code: Select all
pastebinit terminal.txt
Then shutdown:
Code: Select all
sudo shutdown -h now
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: Read Only Home Partition (file system permission) - after installation of 18.2
At first command says
And then (but also before the command, i think is the RO problem with Home) a lot of lines continuing to add:
all are like these with different sectors
Code: Select all
Target is busy
all are like these with different sectors
Code: Select all
blk_update_request : I/O error, dev sda, sector *********
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
An I/O error could be a hardware problem. Check the cable connections to the hard drive. Replace the SATA cable, if possible.
Also, boot to Recovery mode and chose
Also, boot to Recovery mode and chose
fsck "Check all file systems"
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Cable replaced, Sata port changed.
Fsck done, all seems clean, (it did on Sda and Sdc)
I think the i/o errors are due to the RO FS,
imo the "Target is busy" it's for the same issue
These are some of the error in terminal without X (ctrl+alt+f2)
Fsck done, all seems clean, (it did on Sda and Sdc)
I think the i/o errors are due to the RO FS,
imo the "Target is busy" it's for the same issue
These are some of the error in terminal without X (ctrl+alt+f2)
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
What makes you think it is RO ?Gibbo wrote:I think the i/o errors are due to the RO FS,
Does the command
mount
report RO ?Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: Read Only Home Partition (file system permission) - after installation of 18.2
i'm not sure, i'm stuck at first command You kindly gave,
so what can i do now? try those in recovery mode?
so what can i do now? try those in recovery mode?
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
I don't really think it is a RO or ownership problem. I think it is a hardware or damaged filesystem problem.
Boot your live Mint DVD or USB.
You can install and run smartmontools:
Run the test:
To perform a short test:
then: for the results.
Boot your live Mint DVD or USB.
You can install and run smartmontools:
Code: Select all
sudo apt-get install smartmontools
Code: Select all
sudo smartctl -a /dev/sda
Code: Select all
smartctl -t short /dev/sda
Code: Select all
smartctl -l selftest /dev/sda
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: Read Only Home Partition (file system permission) - after installation of 18.2
Thanks, i appreciate!
Done the short one, may i do the normal? btw:
And Smart was fine before ad now...
Done the short one, may i do the normal? btw:
Code: Select all
Short offline test . Status: completed without error Lifetime: 5600 hours
Re: Read Only Home Partition (file system permission) - after installation of 18.2
i did the Complete Test on Sda and Sda3, all fine with No Errors
Austin, may i try to do that procedure umounting the Sda? (instead of Sda3).
Austin, may i try to do that procedure umounting the Sda? (instead of Sda3).
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: Read Only Home Partition (file system permission) - after installation of 18.2
sda is not a partition, therefore it is not mounted.Gibbo wrote:may i try to do that procedure umounting the Sda? (instead of Sda3).
I don't know why you are getting those errors when trying to mount sda3. The only suggestion I can make is to save off all your data to a backup location, and rebuild the partitions on sda - starting with a new partition table. Someone else might have a better idea...
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
EDIT
i had to write this well, the complete raw was: "/home target is busy" , so it's due to the /home directory mounted that it can't unmount?Gibbo wrote:At first command saysCode: Select all
Target is busy
must we umount /home first and then Sda3?
However sometimes the I/O errors on the disk when Terminal (F2) is open, don't occur, so i reached to write all the commands.
btw i tried your procedure, the second command gets:
Code: Select all
/dev/sda3 is already mounted on /home
The script was ok, here is the link: https://pastebin.com/dYQH6LA4
I think we are near to the solution!