Skip site navigation (1)Skip section navigation (2)
Date:      30 Oct 97 12:15:25 +0100
From:      leifn@swimsuit.roskildebc.dk (Leif Neland)
To:        freebsd-questions@freebsd.org
Subject:   Booting a FreeBSD partition from DOS
Message-ID:  <2fb_9710302302@swimsuit.roskildebc.dk>
References:   <014CB6ADC0BCD0118B1B006097827D5B022CFD@exchange>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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