View previous topic :: View next topic |
Author |
Message |
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Thu May 28, 2020 6:56 pm Post subject: FIle system read only after install ? |
|
|
I seem to have a read only file system after boot .
Code: |
#LABEL=boot /boot ext4 noauto,noatime 1 2
UUID=58e72203-57d1-4497-81ad-97655bd56494 / xfs n oatime 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/sda1 /boot/efi vfat noauto,notime 0 2
/dev/sda2 /boot/efi ext2 defaults 0 2
/dev/sda3 none swap sw 0 0
#/dev/sda4 / xfs noatime 0 1
/dev/sda5 /home ext4 noatime 0 2 |
not sure whats going on
code tags added by NeddySeagoon - after szatox's post |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3150
|
Posted: Thu May 28, 2020 7:19 pm Post subject: |
|
|
Code: | UUID=58e72203-57d1-4497-81ad-97655bd56494 / xfs n oatime 0 1 | You have an extra space there in your fstab. |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 1:57 am Post subject: |
|
|
that has edited itself for some reason there is deffo no space on noatime on my fstab
ive also tried to /dev/sda4 optiom there is deffo no space on eitjer |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri May 29, 2020 2:04 am Post subject: |
|
|
Also two partitions with the same mount point, /boot/efi
Are you using grub, reFind or something else?
Perhaps you intended /dev/sda2 to be /boot ? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 2:24 am Post subject: |
|
|
please explain how to do both options im not the smartest
sorry i typed the /boot/efi twice
my fstab is deffo set correctly . |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri May 29, 2020 7:31 am Post subject: Re: FIle system read only after install ? |
|
|
Gentobobbyuk wrote: | Code: |
#LABEL=boot /boot ext4 noauto,noatime 1 2
UUID=58e72203-57d1-4497-81ad-97655bd56494 / xfs n oatime 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/sda1 /boot/efi vfat noauto,notime 0 2
/dev/sda2 /boot/efi ext2 defaults 0 2
/dev/sda3 none swap sw 0 0
#/dev/sda4 / xfs noatime 0 1
/dev/sda5 /home ext4 noatime 0 2 |
|
... pretty formatting to improve readability |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 12:23 pm Post subject: |
|
|
This still is not working my friend |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 12:51 pm Post subject: |
|
|
How do i check if my init is working properply maybe i have missed something |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri May 29, 2020 5:18 pm Post subject: |
|
|
Gentobobbyuk,
Quote: | You may want to activate interactive boot in rc.conf. |
If these were Ubuntu forums I'd tell you a conf file is likely to be found in /etc/. I'd tell you once you found it there read it. Then I'd tell you how to edit it to enable interactive init. But these are not Ubuntu forums, we do not practice spoonfeeding here. Thus, I'm not going to tell you any of that. No, sir. I'm leaving it all to you to discover. Because you are a proud Gentoo user who can look into things like this all by yourself, right? _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri May 29, 2020 5:31 pm Post subject: |
|
|
Gentobobbyuk,
Root normally stays read only because the rootfsck service ran and failed.
You will get an error in dmesg when that happens.
With some filesystem, add ro to the kernel command line passed by the boot loader, prevents root being remounted read/write.
/etc/fsck is not used to find the root filesystem but it is consulted by rootfsck to learn the filesystem type.
If your root is not xfs, rootfsck fails. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 6:51 pm Post subject: |
|
|
So as a dyslexic user asking for help im better of asking google is that what ur saying ? as i have no idea why its not working never had this issue before and ive been hamering google .
i dont no if its a line in my grub or what i dont no where stuff is located a gentoo has changed .
so ur basically saying dont ask the forum ?> |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri May 29, 2020 7:09 pm Post subject: |
|
|
Jaglover,
localmount is quite happy to mount one filesystem over the other.
Don't ask how I know that :)
Hmm ... /boot is noauto, so the /boot/efi mount point won't exist.
Both the /boot/efi mounts are missing the nofail option, so localmount fails.
Gentobobbyuk,
Look carefully at what Jaglover is not telling you. The pathway is there to be followed, if a little obscured by the nots.
Remove the noauto option from boot. Its preventing any of your /boot/efi mounts from suceeding. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 7:19 pm Post subject: |
|
|
ok neddy so remove no auto from boot or both boot and efi dont worry they are sepreate partions
Ive removed it and still getting read only .
There are so erros on boot red but far to quick for me to see |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri May 29, 2020 7:26 pm Post subject: |
|
|
Gentobobbyuk,
One step at a time. Having two /boot/efi entries in fstab is wrong but thats not why root is read only.
Not mouting /boot, then trying to mount /boot/efi inside it will fail because /boot is not mounted.
That may cause root to stay read only.
Your two /boot/efi entries can be resolved later. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 7:31 pm Post subject: |
|
|
There is one /boot and one boo/efi
/boot is dev/sda2
boot/efi/ is dev/sda1
ive taken the command above off and its still failing,
have i missed a crutical part of the kernel ?
even though my fstab was correct i tired what i had posted by accident and the machine still booted so i dont believe that would of have been a problem anyways ? |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 7:41 pm Post subject: |
|
|
nofail added still no joy
is there away to post my boot ouput il have to log back in through the usb to emerge any apps |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri May 29, 2020 8:05 pm Post subject: |
|
|
Gentobobbyuk,
You need wgetpaste.
Where exactly did you add nofail?
That is a more complex fix than removing noauto. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Fri May 29, 2020 8:15 pm Post subject: |
|
|
i added notail to boot and efi
i will emerge wget paste whats the next steps |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri May 29, 2020 9:22 pm Post subject: |
|
|
Gentobobbyuk,
Emerge wgetpaste. Boot your install. Run Post the link, as long as it works. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sat May 30, 2020 2:22 am Post subject: |
|
|
cant do that bro read only can i do that command at boot some how ? and if im correrct use this
>>
to place it in a text file.
remount wget is insatlled wget that file ?
sorry if nonesnece |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sat May 30, 2020 12:21 pm Post subject: |
|
|
just mount /devsda4 ?
I havent used gentoo for a long time .
I justr want to make sure im dong things correctly.
I so search google and im dysleic bro i struggle to understand some things thats why i come here for advice. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat May 30, 2020 12:39 pm Post subject: |
|
|
Gentobobbyuk,
Code: | mount -o remount,rw / |
Any error message will be interesting. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|