Date: Thu, 13 Jan 2000 12:27:38 +0100 (CET) From: Claude Buisson <ubc@paris.framatome.fr> To: Niall Brady <bradyn@maths.tcd.ie> Cc: freebsd-questions@freebsd.org Subject: Re: Booting a hard disk kernel from a floppy bootloader... Message-ID: <Pine.BSF.4.10.10001131223560.69095-100000@eve.framatome.fr> In-Reply-To: <Pine.BSF.4.10.10001121915500.59908-100000@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Jan 2000, Niall Brady wrote: > Hi All, > > I've being having some problems preparing a boot floppy which will allow > me to boot the hard disk kernel, by booting off the floppy. > > (using FreeBSD 3.2-Release on a Gateway P150 16MB ram, 2.5GB IDE disk, 2 > CDs, 1 floppy, vt320 off cuaa0, PNP modem; > everything else is working perfectly, ppp, apm, printers, sound etc.) > > At the moment, I've tried the following configuration (list of relevant > files and their contents from floppy/boot [contents are mirrored on hard > disk in /boot ] > {note: executables are the same as on the standard install floppy} > > > /boot.config > ------------ > -P > > > /boot/loader.rc > --------------- > set currdev=disk1s2a > load /kernel > load -t userconfig_script /boot/kernel.config > autoboot 5 > > > /boot/kernel.config > ------------------- > pnp 1 0 os enable irq0 3 drq0 0 port0 0x2f8 > pnp 2 0 os enable port0 0x220 irq0 5 drq0 1 drq1 5 > pnp 2 1 os enable port0 0x200 > > > At the moment what happens is... (sorry, don't know how to capture exact > text from boot process...) > > > > boot: -P > keyboard found > > | > FreeBSD blahdeblah > Loader blahblah jkh@cathair > > Cannot find /kernel; press [ENTER] to boot immediately, > or any other key for prompt. > > > > So normally, if the floppy is left alone, it will find /kernel on the hard > drive eventually, but won't load the kernel.config script, which means > that the modem and sound card won't be configured. > > > However, at this point, if I go to the loader prompt, it shows up as... > > disk1s2a> > > (as I put into loader.rc in the "set currdev=" command) > > Then, at this point, if I execute the following commands... > > load /kernel > load -t userconfig_script /boot/kernel.config > boot > > All goes grand... everything loads as planned; only thing is I need to be > at the console to do this. > > I can't fully understand the order in which things are happening... it > seems as if loader is on disk1s2a, but for whatever reason kind find > /kernel, and bombs out of loader.rc > > Perhaps I'm missing something in boot.config? > > Any advice or help at all would be very much appreciated! > I boot from a floppy to my second SCSI disk, with: 1:da(1,a)/boot/loader in boot.config (on the floppy) At home I use the same schme to boot from the third IDE disk That is the floppy is just used to load /boot/loader from the hard disk. > -- > Niall > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Claude Buisson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" 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.10.10001131223560.69095-100000>