linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mounting partitions on loopback fs ?
@ 2003-04-09  9:20 Soeren Sonnenburg
  2003-04-09 15:30 ` Ville Herva
  0 siblings, 1 reply; 3+ messages in thread
From: Soeren Sonnenburg @ 2003-04-09  9:20 UTC (permalink / raw)
  To: Linux Kernel

Hi!

I dd'ed a whole harddisk into a file and set it up using losetup...

when I fdisk /dev/loop0 I can clearly see all the partitions. However I
have no idea how I could mount them. Is that possible / what needs to be
tweaked to make that possible ?

Regards,
Soeren.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mounting partitions on loopback fs ?
  2003-04-09  9:20 mounting partitions on loopback fs ? Soeren Sonnenburg
@ 2003-04-09 15:30 ` Ville Herva
  2003-04-09 15:42   ` Richard B. Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Ville Herva @ 2003-04-09 15:30 UTC (permalink / raw)
  To: Soeren Sonnenburg; +Cc: Linux Kernel

On Wed, Apr 09, 2003 at 11:20:22AM +0200, you [Soeren Sonnenburg] wrote:
> Hi!
> 
> I dd'ed a whole harddisk into a file and set it up using losetup...
> 
> when I fdisk /dev/loop0 I can clearly see all the partitions. However I
> have no idea how I could mount them. Is that possible / what needs to be
> tweaked to make that possible ?

See

http://groups.google.com/groups?safe=images&ie=ISO-8859-1&as_umsgid=20000729162632.A14849@veritas.com&lr=&hl=en
http://groups.google.com/groups?safe=images&ie=ISO-8859-1&as_umsgid=200007291520.RAA02724@cave.bitwizard.nl&lr=&hl=en



-- v --

v@iki.fi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mounting partitions on loopback fs ?
  2003-04-09 15:30 ` Ville Herva
@ 2003-04-09 15:42   ` Richard B. Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2003-04-09 15:42 UTC (permalink / raw)
  To: Ville Herva; +Cc: Soeren Sonnenburg, Linux Kernel

On Wed, 9 Apr 2003, Ville Herva wrote:

> On Wed, Apr 09, 2003 at 11:20:22AM +0200, you [Soeren Sonnenburg] wrote:
> > Hi!
> >
> > I dd'ed a whole harddisk into a file and set it up using losetup...
> >
> > when I fdisk /dev/loop0 I can clearly see all the partitions. However I
> > have no idea how I could mount them. Is that possible / what needs to be
> > tweaked to make that possible ?
>

mount -o loop filename /mountpoint

Here is an example:

Script started on Wed Apr  9 11:39:27 2003
# ls -la
total 370560
drwxr-xr-x   2 root     root         4096 Apr  9 11:39 .
drwxr-xr-x  63 root     root         4096 Apr  9 11:39 ..
-rwxr-xr-x   1 root     root          212 Sep 27  2002 cp-win.sh
-rw-r--r--   1 root     root            0 Apr  9 11:39 typescript
-rwxr-x--x   1 root     root     379064320 Jan 25  2002 win.raw
# mount -o loop win.raw /mnt
# ls /mnt
autorun.inf  cdrom_ip.5  discover  read1st.txt	setup.exe  support
bootdisk     cdrom_nt.5  i386	   readme.doc	setuptxt   valueadd
# exit
exit
Script done on Wed Apr  9 11:40:07 2003

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-09 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09  9:20 mounting partitions on loopback fs ? Soeren Sonnenburg
2003-04-09 15:30 ` Ville Herva
2003-04-09 15:42   ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).