When booting it went through the file system clean check for /dev/hd10
which is where my root / is. It then prompt a message "Remounting root
files system in read-write mode [OK]", stop there.
So I downloaded an ramf-78.exe rescue file from metalab and booted it
from floppy. I check my original /etc/rc.d/rc.sysinit and found the
following lines:
.
.
.
#Remount the root filesystem read-write
action "Remounting root files system in read-write mode" mount -n -o
remount, rw /
#Add /proc to /etc/mtab
mount -f -t proc /proc /proc
.
.
.
Since the line of 'mount -f -t proc /proc /proc' is after the remounting
filesystem action, would it be the mount proc causing the problem? The
rescue boot disk doesn't have editor and I cannot editor any file. Any
solution to my problem? Thank you.
feng
feng
Mihai LEONTESCU wrote:
> You'll have to try this manually
> Restart your linux box and when lilo prompts type
> linux root=/dev/hd10 init=/bin/sh
>
> after this you will get the prompt (you booted the single user mode)
> now, you have to remount your root partition rw because it's readonly
> you got to do like this
> sync
> umount -n /
> mount / -o remount,rw
>
> now you have full access to your files, and you can edit them
>
> oh, do not mount proc before root :) and mount proc or else you'll have
> some tiny problems :)
>
> ------------------------------------------------------------------------------
> Mihai LEONTESCU
> SC Deuroconsult SRL
> Departamentul Internet
> Misu(nix) web Page : http://misu.bv.ro
> -------------------------------------------------------------------------------
Then a blinking cursor appeared without # sign as before. Everything was
stopped. The system didn't respond to any command any more. I waited for it for
a long time, it was still like that. I had to use Ctrl-Alt-Del to reboot the
system
What does the error message meant? How do I fix this problem so that my system
can boot normally? Thank you again.
feng
Mihai LEONTESCU wrote:
> use init=/bin/sh
> after this you have to sync disks (use sync)
> then umount the root filesystem : umount /
> then: mount / -o remount,rw
> then fsck /dev/hda10
> that should do the trick
>
> Mihai Leontescu
> http://misu.bv.ro
> Remember that the enemy is listening...