On Saturday 18 February 2006 8:54 am, Markus Moeller wrote:
>  I have a UML system running on Suse SLES9. After patching the host system
> the UML system starts up, but I cannot login because of a misconfigured
> pam.conf (It needs a running network for authentication and the network
> adapter failed to initialise in the UML system)
>
> The uml system is started with:
>
> /bin/su -s /bin/bash -c ./linux umid=uml0 mem=256m ncups=1 ubd0=ubd0
> ubd1=ubd1 initrd=./initrd eth0=daemon,fe:fd:58:33:8a:88,unix,uml0.ctl
> ssl=none con=pts selinux=0 con=none con0=xterm con1=xterm root=/dev/ubda2
> uml0
>
> The files the UML uses are:
>
> file /home/uml0/ubd0
> /home/uml0/ubd0: x86 boot sector
>
> Is there a way of mounting this file to correct the pam.conf file ?

Assuming your image is partitioned with 63 sectors, try:

losetup -o $[512*63] /dev/loop1 ubd1
mount /dev/loop1 thingy

> Thanks
> Markus

Rob
-- 
Never bet against the cheap plastic solution.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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