*BSD News Article 91436


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news-peer.nctu.edu.tw!news.nctu.edu.tw!spring.edu.tw!news.uoregon.edu!hammer.uoregon.edu!news-xfer.netaxs.com!news.mathworks.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Installing from my D: drive?
Date: 18 Mar 1997 16:18:29 GMT
Organization: Awfulhak Ltd.
Lines: 50
Message-ID: <5gmf8l$icd@ui-gate.utell.co.uk>
References: <slrn5it6bh.aoj.ljz@sunspot.tiac.net>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37332

In article <slrn5it6bh.aoj.ljz@sunspot.tiac.net>,
	ljz@asfast.com (Lloyd Zusman) writes:
> Is it possible to do a DOS-partition install of FreeBSD 2.2 from my D:
> drive instead of my C: drive?  The D: drive is on the same physical
> disk as C:, but in a different partition.  I would like to create a
> D:\FreeBSD directory with the distribution and then start up the boot
> diskette, but I don't know how to make this work.
> 
> Any ideas?
> 
> Thanks in advance.

I've never needed to do a DOS install, but if it's not possible to
select which drive to use, you can always do it manually - I think.

In desperation, try the following:

* Copy your files to D:\FREEBSD
* Boot FreeBSD and select the "local filesystem" install.
* Use /dist/freebsd as the install directory and make sure that
  the release version (in the options menu) is set to "none"
* When it fails, switch to the "emergency holographic shell" on ALT-F4
  and type

    mount_msdos /dev/wd0s5 /dist

* Switch back to the console (ALT-F1) and select the "commit" option.

I'm assuming that the mount_msdos program is available (must be - otherwise
a DOS install wouldn't be possible) and that /dev/wd0s5 exists.  If it
doesn't, you could try

    cd /dev
    mknod wd0s5 b 0 0x00060002

although that assumes that mknod exists (I'm not sure about this).  If
it doesn't exist, you could try mounting DEVFS - again, I'm not sure
if this is available in 2.2 (it's still beta in -current, so it's almost
definitely not built into the kernel) with

    mount_devfs dev /mnt
and
    mount_msdos /mnt/wd0s5 /dist

Good luck !

-- 
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !