|
From: Jochen R. <jo...@pa...> - 2002-11-28 19:46:41
|
Kurt,
> Santiago Garcia Mantinan <ma...@ay...> schrieb am 28.11.02 20:12:25:
> > > One weird thing with the nfs root fs -- the mount command does not show any
> > > of the mounts, i.e. rootfs, /proc, /dev, etc. ???? The nfs root fs works
> > > very nicely otherwise.
> >
> > Yes, this is because the root fs is read only (at least I have it like that)
> > and /etc/mtab doesn't show a thing about actual mounts, I'll try to get this
> > a little bit better, and also to fix the lot of noisy errors coming on the
> > screen, but after we get all hard working, I prefer to try to get hard
> > working first. ;-)
>
> let me do the easy work ;-) You should add the "rw" to the list of kernel-parameter and you're done :-)
Here is my current command line:
console=ttyS0,9600 root=/dev/nfs rw nfsroot=/home/jochen/export/basic ip=dhcp
And here is what I export on the nfs server:
[jochen@mops backup]$ exportfs -v
/home/jochen/export/basic
10.4.4.0/24(rw,async,wdelay,no_root_squash)
/home/jochen/export/xfb
10.4.4.0/24(rw,async,wdelay,no_root_squash)
The directories basic and xfb contain what Santiago put up in tarballs
on http://prohibido.aytolacoruna.es/nc/ .
> btw: I got a SuSE 7.0 PPC running on the NS1000 :-)))
> ... OK, still without X, but that's the hard e.g. YOUR part ;-))))
I think there's something the suse rc scripts do differently. Check out
the df error message below. Probably /etc/mtab not updated after boot.
debian:~# mount
debian:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / nfs rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=10.4.4.11 0 0
none /dev devfs rw 0 0
proc /proc proc rw 0 0
debian:~# df
df: cannot read table of mounted filesystems
debian:~# mount -r /dev/hda1 hd
debian:~# mount
/dev/hda1 on /root/hd type ext2 (ro)
debian:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 1587396 302712 1204048 21% /root/hd
debian:~#
Anyway, I am sure we will figure it out.
Kurt, any way you can post your root file system as a tarball, or step-by-step
instructions for install-handicapped people like myself?
Jochen
|