From owner-freebsd-hackers Fri Jul 2 8:11:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from thneed.ubergeeks.com (thneed.ubergeeks.com [206.205.41.245]) by hub.freebsd.org (Postfix) with ESMTP id 4AE3414CE1 for ; Fri, 2 Jul 1999 08:11:42 -0700 (PDT) (envelope-from adrian@ubergeeks.com) Received: from localhost (adrian@localhost) by thneed.ubergeeks.com (8.9.3/8.9.3) with ESMTP id LAA24986; Fri, 2 Jul 1999 11:10:30 -0400 (EDT) (envelope-from adrian@ubergeeks.com) X-Authentication-Warning: thneed.ubergeeks.com: adrian owned process doing -bs Date: Fri, 2 Jul 1999 11:10:30 -0400 (EDT) From: Adrian Filipi-Martin Reply-To: Adrian Filipi-Martin To: Graham Wheeler Cc: hackers@FreeBSD.ORG Subject: Re: Porting LILO to FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 2 Jul 1999, Vince Vielhaber wrote: > On Fri, 2 Jul 1999, Graham Wheeler wrote: > > > Hi all > > > > I currently have Linux installed in a DOS partition for one reason > > only, and that is that I want to use LILO. I would love to be able > > to get LILO working under FreeBSD so that I can free up all the space > > used up by Linux. The reason I want to use LILO is because it allows > > me to swap my C: and D: drives around when booting DOS. This lets me > > have Win95 bootable on my real C: drive, but lets me boot a Win95-free > > DOS 6.2 and Windows 3.1 on my D: drive, which gets logically mapped to > > C:. I haven't found any other freeware boot loaders that have this > > ability. > > > > Has anyone ever attempted to port LILO to FreeBSD? I imagine that it > > should be possible, but would require some serious changes in low-level > > disk access code, to map disk files to physical disk locations, etc. > > If anyone has any experience with this, or has any advice (including > > pointing me to other boot loaders that can get the BIOS to switch > > disks that will work purely from DOS or FreeBSD), please let me know... > > On CD #1 there's a file called osbsbeta.exe. That version allows you > to boot from different physical devices whereas osbs135.exe doesn't. > I'm using it on one machine that has 95, dos6, os2 and freebsd on > different drives. The standard boot partition selection softwre also works fine booting windoze OS's from other disks. All you need to do is set the "disk id" in the DOS MBR to the correct number, 0x81 for your second disk. That's the only thing that MS doesn't do correctly whe installing the OS on the non-primary disk. I used to do this a long time ago to boot FreeBSD of the "C" drive and the other stuff off of "second C" drive. Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message