From owner-freebsd-stable Mon Feb 4 15:29:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from cumin.apnic.net (cumin.apnic.net [202.12.29.59]) by hub.freebsd.org (Postfix) with ESMTP id 08B1837B42A for ; Mon, 4 Feb 2002 15:28:51 -0800 (PST) Received: from apnic.net (hadrian.apnic.net [202.12.29.249]) by cumin.apnic.net (8.12.1/8.12.1) with ESMTP id g14NNfKa015698 for ; Tue, 5 Feb 2002 09:23:42 +1000 To: freebsd-stable@freebsd.org Subject: Re: how to tell the kernel to use mfs in loader In-reply-to: Your message of "Mon, 04 Feb 2002 10:06:40 -0500." <15454.41856.576648.713774@grasshopper.cs.duke.edu> Date: Tue, 05 Feb 2002 09:28:47 +1000 Message-ID: <29347.1012865327@apnic.net> From: George Michaelson X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > In the loader, set vfs.root.mountfrom=ufs:/dev/md0c > (or whatever the memory disk that the install uses is called). > > Drew This worked. Had to do it manually in loader, this value in loader.rc failed: set vfs.root.mountfrom="ufs:/dev/md0c" maybe the quotes were bad. Done directly at the prompt, it worked fine. Subsequently, ftp ftp://xxx.yyy.aaa.bbb/ failed, after I toasted my /root so I no longer have the image on the HD, and cannot repeat, and will now have to do a real install but the instructions above were fine! the manpage for loader.conf could do with this: it says words which imply ONLY a stated list of kernel params can be set, when it maybe need to be set to say "for example the following kernel values can be set..." And, this specific example is useful because load -t mfs_root is not of it self adequate to make a loaded kernel use MFS: the vfs.root.mountfrom is needed as well. cheers and thanks -George PS are people sure the /stand/sysinstall process can grok IP numbers direct in embedded FTP url's? I suspect it tried DNS lookup on the address I used (RFC1918, behind a cable router. I tested ftp to the host and it worked fine) -- George Michaelson | APNIC Email: ggm@apnic.net | PO Box 2131 Milton QLD 4064 Phone: +61 7 3367 0490 | Australia Fax: +61 7 3367 0482 | http://www.apnic.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message