From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jij8K-0001gw-0s for garchives@archives.gentoo.org; Mon, 07 Apr 2008 04:39:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08B33E0466; Mon, 7 Apr 2008 04:39:02 +0000 (UTC) Received: from earth.karoo.kcom.com (earth.karoo.kcom.com [212.50.160.55]) by pigeon.gentoo.org (Postfix) with ESMTP id B8BB8E0466 for ; Mon, 7 Apr 2008 04:39:01 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.25,615,1199664000"; d="scan'208";a="289865382" Received: from compaq.stroller.uk.eu.org ([213.152.39.90]) by earth.karoo.kcom.com with ESMTP; 07 Apr 2008 05:38:59 +0100 Received: from [192.168.1.71] (funf.stroller.uk.eu.org [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id CCDB7F377F for ; Mon, 7 Apr 2008 05:38:58 +0100 (BST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20080406205726.M53986@xvalheru.org> References: <20080406205726.M53986@xvalheru.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0394AB9D-417C-424F-8383-5713D59E8297@stellar.eclipse.co.uk> Content-Transfer-Encoding: 7bit From: Stroller Subject: Re: [gentoo-user] mounting disk image Date: Mon, 7 Apr 2008 05:38:54 +0100 To: gentoo-user@lists.gentoo.org X-Mailer: Apple Mail (2.752.2) X-Archives-Salt: 965ea52a-eb8b-4593-8497-648b88974543 X-Archives-Hash: 3af467308f221d401e5aeb972d3b7d48 On 6 Apr 2008, at 22:03, pat wrote: > ... > 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 :-| Hi there, I have a similar disk image I need to access in the same way. I asked about this on the list a while ago & received some helpful replies. Unfortunately I got busy with work right after posting, and haven't had a chance to try them, yet, but maybe you'll find them useful: http://thread.gmane.org/gmane.linux.gentoo.user/193263 Stroller. -- gentoo-user@lists.gentoo.org mailing list