[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

[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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.