The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > Tips and Tutorials
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Tips and Tutorials Helpful articles from our Users.

LinkBacks (?)
LinkBack to this Thread: http://www.unix.com/tips-tutorials/18074-create-solaris-jumpstart-iso.html
Posted By For Type Date
Stuck with Jumpstart Toolkit and Solaris 10. - Page 2 - Unix Forum This thread Refback 1 Week Ago 12:46 PM

Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10 x86 Jumpstart w/o GUI alias.256 SUN Solaris 2 05-06-2008 09:53 AM
Jumpstart Solaris 10 x86 alias.256 SUN Solaris 2 02-14-2008 06:38 AM
Jumpstart solaris ppass SUN Solaris 14 02-10-2008 05:59 PM
solaris 9 using jumpstart to restore afadaghi UNIX for Advanced & Expert Users 1 11-10-2006 03:14 PM
Solaris 10 Jumpstart Problem Jay_Fisi SUN Solaris 1 04-06-2006 02:51 AM

 
 
Submit Tools LinkBack (1) Thread Tools Search this Thread Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 04-09-2005
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,320
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Create a Solaris Jumpstart from iso

The Solaris 9 and later CD ISO images are laid out differently than previous versions of the ISO images for Solaris.

If you just want to build a jumpstart and can afford the bandwidth to do so, download the Solaris DVD and use that instead. You don't need to do any of this with the DVD iso.

To set up a JumpStart server using the Solaris 9 OS and later CD-ROMs, you must have access to both slice 0 and slice 1 on the CDs. If you try to use an ISO image that is loopback mounted using the "lofi" driver it cannot recognize that slice 1 exists and, cannot access it.

To fix the problem, split the contents of slice 1 into it's own image file and then mount this image separately using lofi.

The following procedure describes how to do this.
Code:
# ls -l sol-9*
-rw-r--r--   1 root     root     576364544 Jan  1 11:16 sol-9-u1-sparc-v1.iso
-rw-r--r--   1 root     root     291962880 Jan  1 21:42 sol-9-u1-sparc-v2.iso
This only applies to CD 1, all other isos can be mounted using lofiadm in the normal way.

(1) Get a copy of the VTOC from the ISO image:
Code:
# dd if=sol-9-u1-sparc-v1.iso of=vtoc bs=512 count=1

1+0 records in
1+0 records out
(2) Now find out where Slice 1 starts in the image and how long it is. The starting cylinder for slice 1 is located at offset 452 (decimal) into the VTOC; the length in blocks is at offset 456, with both being 4 bytes long.
Code:
# od -D -j 452 -N 8 < vtoc
0000000 0000000888 0000546560
0000010
Slice 1 starts on cylinder 888, and is 546,560 blocks long. CD for the Solaris OS always have 640 blocks per cylinder, so you can find the starting block of slice 1 as follows:
Code:
# echo 888*640 | bc
568320
So now you know s1 starts at block 568320 and is 546560 blocks long.

(3) Copy slice one into a separate file:
Code:
# dd if=sol-9-u1-sparc-v1.iso of=sol-9-u1-sparc-v1-s1.iso bs=512 skip=568320 count=546560

546560+0 records in
546560+0 records out
(4) Mount both slice 0 and slice 1 as follows:
Code:
# mkdir /cd
# mkdir /cd/s0
# mkdir /cd/s1
# lofiadm -a /path_to/sol-9-u1-sparc-v1.iso
/dev/lofi/1
# lofiadm -a /path_to/sol-9-u1-sparc-v1-s1.iso
/dev/lofi/2
When you mount slice 1, remember that it is a UFS partition, not HSFS as is usual on a CD-ROM:
Code:
# mount -F hsfs -o ro /dev/lofi/1 /cd/s0
# mount -F ufs -o ro /dev/lofi/2 /cd/s1
# cd /cd/s0/Solaris_9/Tools/
# ./setup_install_server  /destination_dir
Google UNIX.COM
Forum Sponsor
 



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102