mounting a partition that's located inside a disk (cd) image
Darin Perusich
Darin.Perusich at cognigencorp.com
Mon Aug 11 08:34:31 EDT 2003
the Boot slice, s1 onthe cd is a 250mb UFS filesystem. there are a total
of 6 slices on this cd, 5 UFS and 1 hsfs (High Sierra or iso9660). the
Boot slice contains an OS image which i've compressed down to about 85mb.
i've made this image avialable for download at
http://www.nflug.org/sol9-s1-0803.tgz. i'm going to leave this up until
tomorrow morning.
deadpoint wrote:
> this is sucking the out slice 0 (s0) which give you the same results as
> mounting the loop device. i've been playing with this all morning and am
> not having any luck. all the docs that i've found on google explain
> doing this under solaris, nothing on linux. i've tried dd'ing the
> individual slices but that didn't work either, slice1 was garbage.
>
> i know that when i stick on of the solaris install cd's in the cdrom
> under solaris the volume manager (vold) mounts all the individual
> slices under /cdrom/cdrom0. i'm not really sure that kind of magic it's
> doing but this is getting silly.
>
> when i get to work tomorrow i'll download cd1, i only have 9 12/02 at
> work and i'll extract the Boot slice and tar it up. i'll make it
> avialable for download, this way you'll have the boot images. i'd do it
> here but my only sun, an IPX is running debian.
>
> darin
>
> when i get to work tomorrow i'll download cd 1,
> Robert Meyer wrote:
>
>> OK, try this:
>> suck out the first partition with dd (dd if=/dev/cdrom blocks=320
>> of=boot.img)
>> Then try mounting that as a filesystem, too. You should be able to
>> use that as
>> the boot path and the other stuff as the install path. If I had a
>> jumpstart
>> server around, I could test it for you but I don't have any Suns
>> around at all.
>>
>> Later...
>>
>> Cheers!
>>
>> Bob
>> --- Dave Andruczyk <djandruczyk at yahoo.com> wrote:
>>
>>
>>>> you can skip the install cd, all you need is software cd's 1 and 2.
>>>> you can start everything from #1, there are scripts in the Tools
>>>> directory call setup_install_server which copy all the files to a
>>>> location on you hard drive. this scripts should work in linux even
>>>> though they are written for solaris system. there is a script called
>>>> setup_install_client which is used to setup the /etc/ethers,
>>>> /etc/bootparams, and /tftpboot images. again these scripts expect
>>>> the install server to be solaris.
>>>>
>>>> you should be able to mount the cdroms as iso9660. this sounds like
>>>> a fun excersize, if you'd like some assistance let me know!!
>>>>
>>>>
>>>
>>> So far not much luck. It complains that it needs a boot image path
>>> (kernel
>>> image?)
>>>
>>> shrapnel Tools # ./setup_install_server /scratch/sol/
>>> ./setup_install_server: line 1: mach: command not found
>>> ERROR: Install boot image /mnt/cdrom/Solaris_9/Tools/Boot does not exist
>>> Check that boot image exists, or use [-t] to
>>> specify a valid boot image elsewhere.
>>>
>>> The "mach" error is not critical. (mach is equal to "uname -p")
>>>
>>> The "Boot" symlink on the CD points to a point higher than the cdrom
>>> mountpoint
>>> equivalent to "/mnt/s1" if the CD was mounted at /mnt/cdrom.
>>> Assuming it
>>> might
>>> be present on a sun box when booted from the CD.
>>>
>>>
>>>
>>>
>>>
>>> =====
>>> 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
>>
>>
>>
>
>
>
--
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com
More information about the nflug
mailing list