From owner-freebsd-hackers Tue Nov 12 7:59:23 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 3D98937B401 for ; Tue, 12 Nov 2002 07:59:22 -0800 (PST) Received: from srv.inorg.chem.msu.ru (rt-inorg.chem.msu.ru [195.208.208.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5389543E3B for ; Tue, 12 Nov 2002 07:59:19 -0800 (PST) (envelope-from anton@inorg.chem.msu.ru) Received: from anton (r546-1.inorg.chem.msu.ru [195.208.209.20]) by srv.inorg.chem.msu.ru (8.11.6/8.11.6) with SMTP id gACFxEP85884; Tue, 12 Nov 2002 18:59:14 +0300 (MSK) (envelope-from anton@inorg.chem.msu.ru) Message-ID: <001801c28a64$7311e330$14d1d0c3@main.inorg.chem.msu.ru> From: "Anton Vinokurov" To: "Bruce M Simpson" Cc: References: <001101c28a5d$973304d0$14d1d0c3@main.inorg.chem.msu.ru> <20021112153812.GJ16068@spc.org> Subject: Re: boot from USB ZIP or USB HDD Date: Tue, 12 Nov 2002 18:59:14 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 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? Anton L. Vinokurov, CCNA anton@inorg.chem.msu.ru NeTAMS Development Team > USB booting support is down to two things: BIOS and kernel support. > > If the BIOS can probe and boot from it in a similar way to how one might > boot from an El Torito CDROM, then the BIOS has done its bit. > > Going further, some BIOSes support making these devices visible to DOS, I > assume - I don't have any first hand experience of this. > > The problem here is that you won't even get as far as the loader *unless* > the BIOS is able to interpret the USB device as a hard disk drive. If the > BIOS emulates a fixed disk device in a traditional sense then standard > boot code will work fine. > > However, if its USB boot emulation doesn't extend to the BIOS > interrupts used by the standard FreeBSD boot sector, you won't even get > as far as the loader. > > Once the kernel has started to boot, it will need to have a disk driver which > can understand the disk it's booting from, otherwise it will fail to mount > root. > > I don't have time to do further research on this right now but I suggest > you contact your BIOS vendor for information, or research on their web site. > > BMS > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message