From owner-freebsd-hackers Wed Nov 13 5: 1:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B58737B401 for ; Wed, 13 Nov 2002 05:01:17 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6219943E3B for ; Wed, 13 Nov 2002 05:01:16 -0800 (PST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id gADD1AsP044619 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 13 Nov 2002 14:01:11 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id gADD19Cu067320 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 13 Nov 2002 14:01:09 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id gADD18l8072328; Wed, 13 Nov 2002 14:01:08 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id gADD12IZ072327; Wed, 13 Nov 2002 14:01:03 +0100 (CET) Date: Wed, 13 Nov 2002 14:01:02 +0100 From: Bernd Walter To: Anton Vinokurov Cc: Bruce M Simpson , freebsd-hackers@FreeBSD.ORG Subject: Re: boot from USB ZIP or USB HDD Message-ID: <20021113130102.GG71666@cicely8.cicely.de> Reply-To: ticso@cicely.de References: <001101c28a5d$973304d0$14d1d0c3@main.inorg.chem.msu.ru> <20021112153812.GJ16068@spc.org> <001801c28a64$7311e330$14d1d0c3@main.inorg.chem.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001801c28a64$7311e330$14d1d0c3@main.inorg.chem.msu.ru> X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 12, 2002 at 06:59:14PM +0300, Anton Vinokurov wrote: > My motherboard (VIA Epia) support booting from USB-FDD, USB-ZIP, USB-HDD and > USB-CDROM. I have no idea how it works and what the difference between all > this methods. My USB flash device could be formatted as "bootable" under > Windows as USB ZIP device, and when I set "boot from USB ZIP" in BIOS - all > is fine, and I see "a:>" DOS prompt. But setting "USB HDD or USB HDD or USB > CDROM" as boot device at BIOS fails - boot block cannot be found. > > The problem is that FreeBSD boot block (boot0, boot1 or boot2 - I don't > know) assumed that booting is performed from HDD device, but it is untrue. > Maybe I should use different boot blocks? Is it possible to boot FreeBSD > form ZIP device (seen by BIOS as ZIP, not HDD or FDD)? I know that we have > different boot block to boot from CD (/boot/cdboot) and maybe we should have > something like /boot/zipboot? No - the FreeBSD boot blocks asume that booting is performed by a BIOS drive served via int13 semantics no matter what type it is. You can't expect anything more to fit into 512 bytes. If you get the boot2 prompt than boot1 succeded in loading boot2 but failed to start /boot/loader. This sais that the filessystem is not readable. There is a difference in FDDs and HDDs in that HDD have a CP style partition table and FDDs have not. Depending on which type your BIOS uses for the USB drive you have to use either dedicated or sliced configuration on the media. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message