From owner-freebsd-questions Thu Oct 30 16:46:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA25104 for questions-outgoing; Thu, 30 Oct 1997 16:46:13 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.netcetera.dk (root@sleipner.netcetera.dk [194.192.97.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA25086 for ; Thu, 30 Oct 1997 16:46:09 -0800 (PST) (envelope-from leifn@swimsuit.roskildebc.dk) Received: (from uucp@localhost) by mail.netcetera.dk (8.8.7/8.8.7) with UUCP id BAA30566 for freebsd-questions@freebsd.org; Fri, 31 Oct 1997 01:42:01 +0100 Received: by swimsuit.roskildebc.dk (0.99.970109) id AA02050; 30 Oct 97 23:02:46 +0100 From: leifn@swimsuit.roskildebc.dk (Leif Neland) Date: 30 Oct 97 12:15:25 +0100 Subject: Booting a FreeBSD partition from DOS Message-ID: <2fb_9710302302@swimsuit.roskildebc.dk> References: <014CB6ADC0BCD0118B1B006097827D5B022CFD@exchange> Organization: Fidonet: UNIX-sysadm søger job To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 30 Oct 97 10:46:28 Jeff.Bond@nectech.co.uk (2:234/49.99) wrote to Leif Neland regarding Booting a FreeBSD partition from DOS in area "freebsd-questions" J> Next I tried fbsdboot.exe from the dist CD. I can see no option of J> telling fbsdboot.exe which partition to boot from, so I compiled J> a new kernel (on my other dedicated FreeBSD machine) with the J> default root device set to 'wd2'. I then copied this new kernel J> to the Win95 partition. Now I CAN boot the FreeBSD partition J> using something like: 'fbsdboot -D d:/kernel' (might be wrong, I J> can't remember), but whenever I do a 'ps' or 'df', I get an error J> from the kernel complaining that it can't find 'd:/kernel' or J> something (not surprisingly). J> J> To summarise: J> Is there an easy way to boot a FreeBSD partition without using a J> bootloader? I use this batfile from dos: cd \files\freebsd fbsdboot -r -D kernel This gives "kernel" without path, so FreeBSD looks for "/kernel", where I have put a copy. I haven't tried, but I guess it is possible to do "mount_msdos /dev/sd0s1a /d:" and have /d: as a mount-point, just as I now have /dos-c and /dos-d mount_msdos'ed. Leif Neland leifn@image.dk --- |Fidonet: Leif Neland 2:234/49 |Internet: leifn@image.dk