Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Post by Paul » Thu, 22 Jan 2009 08:57:09


Hi All,

I was following a post previously made by Roland to create a bootable
Sparc 10 DVD with a flash archive. However I am having a problem with
the iso I built. I can boot off the disk but then it will not mount.
Because of this it will not look at the rules or the flash archive
files. I also noticed when I viewed the disk on a windows box that
the file names and directory names were capitalized.

Any Idea what I might be doing wrong in both cases

The mkisofs command I am using is:
mkisofs -r -omit-period -allow-leading-dots -full-iso9660-filenames -d
-sparc-boot ... /scratch/ansasun14/iso/s0/hsfs.bootblock -o scratch/
ansasun14/iso/MLCOS.iso -volid MLCOS /scratch/ansasun14/iso/s0

Cheers,
Paul
 
 
 

Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Post by Paul » Fri, 23 Jan 2009 09:37:08


OK I have everything booting and installing the flash archive onto the
hard drive. But I need to be able to mount the DVD to run specific
scripts that is put on the DVD to deploy other software not put into
the flash archive. vold does not automaticly mount the DVD and when I
try to mount it manually:

vold is not running
# mkdir /cdrom

# iostat -En

c0t0d0 Soft Errors: 584 Hard Errors: 0 Transport Errors: 1
Vendor: TSSTcorp Product: CD/DVDW TS-L632D Revision: SI03 Serial No:
Size: 0.00GB<<0 byte>>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 584 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST973401LSUN72G Revision: 0556 Serial No:
060410DXTG
Size: 73.40GB<<73400057856 byte>>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

#mount -F hsfs /dev/rdsk/c0t0d0s0 /cdrom

mount: /dev/rdsk/c0t0d0s0 not a block device

So Why does the size of the DVD show up as 0.00GB and why does it not
think it is a block device. Does naybody have any idea how I can
mount this DVD.

Any help in this area would be greatly appreciated.

Cheers,
Paul

 
 
 

Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Post by Roland Tit » Fri, 23 Jan 2009 16:07:14


> Vendor: TSSTcorp Product: CD/DVDW TS-L632D Revision: SI03 Serial>No:
> Size: 0<00GB <0>by>es>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverabl>: 0
> Illegal Request: 584 Predictive Failure Analysi>: 0
> c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport >rrors: 0
> Vendor: SEAGATE roduct: ST973401LSUN72G evision: 0556 S>rial No:
> 0>0410DXTG
> Siz<: 73.40GB <734000>78>6 bytes>
> Media Error: 0 Device Not Ready: 0 No Device: 0 Recov>rable: 0
> Illegal Request: 0 Predictive Failure An>ly>is: 0
>
> #mount -F hsfs dev/rdsk/c0t0d>s0>/cdrom
>
> mount: /dev/rdsk/c0t0d0s0 not a bl>ck>device
>
> So Why does the size of the DVD show up as 0.00GB and why d>es it not
> think it is a block device. oes naybody have any idea>how I can
> mount>th>s DVD.
>
> Any help in this area would be greatly ap>re>iated.
> >> Cheers,
> Paul

Hi Paul,

the vold of Solaris 10 10/08 is broken. There is the known bug

6712352 duplicate partitions are not correctly counted by vold

which is fixed with patch 138130-01. I would recommend to
install this patch before you create your flash archive.
If you want to mount the DVD manually you have to consider
2 things:

1. ensure the volume management is disabled

2. use the the block devices /dev/dsk/c0t0d0s0 instead
of the character device /dev/rdsk/c0t0d0s0 to mount the
DVD.

HTH
Roland
 
 
 

Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Post by Paul » Wed, 28 Jan 2009 09:14:33

