public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "pat" <pat@xvalheru.org>
To: "Gentoo" <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] mounting disk image
Date: Sun, 6 Apr 2008 23:03:06 +0200	[thread overview]
Message-ID: <20080406205726.M53986@xvalheru.org> (raw)

Hello,

I have a question about mounting disk image as the disk. I have disk image
which was created using:
dd if=/dev/sda of=./file.iso
and the sda contained two partitions sda1 and sda2. I know, that if I have
only image of the sda1 I can mount it using loop device like
#losetup /dev/loop0 file.iso
#mount -t ... /dev/loop0 /mnt/tmp

But, how to do it if the file structure is: sda -> sda1, sda2? I need to get
data from sda1 and sda2 :-|

Thanks a lot for help.

     Pat
-- 
gentoo-user@lists.gentoo.org mailing list



             reply	other threads:[~2008-04-06 21:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 21:03 pat [this message]
2008-04-06 21:16 ` [gentoo-user] mounting disk image Alan McKinnon
2008-04-06 21:54   ` pat
2008-04-06 22:07     ` Alan McKinnon
2008-04-06 22:17       ` pat
2008-04-06 22:24         ` Alan McKinnon
2008-04-06 22:30           ` pat
2008-04-06 22:18       ` Andrey Falko
2008-04-06 22:25         ` pat
2008-04-06 21:19 ` Andrey Falko
2008-04-06 21:52   ` pat
2008-04-07  4:38 ` Stroller
2008-04-07 11:10   ` David Relson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080406205726.M53986@xvalheru.org \
    --to=pat@xvalheru.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox