Click to See Complete Forum and Search --> : kernel 2.6.1 ( ext3 filesystem) readonly
Gandalf2041
01-27-2004, 02:01 PM
I have the same problem but worse I think. The last line stops at
Give root password for maintenance
(or type Control-D for normal startup):
I can give the pw and get to a command prompt but, I can edit anything b/c the root filesystem is mounted read-only. What now???
stumbles
01-27-2004, 02:29 PM
Originally posted by Gandalf2041
I have the same problem but worse I think. The last line stops at
Give root password for maintenance
(or type Control-D for normal startup):
I can give the pw and get to a command prompt but, I can edit anything b/c the root filesystem is mounted read-only. What now???
You could do this;
mount rw,remount /
or whatever partition is of concern.
Gandalf2041
01-27-2004, 03:29 PM
Thanks for the quick reply. When I try your suggestion, I get the following error:
"can't create lock file /etc/mtab~179: Read-only file system (use -n flag to override) So, I try:
mount -n rw, remount / and get:
"mount: you must specify the filesystem type" So I try:
mount -n rw -t reiserfs,remount / and get:
"mount: fs type remount not supported by kernel"
Apparently I'm not the brightest crayon in the box :p
SuperNu
01-27-2004, 04:23 PM
I have a question. Why is your subject talking about mounting an ext3 partition, but your mount command using a reiserfs partition? If you are trying to mount an ext3 partition, change reiserfs to ext3. Also, the ext3/reiserfs kernel module might not be loaded, so see if you can /sbin/modprobe ext3 or reiserfs (or whatever the reiserfs module is called).
--SN
Gandalf2041
01-27-2004, 04:44 PM
SuperNu,
I can seem why that would be confusing. Actually, I responded to a thread started by another user. The admins broke it off into a new subject. I am indeed using reiserfs.
j79zlr
01-27-2004, 05:07 PM
did you compile support for resier into the kernel?
Gandalf2041
01-28-2004, 10:58 AM
j79zlr,
I'm pretty sure I did. I've decided to just start over and see if I have them same problem. Maybe I did miss something. I'll post the results of my second attempt. Thanks for all the help
Gandalf2041
01-29-2004, 11:11 AM
OK, Looks like all is well with the world :) Not sure what I did wrong the first time but I guess second time is a charm. There was one quirk however, I followed the Gentoo Installation Guide EXACTLY. It says to setup grub.conf as follows:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.22
root (hd0,0)
kernel (hd0,0)/kernel-2.4.22 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd (hd0,0)/initrd-2.4.22
Now, obviously I changed the kernel name but, the funny thing is, I had to remove the "initrd" line before it would boot. What exactly does this line do?