n Jan 22, 6:07m, Roland Titze < XXXX@XXXXX.COM > wrote:
> > Vendor: TSSTcorp Product: CD/DVDW TS-L632D Revision: SI03 Serial>N>:
> > Size: 0<00GB <0>by>e>>
> > Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverabl>:>0
> > Illegal Request: 584 Predictive Failure Analysi>:>0
> > c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport >r>ors: 0
> > Vendor: SEAGATE roduct: ST973401LSUN72G evision: 0556 S>r>al No:
> > 0>0>10DXTG
> > Siz<: 73.40GB <734000>78>6>bytes>
> > Media Error: 0 Device Not Ready: 0 No Device: 0 Recov>r>ble: 0
> > Illegal Request: 0 Predictive Failure An>ly>i>: 0
>
> > #mount -F hsfs dev/rdsk/c0t0d>s0>/>drom
>
> > mount: /dev/rdsk/c0t0d0s0 not a bl>ck>d>vice
>
> > So Why does the size of the DVD show up as 0.00GB and why d>e> it not
> > think it is a block device. oes naybody have any idea>h>w I can
> > mount>th>s>DVD.
>
> > Any help in this area would be greatly ap>re>i>ted.
>
>>>>Cheers,> >>> Paul
>
>
> the vold of Solaris 10 10/08 is broken. There is the>kn>wn bug
>
> 6712352 duplicate partitions are not correctly count>d >y vold
>
> which is fixed with patch 138130-01. I would re>ommend to
> install this patch before you create your flas> archive.
> If you want to mount the DVD manually you have t> consider
>>2 >hings:
>
> 1. ensure the volume management i> d>sabled
>
> 2. use the the block devices dev/dsk/c0t0d>s0 instead
> f the character device dev/rdsk/c0t0d0s0>to mount >he> > >DVD.
> --
> HTH
> Roland

Thanks Roland,

I will install the patch and recreate my flash archive. Just one
thing that I had noticed with your instructions.

step 10 I had to put the the sparc.miniro<t back>into /boot/
sparc.miniroot dont know if this was correct but I could not get it to
pick up the correct profind script otherwise.

Cheers,
Paul
 
 
 

Creating a bootable Solaris 10 u6 (sparc) DVD - problem mounting the DVD

Post by Roland Tit » Fri, 30 Jan 2009 21:49:29

n 27 Jan., 01:14, Paul < XXXX@XXXXX.COM > wrote:
> > > Vendor: TSSTcorp Product: CD/DVDW TS-L632D Revision: SI03 Serial>N>:> > > > Size: 0<00GB <0>by>e>>> > > > Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverabl>:>0> > > > Illegal Request: 584 Predictive Failure Analysi>:>0> > > > c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport >r>o>s: 0
> > > Vendor: SEAGATE roduct: ST973401LSUN72G evision: 0556 S>r>a> No:
> > > 0>0>1>DXTG
> > > Siz<: 73.40GB <734000>78>6>b>tes>
> > > Media Error: 0 Device Not Ready: 0 No Device: 0 Recov>r>b>e: 0
> > > Illegal Request: 0 Predictive Failure An>ly>i>:>0
>
> > > #mount -F hsfs dev/rdsk/c0t0d>s0>/>d>om
>
> > > mount: /dev/rdsk/c0t0d0s0 not a bl>ck>d>v>ce
>
> > > So Why does the size of the DVD show up as 0.00GB and why d>e> >t not
> > > think it is a block device. oes naybody have any idea>h>w>I can
> > > mount>th>s>D>D.
>
> > > Any help in this area would be greatly ap>re>i>t>d.
>
> >>>>C>eers,
>
> > H> >aul,
>
> > the vold of Solaris 10 10/08 is broken. There is the>kn>w> bug
>
> > 6712352 duplicate partitions are not correctly count>d >y>vold
>
> > which is fixed with patch 138130-01. I would re>o>mend to
> > install this patch before you create your flas> >rchive.
> > If you want to mount the DVD manually you have t> >onsider
> >>2 >h>ngs:
>
> > 1. ensure the volume management i> d>s>bled
>
> > 2. use the the block devices dev/dsk/c0t0d>s> instead
> > f the character device dev/rdsk/c0t0d0s0>t> mount th>
>
>>>>--
> > H>H >> > Roland
>
> >ha>ks Roland,
>
> I will install the patch and recreate my flash arch>ve. ust one
> thing that I had noticed with your >in>tructions.
>
> step 10 I had to put the the sparc.miniro<t back>into /boot/
> sparc.miniroot dont know if this was correct but I could>not get it to
> pick up the correct profind scr>pt>otherwise.> >
> Cheers,
> Paul

I'm not the first author of the newsgroup article

http://groups.google.de/group/comp.unix.solaris/browse_thread/thread/e66db415247b67bf/672328f6855efa8d#672328f6855efa8d

but I think you are right.
The original step 10 was:

10. Create a new boot archive file

# /boot/solaris/bin/root_a<chive >pack /spa<c.mini>oot


I think the correct command should be

# /boot/solaris/bin/root_a<chive >pack /boot/spa<c.mini>oot


BR
Roland