Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2000 07:36:46 -0700
From:      nathan@khmere.com
To:        "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>, "freebsd-net@FreeBSD.ORG" <freebsd-net@FreeBSD.ORG>
Subject:   loader help !! (bug ??) 4.0-STABLE
Message-ID:  <39673C7E.ED9D9D21@khmere.com>

next in thread | raw e-mail | index | archive | help
Sorry for the re-post but not reponse !!

I have FreeBSD 4.0-STABLE on i386, was -RELEASE )

What I am trying to do is  nfs  root  boot from the loader (?)
I do:

ok> unload kernel
ok> load diskless_kernel
ok> set kernel=diskless_kernel
ok> boot -r -h


Now what I understand is the -r flag will tell the kernel to overide the

rootdev and use the "staticly linked device" from when you made the
kernel (this would be the BOOTP_NFSROOT option ?)

Now my kernel  (the diskless_kernel ) is a diskless kernel ( with BOOTP,

NFS_ROOT .... etc.. ) compiled in.
But when I boot like this is just tries to mount /dev/ad0s1a ... (normal

device ) even though it gets the proper reply from the bootp server that

its rootfs=<nfs mount> it even prints :

rootfs is <my nfs mount >
Mounting  root from ufs:/dev/ad0s1a

but still mounts the ufs !

How do if force it to boot root fs on nfs  ?

I have tried to do a boot -a then when I prompts me for root fs I enter
the proper nfs mount and for RELEASE it would boot diskless but for
STABLE is fails !!

I have tried to :

ok> set rootdev=nfs:<my nfs server ip : mount >
ok> boot -h
ok> can't determine root device

I have also passed it various kernel flags and env options...  (mybe
wrong ones ... ? )

how do I have the kernel to load the rootfs = nfs root instead of use
the currdev ?

What does etherboot do when it loads  the kernel ? does it pass it
special parameters ??

If you are wondering why I just don't boot from etherboot ....etc...(I
do ) but...  I want to be able to boot  my remote systems without a
floppie and chose how to boot from loader (via serail console ...I don't

have serial access for the bios but I can get serial console with
FreeBSD !! ). Either default (use local drive) or load the diskless
kernel , then boot  diskless.
This way I almost the same options ..... and maybe automate it...

 Any help would be great !!

thank you kindly....

nathan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39673C7E.ED9D9D21>