*BSD News Article 50356


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ZIP drive in FreeBSD
Date: 30 Aug 1995 22:29:01 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 60
Message-ID: <422ond$q19@sol.ctr.columbia.edu>
References: <41pc3c$15j@hathor.mch.sni.de> <41q5lm$p2q@reason.cdrom.com> <41qkia$1l5@hathor.mch.sni.de> <422869$cg3@globe.indirect.com>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Fred Fish
(fnf@fishpond) had the courage to say:

: In article <41qkia$1l5@hathor.mch.sni.de>,
: Hans Wander <awan@hathor.mch.sni.de> wrote:
: >whenever I try to write a label, the result is:
: >disklabel: ioctl DIOCWDINFO: Operation not supported by device
: >
: >it's very frustrating.

: Yes!  I just ran into this myself yesterday when trying to install a second
: drive on an existing FreeBSD 2.0.5 system.  I ended up having to reinstall
: the entire system and have it partition and label both drives during the
: install.  This wasn't too bad since I hadn't really done anything to the
: system yet after installing it originally.

Aaaaaaaahhhh!!! Am I the _ONLY_ one here who uses the wizard mode of the
partition/disklabel options in the 2.0.5 installer? You _don't_ have
to reinstall the entire system in order to partition a drive with
/stand/sysinstall. True, it won't do _everything_ for you unless you
select a complete install, but you can make it partition and label your
drive, which are arguably the trickiest parts.

All you have to do is this:

- Run sysinstall (as root, monkey boy).
- Go to the partition table editor.
- Select the drive you want to use.
- Partition it as you please.
- When you've got it set up the way you like it, press 'w' to get
  into wizard mode.
- At the wizard mode prompt, type 'write.' The sysinstall program
  should write the new partition table to the disk.
- Type 'quit' to leave wizard mode.
- Exit the partition editor.
- Go to the disklabel editor.
- Set up the label as you please.
- Type 'w' to get into wizard mode again.
- Type 'write' to write the label.
- Quit out of wizard mode.
- Quit the label editor.
- Quit sysinstall.

All you have to do now is newfs the partitions you've just created
and add them to /etc/fstab. This part is simple enough that you
don't need sysinstall to do it.

I added a disk to my system not too long ago, and this is how I
partitioned it. Worked like a charm.

-Bill

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~