mounting a partition that's located inside a disk (cd) image
Robert Meyer
meyer_rm at yahoo.com
Sat Aug 9 00:51:24 EDT 2003
Well, a bit of whacking with 'dd' might be in order. Try something like:
dd if=/dev/cdrom skip=320 of=disk.iso
To see if you can extract the proper data out of the disk into a single iso
image. Then you may be able to mount the iso as a filesystem with something
like:
mount -o loop -t iso9660 disk.iso /some/directory/name
to see if you get the file structure that you're expecting. If it works, you
can reburn the disk or just export the filesystem that you mounted as a
read-only and use that to install...
How's that?
Cheers!
Bob
--- Dave Andruczyk <djandruczyk at yahoo.com> wrote:
>
> This is a tough one, for one of the experts.
>
> I'm trying to get my old ultrasparc 30 up and running to
> use both solaris 9 and linux on it, but would rather install it
> from the LAN as the CDrom drive it has is a 2X and has problems
> reading CDR's.
>
> I downloaded the Solaris 9 OS install CD's from sun, I can mount
> them just fine under linux, but see very little on the install CD,
> 4 files, mounted space used is only 320K (via "df"). After digging
> a bit deeper, the CD (And it's image) are actually setup as a sun
> disk label (sun partition tablem instead of MS-DOS style) It seems
> like a second ISO9660 session is on there which is why linux appears
> to mount it, but show only a tiny subset fo what should be there..
>
> What I haven't figured out how to do is mount any of the other
> partitions so I can extract the kernel and other necessay crap out.
> to net-boot and install the sparc.
>
> Output from fdisk -l (list partitions on device)
>
> fdisk -l sol9-1.iso
>
> Disk sol9-1.iso (Sun disk label): 1 heads, 640 sectors, 2048 cylinders
> Units = cylinders of 640 * 512 bytes
>
> Device Flag Start End Blocks Id System
> sol9-1.iso1 r 0 1 320 4 SunOS usr
> sol9-1.iso2 r 1 1923 615040 2 SunOS root
> sol9-1.iso3 1923 1931 2560 0 Empty
> sol9-1.iso4 1931 1939 2560 0 Empty
> sol9-1.iso5 1939 1947 2560 0 Empty
> sol9-1.iso6 1947 1955 2560 0 Empty
>
> 2 out of 3 of the downloaded ISO's were sun disk format, the 3rd
> was standard ISO9660 (typically CDRom format...)
>
> Anyone got any ideas??? (Bob?)
>
>
> =====
> Dave J. Andruczyk
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the nflug
mailing list