Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 1996 07:24:18 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        guido@gvr.win.tue.nl (Guido van Rooij)
Subject:   Re: 2.1.5 install failure: booting from fd0 in stead of sd0
Message-ID:  <199608270524.HAA22579@uriah.heep.sax.de>
In-Reply-To: <199608261923.VAA09844@gvr.win.tue.nl> from Guido van Rooij at "Aug 26, 96 09:23:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Guido van Rooij wrote:

> When trying to boot, it says it is using dosdev:0 biosdev: 0 unit: 0
                                                  ^^
> major: 2.

Herein lies the rub.  dosdev == 0 means it's a floppy disk.  boot.c
converts this into `maj = 2'.  Only if the 0x80 flag is set, it will
move to maj = 0 (wd) or maj = 4 (sd).

If i read the code right, it looks as if your BIOS doesn't pass the
correct value in %dl down to the bootstrap.  (It apparently passes
0 there as opposed to the boot drive BIOS ID.)  Call it ``broken''...

Your only chance short of replacing the BIOS is to hack the bootcode
on your harddisk so it will never try booting off a floppy again.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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