Re: Swap Partition First? Something is still Wrong.

2010-01-31 Thread Martin McCormick
When referring to the slices in a FreeBSD partition,
which is correct, ad0s1a or ad0s1-1?

One of the problems in setting up install.cfg is that I
am not sure if it is not configuring the disk because the
designations are wrong or if I am telling fdisk to do something
that it can't do.

ad0s1-1=ufs 77116032 / 1
ad0s1-2=swap 0 

or should it be ad0s1a and ad0s1b?

When using ad0s1a and ad0s1b, there are no error
messages, but it also didn't create the swap partition. Thank you.

Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Swap Partition First? Something is still Wrong.

2010-01-28 Thread Martin McCormick
Here is the output of fdisk from the drive to be formatted.

*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=77504 heads=16 sectors/track=63 (1008 blks/cyl)

Let's try a million or so blocks left as swap.

ad0s1-1=ufs 77116032 / 1
#That should the FreeBSD active partition.

ad0s1-2=swap 0 
#That should give us what's left as swap. This is the opposite
of what I want to do, but it is in the order that one would
likely do it so if it is going to work, it should. This gives a
benchmark to start from.

The complaint is that it can't write ad0s1-2 swap as
always.

I changed the syntax.

ad0s1a=ufs 77116032 / 1
ad0s1b=swap 0 

I ran sysinstall and loaded the install.cfg file with
those changes and was overjoyed to see that it had successfully
written all file system to the disk.

Not true! It writes in to MFS until that fills up and
then it overwrites some of mfs so that one must reboot. The
fdisk output never changes from the following:

*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=77504 heads=16 sectors/track=63 (1008 blks/cyl)

snip

cylinders=77504 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 78123969 (38146 Meg), flag 80 (active)
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

I have yet to see anything on the other 3 partitions. It
does format just fine if I manually set it up via sysinstall. I
know I am doing something wrong but not sure what.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org