Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting a partition not in the partition table
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
erebus
n00b
n00b


Joined: 17 May 2002
Posts: 49
Location: United Kingdom

PostPosted: Wed Apr 16, 2003 12:14 pm    Post subject: Mounting a partition not in the partition table Reply with quote

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
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Wed Apr 16, 2003 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum