Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FIle system read only after install ?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Thu May 28, 2020 6:56 pm    Post subject: FIle system read only after install ? Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3150

PostPosted: Thu May 28, 2020 7:19 pm    Post subject: Reply with quote

Code:
 UUID=58e72203-57d1-4497-81ad-97655bd56494 / xfs n oatime 0 1
You have an extra space there in your fstab.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri May 29, 2020 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 29, 2020 2:09 am    Post subject: Reply with quote

Either your init system fails to run properly or your root filesystem has "dirty bit" set. You may want to activate interactive boot in rc.conf.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 2:24 am    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri May 29, 2020 7:31 am    Post subject: Re: FIle system read only after install ? Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 12:23 pm    Post subject: Reply with quote

This still is not working my friend
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 12:51 pm    Post subject: Reply with quote

How do i check if my init is working properply maybe i have missed something
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 29, 2020 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri May 29, 2020 5:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 29, 2020 6:17 pm    Post subject: Reply with quote

NeddySeagoon,

there is a duplicate entry in fstab. I'm not sure what localmount does in case like this, maybe it stops processing fstab.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri May 29, 2020 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri May 29, 2020 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri May 29, 2020 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Fri May 29, 2020 8:15 pm    Post subject: Reply with quote

i added notail to boot and efi

i will emerge wget paste whats the next steps
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Fri May 29, 2020 9:22 pm    Post subject: Reply with quote

Gentobobbyuk,

Emerge wgetpaste. Boot your install. Run
Code:
dmesg | wgetpaste
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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat May 30, 2020 2:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat May 30, 2020 2:41 am    Post subject: Reply with quote

Gentobobbyuk,

there is no law against remounting root filesystem read-write by hand.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat May 30, 2020 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat May 30, 2020 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum