On Thursday 23 June 2005 18:34, Dinesh Ahuja wrote:
> Sorry for troubling again. This has been discussed
> previously but I was not able to make out any way
> around for my problem and hence posting the latest
> problem which I am facing while installing RPM on UML
> filesystem.

> As per your suggestions, I have created a new
> filesystem and mounted it on /mnt/cdrom
Well, I don't remember the exact reason, but if you need simply to expand the 
available space on a UML filesystem, it can be expanded on the host (search 
the list / the Wiki).
> [EMAIL PROTECTED] root]# mount -t ext2 -o loop
> /home/dahuja/DownLoads/UMLPatches/disk2.img
> /mnt/cdrom
>
> The free available space is as follows :
> [EMAIL PROTECTED] root]# df -h /mnt/cdrom
> Filesystem            Size  Used Avail Use% Mounted on
> /home/dahuja/DownLoads/UMLPatches/disk2.img
>                       146M   13K  138M   1% /mnt/cdrom
>
> [EMAIL PROTECTED] UMLPatches]# rpm -i --root /mnt/cdrom
> glibc-common-2.3.2-4.80.8.i386.rpm
> warning: glibc-common-2.3.2-4.80.8.i386.rpm: V3 DSA
> signature: NOKEY, key ID db42a60e
>         installing package glibc-common-2.3.2-4.80.8
>  needs 39MB on the /mnt/cdrom filesystem

> Installing glibc-common gives me above error, but df
> command shows sufficient memory to proceed with
> installation.
I guess the real error is that there is no RPM database in the mounted 
filesystem, and that can be solved with rpm --initdb --root /mnt/cdrom 
(possibly after creating /mnt/cdrom/var/lib/rpm with correct permissions).
> Please advise on this.
>
> Thanks & Regards
> Dinesh

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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