Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SPARC bootblk location 1

Status
Not open for further replies.

kHz

MIS
Dec 6, 2004
1,359
0
0
US
Solaris on x86 has a disk layout like this example:

FDISK Master Boot Record - Sector 0
pboot - Sector 63 (track 1); start - First sector of fdisk partition; length - 1 sector
Solaris VTOC - Sector 64; start - Second sector of fdisk partition; length - 2 sectors
Boot block - Sector 66; start - Fourth sector of fdisk partition; length - Can occupy up to the end of the 1st cylinder
root filesystem - First sector of cylinder 1; start - Beginning of the first cylinder after the boot block; length - Up to 2 cylinders before the end of the fdisk partition

Does anyone know the layout for SPARC based disks? Specifically, where the bootblk is located?
 
It appears the VTOC is the first block of the partition, and no boot code exists on the first block, only the VTOC information. The boot code (boot block), is contained in blocks 1-15.

So I would guess the next block in the partition, after the boot block, is where the root filesystem begins.

So...
Solaris VTOC - first block (0)
Boot block - blocks 1-15
root filesystem - Begins after boot block

Does this look accurate?
 
My understanding (from the System Admin 1 course) is as follows for the ufs:

16 Sectors = 1 block (= 8K bytes)

Block 1 (of Slice 0)
Sector 0 = VTOC
Sector 1-15 = Boot blk

Block 2 (of Slice 0)
Sector 16-31 = Super Block (primary)

Blocks 3 to ? (of Slice 0)
Contain the Cylinder Groups (numbered 1 to x), made up of
Backup Super Block
Cylinder Group Block
i-Node table
Data Blocks


Block 1 (of Slice 1)
Sector 0-15 = <Reserved>

Block 2 (of Slice 1)
Sector 16-31 = Super Block

Blocks 3 to ? (of Slice 1)
Contain the Cylinder Groups (numbered 1 to y), made up of
Backup Super Block
Cylinder Group Block
i-Node table
Data Blocks

I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top