WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] lost root password in guest

To: Robert Threet <rthreet@xxxxxxxxxxxx>
Subject: Re: [Xen-users] lost root password in guest
From: Igor Serebryany <igor47@xxxxxxxxxxx>
Date: Mon, 9 May 2011 16:41:25 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 May 2011 14:43:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC8552C.70709@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4DC8552C.70709@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
just do 'mount /dev/loop0 /mnt' -- once you've done losetup you don't
need the -o loop anymore.

--igor

On Mon, May 09, 2011 at 03:57:16PM -0500, Robert Threet wrote:
> I can't seem to mount the local disk image:
> 
> [root@basket mapper]# losetup -f /var/lib/xen/images/vutil.img
> [root@basket mapper]# losetup -a
> /dev/loop0: [fd00]:79331424 (/var/lib/xen/images/vutil.img)
> 
> [root@basket mapper]# mount -o loop -t ext4 /dev/loop0 /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/loop2,
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> -- 
> Robert Threet
> http://yesistilluseperl.blogspot.com/
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>