View previous topic :: View next topic |
Author |
Message |
erebus n00b
Joined: 17 May 2002 Posts: 49 Location: United Kingdom
|
Posted: Wed Apr 16, 2003 12:14 pm Post subject: Mounting a partition not in the partition table |
|
|
Hi ya,
Does any one out there know if this is possible? I mean can I specifiy a portition of the hard drive giving the start and end cylinders and heads.. and then mount as if it was an actual partition of the hard drive.
Thanks,
Andrew |
|
Back to top |
|
|
compu-tom Guru
Joined: 09 Jan 2003 Posts: 415 Location: Berlin, Germany
|
Posted: Wed Apr 16, 2003 4:38 pm Post subject: |
|
|
I don't know if it helps, but I think you can dd a portion of the hd into a file and then mount this via loop-back, e.g.,
Code: | dd if=/dev/hda of=imagefile bs=1k count=100 skip=23 |
would copy 100KB from hda starting at an offset of 23KB and then
Code: | mkdir /mnt/image
mount -o loop imagefile /mnt/image |
mounts the imagefile.
I hope this helps.
See man dd for details on dd. |
|
Back to top |
|
|
|