LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Manipulating IMG Files (https://www.linuxquestions.org/questions/linux-newbie-8/manipulating-img-files-556126/)

jimmy512 05-23-2007 12:19 PM

Manipulating IMG Files
 
I have a .img (image) file, which I wish to partition and format. It will be an image of a hard disk when completed, but I wish to place some files on the disk before I put it to use. So, how can I partition and format the disk on my box already. I can try to mount the disk, but it says that I have to specify a file system type, which I haven't got yet because the disk is not formatted. If I use cfdisk to try to modify the partition table, I cannot as the program is unable to find the disk size. I also wish to mount the disk, but I haven't really looked into this yet.

Thanks for all replies!

Tinkster 05-23-2007 02:09 PM

Google is your friend :}

Having read your question it took me 20 seconds to locate this one.

http://www.osdev.org/osfaq2/index.ph...0Under%20Linux



Cheers,
Tink

jimmy512 05-24-2007 05:06 AM

Hey Thanks! I didn't think to check google. Sorry for wasting your time.


All times are GMT -5. The time now is 12:08 PM.