From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 11:08:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD076106564A for ; Wed, 31 Mar 2010 11:08:37 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 536948FC12 for ; Wed, 31 Mar 2010 11:08:36 +0000 (UTC) Received: by fxm25 with SMTP id 25so94181fxm.3 for ; Wed, 31 Mar 2010 04:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=Cjlvqjj297/1kP4mHTQP6Es1E/Rn+8MVQArKPElVBjs=; b=Vwb6j0coE/mWzzKNYQHAb0equ6+PVgBeZPmMtUkj9eWX2SOYZOR3zpppeTQ7rwhA2+ Rzf00hhGzS7ka/X5JQlAooWPBf8RKId8hEj3CELjC6ZvcgpPAR4jk/Dzl7I1BlCoRSBV mRiz64LcPsFLUM74Wf7eqKqrVSIHNQ0nA5MHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SiIRrTgBF7TW5bYzSSHNk+v50ZRM6KA33o0yH4XffWI8zT3uoHn+XIHd7jcLOuXh/1 /ZQPqI9I1kR3zR9Jja0bSbzS3FPJUKOPuLBFIpHCkiTSD4PeVdYuIMp8DoETfxSXpQU1 RwC69tVqWFPC3SJWaq9Q0yIITnT8nMasHignI= MIME-Version: 1.0 Received: by 10.239.157.136 with HTTP; Wed, 31 Mar 2010 04:08:36 -0700 (PDT) In-Reply-To: <4BB2C734.1070301@a1poweruser.com> References: <4BB19257.6020108@a1poweruser.com> <20100330151708.GA16258@dan.emsphone.com> <4BB2C734.1070301@a1poweruser.com> Date: Wed, 31 Mar 2010 12:08:36 +0100 Received: by 10.239.137.69 with SMTP id k5mr700774hbk.214.1270033716071; Wed, 31 Mar 2010 04:08:36 -0700 (PDT) Message-ID: From: krad To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , FreeBSD Questions Subject: Re: /boot.config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 11:08:37 -0000 On 31 March 2010 04:53, Fbsd1 wrote: > Dan Nelson wrote: > >> In the last episode (Mar 30), Fbsd1 said: >> >>> During the boot process I want to change the device used to boot from. >>> From the default 0:ad(0,a)/boot/loader >>> to 0:da(0,a)/boot/loader forcing the boot to continue from usb stick. >>> >>> Here is the problem, the bios have no option to boot from USB device. So >>> thinking let the bios point to first drive to start the boot process and >>> have a /boot.config file to redirect to booting from the USB stick. I am >>> assuming the '0' zero will mean the first USB device. >>> >>> Is there any command i can use to verify the single USB stick is the 0 >>> device? >>> >> >> If you boot DOS from a floppy, can you see the USB stick as B: or C: ? If >> not, then the BIOS probably has no USB support at all, and you'll need to >> put a small boot partition somewhere on your hard drive to pull the kernel >> from. 128MB is large enough for a /boot directory, and you can set >> vfs.root.mountfrom="ufs:/dev/da0s1a" in loader.conf to make it mount its >> root filesystem from the USB stick (since at that point the kernel has >> loaded its own USB drivers). >> >> If you do see the USB drive from a DOS boot floppy, try entering >> "1:da(0,a)?" at the boot block prompt and see if it lists the files in >> your >> USB filesystem. If it does, then "1:da(0,a)/boot/loader" should let you >> boot FreeBSD. >> >> > > The USB stick is plugged in before booting. During boot I select option 6 > from Freebsd menu to go direct to the loader prompt. I have ok on command > line. I enter > vfs.root.mountfrom="ufs:/dev/da0s1a" and get "not found" after hitting > enter key. > At the ok prompt I enter ? for list of available boot devices and only have > ad0 listed. > > It seems the da0 device USB stick is not recognized yet. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > try legacy usb in the bios, it may help