Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No write access upon boot. Not all partitions get mounted.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gentling
n00b
n00b


Joined: 21 Jul 2012
Posts: 16

PostPosted: Sat May 18, 2013 5:34 am    Post subject: No write access upon boot. Not all partitions get mounted. Reply with quote

Partitions are mounted read only upon start up. I have to run the command
Code:
mount -o remount,rw /mountpoint
every time write access is needed. Also, the root paritiion, /run ,and /usr are the only partitions that get mounted upon boot. I have to manually mount the others (such as /var). Here is my fstab.
Code:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT      /boot      ext2      noauto,noatime   1 2
#/dev/ROOT      /      ext3      noatime      0 1
#/dev/SWAP      none      swap      sw      0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0
/dev/sda1      /windows      ntfs-3g      uid=1000,gid=100,umask=0022         0 0
/dev/sda5      /boot         ext4      defaults,noatime,sync,nosuid,user      0 2
/dev/sda6      /         ext4      defaults,noatime,sync,nosuid         0 1
/dev/sda7      /var         ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda8      /run         ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda9      /usr         ext4      defaults,noatime,sync,nosuid         0 2   
/dev/sda10      /usr/local      ext4      defaults,noatime,sync,nosuid         0 2   
/dev/sda11      /usr/portage      ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda12      /usr/portage/distfiles   ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda12      /usr/portage/packages   ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda13      /var/tmp      ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda14      /opt         ext4      defaults,noatime,sync,nosuid         0 2
/dev/sda15      none         swap      sw                  0 0
/dev/sda17      /home         ext4      defaults,noatime,sync,nosuid         0 2
tmpfs         /tmp         tmpfs      defaults,nodev,nosuid,sync,nosuid      0 0

/dev/cdrom      /mnt/cdrom      auto      noauto,user      0 0
/dev/sdb      /mnt/flash_drive   auto      noauto,user      0 0
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat May 18, 2013 2:36 pm    Post subject: Re: No write access upon boot. Not all partitions get mounte Reply with quote

Gentling wrote:
Code:
/dev/sda8 /run ext4 defaults,noatime,sync,nosuid 0 2

Gentling ...

'/run' is tmpfs and should be mounted by bootmisc so you shouldn't be mounting it via fstab. As openrc uses /run for runtime data, and so keeping track of the boot process, I imagine this is the reason your mounts don't work correctly.

best ... khay
Back to top
View user's profile Send private message
Gentling
n00b
n00b


Joined: 21 Jul 2012
Posts: 16

PostPosted: Sat May 18, 2013 7:03 pm    Post subject: Thank you, that worked. Reply with quote

Now I've got an extra partition. You can never have too many of those. :roll:
I'm glad it was such a simple thing to fix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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