[ug-bosug] Fwd: Help: lofi plumb fails while extracting miniroot
ameya agnihotri
ameyaagnihotri22 at gmail.com
Mon Feb 4 04:38:24 PST 2008
---------- Forwarded message ----------
From: ameya agnihotri <ameyaagnihotri22 at gmail.com>
Date: Feb 4, 2008 6:08 PM
Subject: Re: [ug-bosug] Help: lofi plumb fails while extracting miniroot
To: manishchaks at gmail.com
try this manually:
$cp miniroot myminiroot.gz
$gunzip myminiroot.gz
$lofiadm -a <absolute path> myminiroot
lofiadm must return something like /dev/lofi/1
$mkdir <some dir name>
$mount /dev/lofi/1 <some dir name>
if everything works fine, you will get a directory structure under <some dir
name>
if lofiadm fails, then the chances are that the miniroot is corrupt
On Feb 4, 2008 5:59 PM, Manish Chakravarty <manishchaks at gmail.com> wrote:
> Hi Ameya,
>
> gzcat is in my PATH.
>
>
>
>
> On Feb 4, 2008 5:07 PM, ameya agnihotri <ameyaagnihotri22 at gmail.com>
> wrote:
>
> > Update:
> > root_archive script contains the following contents
> >
> > TMR=/tmp/mr$$
> > gzcat $MR > $TMR
> >
> > lofidev=`/usr/sbin/lofiadm -a $TMR`
> > if [ $? != 0 ] ; then
> > echo lofi plumb failed
> > exit 2
> > fi
> >
> >
> > There is no error handling for gzcat.
> > Check you $PATH and see if you can manually run gzcat on prompt.
> >
> >
> >
> >
> > On Feb 4, 2008 5:01 PM, ameya agnihotri <ameyaagnihotri22 at gmail.com>
> > wrote:
> >
> > > unzip the miniroot first.
> > > Then try :
> > > lofiadm -a <unzipped file name>
> > >
> > > (also rename the miniroot to miniroot.gz before unzipping it )
> > >
> > > On Feb 4, 2008 4:48 PM, Manish Chakravarty <manishchaks at gmail.com>
> > > wrote:
> > >
> > > > Hi BOSUG,
> > > >
> > > > Have a look at this:
> > > > bash-3.2 # /boot/solaris/bin/root_archive unpack
> > > > nexentamnt/platform/i86pc/miniroot nexentaroot
> > > > lofiadm: size of nexentamnt/platform/i86pc/miniroot is not a
> > > > multiple of 512
> > > > lofi plumb failed
> > > >
> > > > The nexenta root dir contains the Nexenta CP 3 iso mounted using
> > > > lofiadm
> > > >
> > > > What does this error mean?
> > > > How do i solve this?
> > > >
> > > > --
> > > > Manish Chakravarty
> > > > http://manish-chaks.livejournal.com/
> > > >
> > > > _______________________________________________
> > > > ug-bosug mailing list
> > > > List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> > > > List-Owner: mailto:ug-bosug-owner at opensolaris.org
> > > > List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
> > > >
> > >
> > >
> > >
> > > --
> > > Dont think you are,
> > > Know you are.
> > > -Legendary Morpheus in The Matrix
> >
> >
> >
> >
> > --
> > Dont think you are,
> > Know you are.
> > -Legendary Morpheus in The Matrix
> >
>
>
>
> --
> Manish Chakravarty
> http://manish-chaks.livejournal.com/
>
--
Dont think you are,
Know you are.
-Legendary Morpheus in The Matrix
--
Dont think you are,
Know you are.
-Legendary Morpheus in The Matrix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080204/cf047420/attachment.html
More information about the ug-bosug
mailing list