Re: 5.0-RC1 install: disklabel editor

2002-12-16 Thread Kevin Oberman
 Date: Mon, 16 Dec 2002 03:25:39 +0100
 From: Harald Hanche-Olsen [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 For some reason, I can't find a way to create a swap partition using
 the disklabel editor - other than by using Auto Defaults - and then I
 can't see any way to adjust the size of the resulting swap partition.
 
 This never was a problem with 4.x as far as I can remember...?
 
 (After first discovering this, I figured maybe if I left the
 pre-existing b partition as none, the install scripts would be smart
 enough to use it as swap.  No way.  And after the scripts complained,
 and I had been back through the disklabel editor again, installation
 failed with
 
 Error mounting /mnt/dev/ad0s3f on /mnt/usr: No such file or directory
 
 while the other console said
 
 newfs:/mnt/dev/ad0s3f: No such file or directory
 
 After which it went ahead and installed anyway, only to fill up the
 root file system, of course.

I don't see any response, but I don't think that this has changes
since V4. (But I may be mis-remembering.

In any case, in the disklabel screen down-arrow until you get to the
partition you want to use as swap. Note the size and press 'D' to
delete it. Then up-arrow to the entry at the top of the screen for the
slice the swap will be created in. Press 'C', enter the value for the
size of the swap space, press enter, and then select Swap. Bingo!
You have swap.

Also, if you want the partition initialized, don't forget to toggle
the newfs tag with 'T'. (And, of course, make sure root is big
enough for 5.0.) Fortunately it is not too hard to steal a bit of swap
to make root larger.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: 5.0-RC1 install: disklabel editor

2002-12-16 Thread Harald Hanche-Olsen
+ Kevin Oberman [EMAIL PROTECTED]:

| In any case, in the disklabel screen down-arrow until you get to the
| partition you want to use as swap. Note the size and press 'D' to
| delete it. Then up-arrow to the entry at the top of the screen for the
| slice the swap will be created in. Press 'C', enter the value for the
| size of the swap space, press enter, and then select Swap. Bingo!
| You have swap.

This fits my memory too, but now after entering the size, I get
directly to the question on naming the mount point.  Before that, if I
remember right, there used to be a question whether I wanted swap or a
file system.  That question no longer appears.

- Harald

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: 5.0-RC1 install: disklabel editor

2002-12-16 Thread Kevin Oberman
 Date: Tue, 17 Dec 2002 00:39:32 +0100
 From: Harald Hanche-Olsen [EMAIL PROTECTED]
 
 + Kevin Oberman [EMAIL PROTECTED]:
 
 | In any case, in the disklabel screen down-arrow until you get to the
 | partition you want to use as swap. Note the size and press 'D' to
 | delete it. Then up-arrow to the entry at the top of the screen for the
 | slice the swap will be created in. Press 'C', enter the value for the
 | size of the swap space, press enter, and then select Swap. Bingo!
 | You have swap.
 
 This fits my memory too, but now after entering the size, I get
 directly to the question on naming the mount point.  Before that, if I
 remember right, there used to be a question whether I wanted swap or a
 file system.  That question no longer appears.

Very odd. I am running RC1 and I did exactly what I recommended with
no problem. Since I was using the existing space, I just did CEnter
and the window offering the Swapfile option appeared. I just tried it
again on my RC1 system and it worked as I described.

?

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Sysinstall [ was Re: 5.0-RC1 install: disklabel editor ]

2002-12-16 Thread Cliff Sarginson
On Tue, Dec 17, 2002 at 12:39:32AM +0100, Harald Hanche-Olsen wrote:
 + Kevin Oberman [EMAIL PROTECTED]:
 
 | In any case, in the disklabel screen down-arrow until you get to the
 | partition you want to use as swap. Note the size and press 'D' to
 | delete it. Then up-arrow to the entry at the top of the screen for the
 | slice the swap will be created in. Press 'C', enter the value for the
 | size of the swap space, press enter, and then select Swap. Bingo!
 | You have swap.
 
 This fits my memory too, but now after entering the size, I get
 directly to the question on naming the mount point.  Before that, if I
 remember right, there used to be a question whether I wanted swap or a
 file system.  That question no longer appears.
 
Yes and yes. With a fresh install I noted you do not get the Q about
swap/fs. I noted as well you get swap if you select auto. I noted as
well that if the sysinstall happens to find a swap area from a previous
area it shows it as such, but will not use it without delete/create.

Sysinstall is busted in other areas as well. Select all no-longer puts
ticks in the boxes, if you tick each seperately it asks you every time
if you want to install the ports, after every tick, and once again at
the end. When I tried to configure an X-Server, it took me to the
X-Client menu...sysinstall if that is posible has become more than a
PITA than it always has been.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



5.0-RC1 install: disklabel editor

2002-12-15 Thread Harald Hanche-Olsen
For some reason, I can't find a way to create a swap partition using
the disklabel editor - other than by using Auto Defaults - and then I
can't see any way to adjust the size of the resulting swap partition.

This never was a problem with 4.x as far as I can remember...?

(After first discovering this, I figured maybe if I left the
pre-existing b partition as none, the install scripts would be smart
enough to use it as swap.  No way.  And after the scripts complained,
and I had been back through the disklabel editor again, installation
failed with

Error mounting /mnt/dev/ad0s3f on /mnt/usr: No such file or directory

while the other console said

newfs:/mnt/dev/ad0s3f: No such file or directory

After which it went ahead and installed anyway, only to fill up the
root file system, of course.

But this problem went away when I tried again after a reboot, so that
is a minor issue.)

- Harald

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message