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 1JFsPC-0005zF-Gf for garchives@archives.gentoo.org; Fri, 18 Jan 2008 14:41:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 053B2E0965; Fri, 18 Jan 2008 14:40:48 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by pigeon.gentoo.org (Postfix) with ESMTP id 4BF2DE0957 for ; Fri, 18 Jan 2008 14:40:47 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id h30so2188016wxd.10 for ; Fri, 18 Jan 2008 06:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:x-face:references:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:organization:from:date:in-reply-to:message-id:user-agent:face:mime-version:content-type:sender; bh=LYMhVVW9HXT1CyDxCj0PBuwHHLPxAVXg4c9Ag3I1JqY=; b=Iqfgo5QSzDY/bYlRtP0Zv0GkWs2b4kCw+PZpTQQnGGdMkHqw4RAnVcaTqGO4URrPWI/Sv2PO18F67WoA2om/NweCc0+2KqFVuIp28pZmM756Z0PADprWhRmzsWUbvLcMqB8wimB+GwbUMI64mGfsKpc7eQneZ/80QZCNlYGDqtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:x-face:references:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:organization:from:date:in-reply-to:message-id:user-agent:face:mime-version:content-type:sender; b=xPBMSrfgNu3ub8RkC4JT2+4vTAiT3ufw4CSTdvLVxy/pV5Js3IgHOnvwqouQC9zcbTvxnmNcljdEvVYa3JEoheuaPJ2uokNh8BC1I3Iqv7iewb/41kUwBdNCvCbvUUGI7OzqNDib5nVOOGcYGFac8P7LGEum/ZOnCkuG3cWqna8= Received: by 10.142.174.8 with SMTP id w8mr2090183wfe.5.1200667245115; Fri, 18 Jan 2008 06:40:45 -0800 (PST) Received: from chateau.d.lf ( [122.162.237.148]) by mx.google.com with ESMTPS id i18sm6198584wxd.0.2008.01.18.06.40.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Jan 2008 06:40:44 -0800 (PST) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] "loopback mount" hard-drive image created with dd? X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\,Jv*LO5qBr#W2.\=d <20080118090425.GF11901@chateau.d.lf> X-PGP-FP: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-PGP: 762E5E74 X-Mailer: Gnus/5.11 (Oort 5.11) Emacs/22.1.50.1 (x86_64-pc-linux-gnu) X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= PGP: 762E5E74 Organization: /\/0/\/3 From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) Date: Fri, 18 Jan 2008 20:10:51 +0530 In-Reply-To: (stroller@stellar.eclipse.co.uk's message of "Fri\, 18 Jan 2008 13\:02\:01 +0000") Message-ID: <87y7anurgs.fsf@chateau.d.lf> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfX1/8/PwTExMDAwO0 tLSampr////f398oKCi/v78MDAwICAihq32EAAACU0lEQVQ4jW3UvWvbQBQA8LOJsJIsOajtZAtH Aqq8FLQUvNjhCex2UYpE7XYytPJalxJnFMImqrOkIJfcZtwGgrqEhELQ/XN9p+jLbc+Drfvx7r17 9jNxszXCV2mR9P3ACoKAOM5bugn1hRBRFAnxeErLMN4RIpbwYKwmZfgkMGDNol8PhlFrFDDalQcx BMMwXpwV8KElYqYzpmOA0a4UsC/EmrEU4ptGDq9kghTabP09g9EuFiSpJQOYXslgrEd6Aj8Q7pl+ kcFH3NRlUTIFfvyZwV4sEzwV20a4y2A/BWEYLxdYwk0Gn+Mohfa2X4bXsn8StC0uYdVI4T02cK0F is15ArcZYKeER5Q+f4JofZZHiPshJPt8BwtPrp4kF+KOp+sdpjvOjqpf3n+1bD6dTjk3ySKuZVU1 ezcdpm3h/pL4h9eP3Rw6R5bqa9t86a/1W3OVd7dpzgBMx8YAxVFgvgmqDTwEdQignOVgI1ggoQMA x40CFHzmCHgXcEoAig39MOSATTGt5znQL4qDIRIgNK2LAqYWAl47lBGDSgHNjoOt6vdDkNAtQc9E wN0EJgXQN7aMSABIGU7mMiI5CtQJzX9w9PwQYOApVqBwCMqwp9lmkKzh0qM5uPTAn/Vw0ogazK9m JRjR6pHqEVyqd1XbgPPfKkgAddClxRi49NmKcNMh+JV4T7mzqW1e2jwk3pAPjugGuCfHPLRIP/Qr tLEB9daW7HrvcLIx55i/9zjkfMlO//pnwLHyPcupzrL9AtxrFgTaN/dfGFcjreb+B9wmnzaKpz8p dKsBFjzeRQAAAABJRU5ErkJggg== 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 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= X-Archives-Salt: 57200717-699c-4ca6-8dcf-1330ba824428 X-Archives-Hash: 1db5aa76bce69e5b25232dfa26b44d13 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "Stroller" =3D=3D Stroller writes: Stroller> Would that work? I've never used VMs - are their drive images= exactly Stroller> "blocky" as my `dd` command would produce? Stroller> (`dd if=3D/dev/sda of=3D/mnt/sdb1/disk.img`, where /mnt/sdb1 = was a Stroller> portable USB hard-drive). I installed FreeBSD on my box, this way, when I didn't have CD-ROM drive on my box :) . I've used QEmu (AMD64), and it worked flawlessly :) . Stroller> It looks like mtools is geared towards floppies but will hand= le a Stroller> hard-drive fine. However the manual suggests no support for NTFS. (??) Another hack you can try is use to use '--offset' option of 'losetup'. First figure out from which byte, NTFS partition starts in disk image, and then you create a loopback back device for that image and the starting offset using 'losetup' and finally 'mount' the loopback as NTFS partition :) . Please do post your results, if you're successful :) HTH =2D-=20 Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4= =95=E0=A5=8D=E0=A4=B2 http://wahjava.wordpress.com/ =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHkLpzHy+EEHYuXnQRAppsAKCPzfCE1Ui9WmRQlxyStRlCk/LG7QCfYmnu QCzq4sDVW8V1UVEHmgPNqZM= =iuWs -----END PGP SIGNATURE----- --=-=-=-- -- gentoo-user@lists.gentoo.org mailing list