This is easier idea. But what to do if you guest file
system does not apt-get script 

I am using file system available on user mode linux
home page

$mount -t ext2 -o loop
/home/dahuja/DownLoads/UMLPatches/root_fs.rh-7.2-anonsrv.pristine.20020312
 /mnt/cdrom

[EMAIL PROTECTED] root]# chroot /mnt/cdrom /bin/sh
Running apt-get fails as this is avaliable in
filesystem [root_fs.rh-7.2-anonsrv.pristine.20020312]

sh-2.05# apt-get update
sh: apt-get: command not found

Please suggest how to proceed further.

Thanks & Regards
Dinesh

--- Anthony Brock <[EMAIL PROTECTED]> wrote:

> I normally find it best to chroot myself in the
> loop-mount environment such
> as:
> 
> mount -o loop /srv/vs/images/my_test.img /mnt
> chroot /mnt /bin/sh
> apt-get update
> apt-get install .....
> 
> Tony
> 
> > -----Original Message-----
> > From:
> [EMAIL PROTECTED]
> >
>
[mailto:[EMAIL PROTECTED]
> Behalf Of
> > antoine
> > Sent: Thursday, June 09, 2005 10:44 AM
> > To: User Mode Linux User
> > Subject: Re: [uml-user] QM_MODULES: Function not
> implemented
> >
> >
> > > > Please tell me where I am going wrong. To
> install rpm
> > > > packages, i need to have rpm manager installed
> in UML
> > > > filesystem. Am i right in my understanding ?
> > > That would work, but there is another
> possibility: loop-mount
> > the root_fs from
> > > the host and use the rpm option to specify where
> you want to
> > install the
> > > packages... don't do that if the Distro versions
> are too
> > different because
> > > different RPM version have different archive
> versions.
> > If you go down that route, have a good look at the
> rpm man page.
> > Do not update the rpm database of the host (it may
> already have that
> > lib/package), you want to update the database of
> the guest instead...
> >
> > Antoine
> >
> >
> >
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy
> Games.  How far can
> > you shotput
> > a projector? How fast can you ride your desk chair
> down the
> > office luge track?
> > If you want to score the big prize, get to know
> the little guy.
> > Play to win an NEC 61" plasma display:
> http://www.necitguy.com/?r=20
> > _______________________________________________
> > User-mode-linux-user mailing list
> > User-mode-linux-user@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
> >
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
>  How far can you shotput
> a projector? How fast can you ride your desk chair
> down the office luge track?
> If you want to score the big prize, get to know the
> little guy.  
> Play to win an NEC 61" plasma display:
> http://www.necitguy.com/?r=20
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
> 



                
__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for 
FREE with Yahoo! Photos http://in.photos.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to