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-devel

[Xen-devel] accessing loopback filesystem+partitions on a file

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] accessing loopback filesystem+partitions on a file
From: Luke Kenneth Casson Leighton <lkcl@xxxxxxxx>
Date: Wed, 29 Jun 2005 00:49:17 +0100
Delivery-date: Tue, 28 Jun 2005 23:39:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
[if you are happy to reply at all, please reply cc'd thank you.]

hi,

i'm really sorry to be bothering people on this list but i genuinely
don't what phrases to google for what i am looking for without getting
swamped by useless pages, which you will understand why when you see
the question, below.

background:

        i'm sort-of helping test a xen install project where a
        block device is presented as the DRIVE - not, i repeat
        not, the partitions on the drive which is the quotes
        normal quotes way of doing xen installes

        (yes there are good reasons for doing this).

        the thing is that the install is failing, and we'd duh
        like to analyse what's going on (access the log files -
        no, sshd hasn't been installed yet) after terminating
        the xen session [because afaik in xen guest sessions
        there's no way i know of to access virtual consoles 2-6]

the question is, therefore:

        * how the hell do you loopback mount (or lvm mount
          or _anything_! something!)  partitions that have
          been created in a loopback'd file!!!!

          [aside from booting up a second pre-installed xen
          guest domain and making the filesystem-in-a-file
          available as /dev/hdb of course.]

answers of the form "work out where the partitions are, then use
hexedit to remove the first few blocks" will win no prizes here.

l.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>