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/
Home Products Support Community News


[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/
[if you are happy to reply at all, please reply cc'd thank you.]


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.


        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.


Xen-devel mailing list

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