> On Jan 14, fellow <[EMAIL PROTECTED]> wrote:
> 
> > If the boot parameters is like: kernel (hd0,0)/boot/bzImage-now 
> > root=/dev/hdd1 ro
> > the boot process will halt with an error message:
> > 
> > Mounting a tmpfs over /dev...rm: cannot remove '/dev/test-file'
> > 
> > The solution is simple: change the boot parameter to "rw".
> I do not understand why this would be relevant, /dev/test-file is
> created on the just-mounted tmpfs.
> Can you check what really happens?
> 
> -- 
> ciao,
> Marco

Hi!

I try gather some more information,

Boot messages, if the boot parameter is ro:

 (...)
 Freeing unused kernel memory: 152k freed
 INIT: version 2.86 booting
 Mounting a tmpfs over /dev...rm: cannot remove '/dev/test-file'
 Setting disc parameters: done.
 (...)

 CONTROL-D will exit from this shell and continue system start

 /dev/console: No such file or directory
 Give root password for maintenance
 (or type Control-D to continue):

After logging in as root, the result of 'mount' is:

 /dev/hdd1 on / type reiserfs (rw,data=journal)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw)

Simply the '/dev' is not mounted, but the result of 'ls -l /dev':
 total 13K
    0 drwxr-xr-x   2 root root 140 Jan 14  2005 ./
  512 drwxr-xr-x  21 root root 520 Jab  6 01:29 ../
    0 prw-------   1 root root   0 Jan 14  2005 initctl|
 4,0k -rw-rw-rw-   1 root root 626 Jan 14 13:04 null
    0 lrwxrwxrwx   1 root root   4 Jan 14  2005 test-file -> test
 4,0k -rw-r--r--   1 root root   3 Jan 14  2005 tty0
 4,0k -rw-r--r--   1 root root   3 Jan 14  2005 tty1


If the boot parameter is rw, everything is ok.
The relevant section of a correct 'mount':

/dev/hdd1 on / type reiserfs (rw,data=journal)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode=0755)

What kind of other information do you need?
How can i check "what really happens"?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to