Article View: comp.os.linux.setup
Article #200Re: Writing fat16 partition from image file
From: Brian McCauley
Date: Tue, 04 Aug 1998 00:00
Date: Tue, 04 Aug 1998 00:00
30 lines
1888 bytes
1888 bytes
"Darren Mackay" <dcmackay@tech-center.com> writes:
> Is is possible to this in linux?
>
> 1. Create an image file of a fat16 partition.
I tried the other day and failed. mkfs.msdos seems to require
knowlege of the disk geometry. An image file has no geometry. You
could of course use a parition then read it into a file.
> 2. Can the image file be written directly to empty drive space
I'm assuming if you need geometry to create a FAT16 fs this info is
actually needed by something. I'd guess this means that an image file
from a parition with one geometry would fail if you wrote it to one
with another.
> 3. How can I set the active partition using a script
There's a program called "activate" out there somewhere but I've not
looked at it for several years. It exists (or at least existed) for
DOS and Linux.
--
\\ ( ) No Bullshit! | Email: B.A.McCauley@bham.ac.uk
. _\\__[oo from | Phones: +44 121 471 3789 (home)
.__/ \\ /\@ /~) /~[ /\/[ | +44 121 627 2173 (voice) 2175 (fax)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
###LL LL\\ (Brian McCauley) | Finger: bam@wcl-rs.bham.ac.uk
Technical Details
Message-ID:
<togu0lmq9.fsf@wcl-l.bham.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6q5uq5$338$1@bunyip.cc.uq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,3a4b808ac28d8a36 X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,3a4b808ac28d8a36 X-Google-Attributes: gidf9b51,public X-Google-Thread: 1103af,3a4b808ac28d8a36 X-Google-Attributes: gid1103af,public From: Brian McCauley <B.A.McCauley@bham.ac.uk> Subject: Re: Writing fat16 partition from image file Date: 1998/08/04 Message-ID: <togu0lmq9.fsf@wcl-l.bham.ac.uk> X-Deja-AN: 377871612 References: <6q5uq5$338$1@bunyip.cc.uq.edu.au> Organization: The University of Birmingham, UK. Newsgroups: comp.os.linux.setup,comp.os.linux.misc,aus.computers.linux