Problem formatting new hard drive.

Elliot Finley efinleywork at efinley.com
Mon Apr 21 11:24:34 PDT 2003


That's it.  Just set kern_securelevel_enable="NO" while you are messing with
your drives.

Elliot

----- Original Message -----
From: "James Pancoast" <jamesp at uversa.com>
To: "Elliot Finley" <efinleywork at efinley.com>;
<freebsd-questions at freebsd.org>
Sent: Monday, April 21, 2003 12:19 PM
Subject: Re: Problem formatting new hard drive.


>
>
> kern_securelevel="2"
> kern_securelevel_enable="YES"
>
> Is that it?
>
> On Monday 21 April 2003 14:17, Elliot Finley wrote:
> > What is your securitylevel set to in rc.conf?
> >
> > Elliot
> >
> > ----- Original Message -----
> > From: "James Pancoast" <jamesp at uversa.com>
> > To: <freebsd-questions at freebsd.org>
> > Sent: Monday, April 21, 2003 12:11 PM
> > Subject: Problem formatting new hard drive.
> >
> > > I'm new to FreeBSD (I installed it on a system this weekend).  I've
been
> > > trying to add a new Hard drive, following the directions at:
> >
> >
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/x66.ht
> >m l
> >
> > > Going through sysinstall didn't work, so I tried the command line
> > > (dd if=/dev/zero of=/dev/ad2 count=2).  However, when I run that
command
> >
> > (as
> >
> > > root), I get "Operation not permitted".  Anyone have an idea what I'm
> >
> > doing
> >
> > > wrong?
> > >
> > > The drive used to be in a Linux system, and an fdisk /dev/ad2 gives
this:
> > > ******* Working on device /dev/ad2 *******
> > > parameters extracted from in-core disklabel are:
> > > cylinders=25232 heads=16 sectors/track=63 (1008 blks/cyl)
> > >
> > > Figures below won't work with BIOS for partitions not in cyl 1
> > > parameters to be used for BIOS calculations are:
> > > cylinders=25232 heads=16 sectors/track=63 (1008 blks/cyl)
> > >
> > > Media sector size is 512
> > > Warning: BIOS sector numbering starts with sector 1
> > > Information from DOS bootblock is:
> > > The data for partition 1 is:
> > > sysid 131 (0x83),(Linux native)
> > >     start 63, size 25433793 (12418 Meg), flag 0
> > >         beg: cyl 0/ head 1/ sector 1;
> > >         end: cyl 1023/ head 15/ sector 63
> > > The data for partition 2 is:
> > > <UNUSED>
> > > The data for partition 3 is:
> > > <UNUSED>
> > > The data for partition 4 is:
> > > <UNUSED>
> > >
> > > Thanks.
> > >
> > >
> > > --
> > > James Pancoast
> > > jamesp at uversa.com
> > > www.uversa.com
> > > _______________________________________________
> > > freebsd-questions at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> >
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> --
> James Pancoast
> jamesp at uversa.com
> www.uversa.com



More information about the freebsd-questions mailing list