Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partitions mounted as read-only... mount -a partially helps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Tue Apr 07, 2015 7:29 am    Post subject: Partitions mounted as read-only... mount -a partially helps Reply with quote

Hi,

i'm having a very weird issue were my system starts with all partition mounted as read-only. Here's my fstab

(sda is an SSD, sdb a normal disk)
Code:
/dev/sda3   /               ext4     noatime,nodiratime,discard     0 1
/dev/sdb2   /home      ext4     defaults,nosuid,nodev,noatime,nodiratime     0 2
/dev/sda2   /boot        ext4     defaults,noatime,nodiratime,discard   0 2
/dev/sdb1   none        swap    sw      0 0


fsck says my disks are fine.

Here is the funny thing that happen if I login and try to create files in different place:

Code:
touch /home/test2
touch: cannot touch '/home/test2': Read-only file system


touch /boot/test2
touch: cannot touch '/boot/test2': Read-only file system


touch /root//test2
touch: cannot touch '/root/test2': Read-only file system

mount -a

touch /home/test2

touch /boot/test2

touch /root/test2
touch: cannot touch '/root/test2': Read-only file system


dmesg:

Quote:
sda: sda1 sda2 sda3
sd 0:0:0:0 [sda] Attached SCSI disk
EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (sda3): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)


I think the ext3 and ext2 messages are explained by the fact that i turned off ext3/3 support in the kernel.

Any help is welcome, i'm a bit puzzled at this point !
Back to top
View user's profile Send private message
oliver2104
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 197
Location: Wien

PostPosted: Tue Apr 07, 2015 9:16 am    Post subject: Reply with quote

I would recommend, that you first follow the gentoo-handbook.
e.g. X86/Installation/Kernel -> Selecting necessary file systems
You cannot do any mistake when selecting these kernel-options compiled in the kernel and not as a module
Code:

  <*> Second extended fs support
  <*> Ext3 journalling file system support

When using make menuconfig, open Help for FileSystems-> (ext4) filesystem
Quote:
... The ext4 filesystem will support mounting an ext3 filesystem ...

Generally, I would enable every kernel-options recomended by the gentoo-handbook,
later You will have time to reduce the options step by step.
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
Page 1 of 1

 
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