Date: Fri, 2 Jul 1999 11:10:30 -0400 (EDT) From: Adrian Filipi-Martin <adrian@ubergeeks.com> To: Graham Wheeler <gram@cequrux.com> Cc: hackers@FreeBSD.ORG Subject: Re: Porting LILO to FreeBSD Message-ID: <Pine.BSF.4.05.9907021107080.24927-100000@thneed.ubergeeks.com> In-Reply-To: <Pine.BSF.4.05.9907020845030.10169-100000@paprika.michvhf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907021107080.24927-100000>