Hello,
I am setting up a jumpstart server for Solaris 9 Sparc on Linux (Slackware 12.1)
The challenge I am facing is making Linux recognize multisliced Solaris ISO image correctly.
I found
this article, which provides the exact solution. However, the numbers for offset and slice size greatly differ between the example and my case (see below).
Does anyone know how to solve this problem?
I have two versions:
a) od has different parameters/behaviour on Linux and Solaris (and the article describes the process for Solaris jumpstart server)
b) slice 1 offset/size is in a different part of VTOC, but I have no idea where to find this information
Any ideas?
TIA
Example
Code:
# dd if=sol-9-u1-sparc-v1.iso of=vtoc bs=512 count=1
1+0 records in
1+0 records out
# od -D -j 452 -N 8 < vtoc
0000000 0000000888 0000546560
0000010
# echo 888*640 | bc
568320
# dd if=sol-9-u1-sparc-v1.iso of=sol-9-u1-sparc-v1-s1 bs=512 skip=568320 count=546560
546560+0 records in
546560+0 records out
CD1 (Software 1/2 CD)
Code:
# dd if=sol-9-905hw-ga-sparc-v1.iso of=vtoc-1 bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00120578 s, 425 kB/s
# od -D -j 452 -N 8 < vtoc-1
0000704 3489857536 2150631680
0000714
# echo 3489857536*640 | bc
2233508823040
# dd if=sol-9-905hw-ga-sparc-v1.iso of=sol-9-905hw-ga-sparc-v1-s1.iso bs=512 skip=2233508823040 count=2150631680
0+0 records in
0+0 records out
0 bytes (0 B) copied, 137.874 s, 0.0 kB/s
CD0 (Install CD)
Code:
# dd if=sol-9-905hw-install-ga-sparc.iso of=vtoc-0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0114962 s, 44.5 kB/s
# od -D -j 452 -N 8 < vtoc-0
0000704 33554432 5248000
0000714
# echo 33554432*640 | bc
21474836480
# dd if=sol-9-905hw-install-ga-sparc.iso of=sol-9-905hw-install-ga-sparc-s1.iso bs=512 skip=21474836480 count=5248000
0+0 records in
0+0 records out
0 bytes (0 B) copied, 204.653 s, 0.0 kB/s