Obtaining slice 1 from Solaris 9 ISO image on Linux
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 Code:
# dd if=sol-9-905hw-ga-sparc-v1.iso of=vtoc-1 bs=512 count=1 Code:
# dd if=sol-9-905hw-install-ga-sparc.iso of=vtoc-0 bs=512 count=1 |
I strongly suspect an endianness issue.
The values you pick are big endian while your x86 box is little endian. You need to convert them to get the correct offset and size. |
thank you, jlliagre, you seem to be right about the root of the problem.
with regards to endianness i get these numbers: Code:
# od -j 452 -N 8 -t x1 < vtoc once again, thank you! :) |
I just came back to post my solution if someone struggles with this in the future.
jlliagre was right about problem with endianness in vtoc. However, much easier approach to this whole thing was using fdisk to see vtoc of the iso image. So here's the simple way of obtaining slice 1 (on x86 Linux): Code:
# fdisk -l sol-9-905hw-install-ga-sparc.iso Cheers |
All times are GMT -5. The time now is 11:26 PM. |