Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

VFS: Mounted root (ext4 filesystem) readonly

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Ripper-tm
n00b
n00b
Posts: 13
Joined: Sun May 29, 2011 5:55 pm

VFS: Mounted root (ext4 filesystem) readonly

  • Quote

Post by Ripper-tm » Sun May 29, 2011 6:11 pm

I have the same problem as was discussed there -> http://forums.gentoo.org/viewtopic-p-6295101.html
except that "Large files and block devices" are enabled in my kernel.

dmesg

Code: Select all

EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 396k freed
Write protecting the kernel text: 4244k
Write protectiong the kernel read-only data: 1664k
init-early.sh used greatest stack depth: 6696 bytes left
grub

Code: Select all

default 0
timeout 10

title Gentoo
root (hd0,0)
kernel /boot/kernel-2.6.37-gentoo-r4 root=/dev/sda2 raid=noautodetect rootfstype=ext4
fstab

Code: Select all

/dev/sda1    /boot     ext3     noauto,noatime   1 2
/dev/sda2    /         ext4     noatime          0 1
/dev/sda3    none      swap     sw               0 0
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 29, 2011 8:57 pm

http://forums.gentoo.org/viewtopic-t-87 ... art-0.html refers.
It may be that you need to change kernel config to include:
Device Drivers --->
Generic Driver Options --->
(/sbin/hotplug) path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[ ] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages
and mount /boot and recompile and recopy the kernel.
Defund the FCC.
Top
feystorm
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Thu Jan 29, 2004 6:40 pm

  • Quote

Post by feystorm » Sun May 29, 2011 9:37 pm

Its normal to see the message "Mounted root (ext4 filesystem) readonly", and is ill-advised to change this without knowing what youre doing.

The line that we need to see will say something similar to "Unable to mount / on unknown block device" or "Unable to mount unknown filesystem on block (0,1)" or such.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun May 29, 2011 10:12 pm

While
EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 396k freed
Write protecting the kernel text: 4244k
Write protectiong the kernel read-only data: 1664k
init-early.sh used greatest stack depth: 6696 bytes left
are all normal outputs during boot; having the process then hang is not normal.
Defund the FCC.
Top
Ripper-tm
n00b
n00b
Posts: 13
Joined: Sun May 29, 2011 5:55 pm

  • Quote

Post by Ripper-tm » Mon May 30, 2011 3:04 am

DONAHUE wrote:http://forums.gentoo.org/viewtopic-t-87 ... art-0.html refers.
It may be that you need to change kernel config to include:
Device Drivers --->
Generic Driver Options --->
(/sbin/hotplug) path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[ ] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages
and mount /boot and recompile and recopy the kernel.
Thanks a lot! This solved the problem.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Mon May 30, 2011 3:09 am

Wahoo!
Defund the FCC.
Top
nkichukov
n00b
n00b
Posts: 15
Joined: Tue Oct 16, 2012 1:11 pm
Location: Amstelveen, Netherlands

  • Quote

Post by nkichukov » Fri Oct 19, 2012 8:21 am

True, it saved me after multiple kernel recompilations. Thanks guys!
Enabling Large file support in the linux kernel allowed the ext4 filesystem to mount read-write.

Cheers,
-Nik
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic