[SunHELP] Problem testing Jumpstart profile (detailed)
Michael Marziani
sunhelp at sunhelp.org
Thu Feb 8 15:00:12 CST 2001
I am setting up jumpstart and all is going well until I try testing my
profile. First I ran ./check and it sees my rules and profile files as OK.
BTW, my profile file looks like (I got the start:size partition values from
my disk partition map which I included a little bit below also):
install_type initial_install
system_type server
geo N_America
locale en_US
partitioning explicit
filesys c0t0d0s0 0:1437160 swap
filesys c0t0d0s1 1437160:10243888 /
filesys c0t0d0s2 0:35368272 overlap
filesys c0t0d0s3 11681048:21302952 /usr/local
filesys c0t0d0s4 32984000:2049720 /var
cluster SUNWCXall
I created a disk partition map file from the exact type of box I will be
setting up as 'man pfinstall' tells me to and the it looks like this:
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 248 sectors/track
* 19 tracks/cylinder
* 4712 sectors/cylinder
* 7508 cylinders
* 7506 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 35203352 164920 35368271
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 3 01 0 1437160 1437159
1 2 00 1437160 10243888 11681047
2 5 00 0 35368272 35368271
3 4 00 11681048 21302952 32983999
4 7 00 32984000 2049720 35033719
5 0 00 35033720 84816 35118535
6 0 00 35118536 84816 35203351
Ok, that looks right. I ftp it over to my install server and run pfinstall.
I execute '/usr/sbin/install.d/pfinstall -d /jumpstart/<disk_file> -c
/export/install /jumpstart/<profile file>'. The output looks like:
server {/jumpstart} # /usr/sbin/install.d/pfinstall -d /jumpstart/netra_disk
-c
/export/install /jumpstart/prof_netra
NOTE: The actual space required to hold the '/' file system may
be underestimated due to the use of a disk configuration file.
Parsing profile
0: install_type initial_install
1: system_type server
2: geo N_America
3: locale en_US
4: partitioning explicit
5: filesys c0t0d0s0 0:1437160 swap
6: filesys c0t0d0s1 1437160:10243888 /
7: filesys c0t0d0s2 0:35368272 overlap
8: filesys c0t0d0s3 11681048:21302952 /usr/local
9: filesys c0t0d0s4 32984000:2049720 /var
10: cluster SUNWCXall
Processing profile
- Selecting cluster (SUNWCXall)
- Selecting geographic region (N_America)
- Selecting locale (en_US)
Installing 64 bit Solaris packages
Packages to be installed
TSBWvplu.u
TSBWvplr.u
SUNWxwrtx
*snip huge list of packages*
SUNWfwbcp
SUNWfwsr
SUNWfxplt
- Selecting all disks
- Configuring boot device
- Configuring swap (c0t0d0s0)
ERROR: Could not fit slice on disk (c0t0d0s0)
ERROR: Internal error: incorrect argument to function (c0t0d0s0)
Disk layout for selected disks
Disk c0t0d0
Solaris Slice Table
Slice Start Cylinder MB Preserve Directory
------- -------- -------- ---- -------- ----------
2 0 7506 17270 no overlap
Usable space: 17270 MB (7506 cylinders) Free space: 17270 MB
Verifying disk configuration
Verifying space allocation
- ERROR: "/" does not fit on any disk
- ERROR: "/var" does not fit on any disk
Space Requirements (Mbytes)
Directory Actual Required Default
------------------------- ---------- ---------- ----------
/ 1267 1431
/var 18 20
swap 0 256
TOTAL 1285 1707
Test run complete. Exit status 2.
OK... so where do I go from here? It seems like it's not reading my disk
map properly or something... It's gotta be something simple, but I am kinda
stumped. BTW, thanks for reading through this whole long thing, but I
wanted to include all the info possible :)
Thanks for any help or ideas!
-Mike
More information about the SunHELP
mailing list