[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: making dos partitions: help



On Wed, 2002-05-15 at 09:11, Ron Johnson wrote:
> On Wed, 2002-05-15 at 06:57, Dan wrote:
> > Hello! I need to create a simple bootable fat32 partition.
> > Partitioning, making it active, writing correct MBR isn't a real problem.
> > Formatting that partition is trivial as well- mkdosfs -F32 device, but then 
> > the REAL problem begins. Is there a simple way to transfer usual msdos 
> > bootloader + system files without messing with BPB/FAT? I've tinkered with 
> > mkdosfs, replacing its dummy bootloader with msdos one. It does start, but 
> > still refuses to boot io.sys, due to io-errors (yes, I've placed io.sys + 
> > msdos.sys correctly and double-checked the FAT). 
> > 
> > What's the solution? Of course, using dosemu + dexe to run "sys source: 
> > target:" still works, but I'd like to do that using native linux tools.
> > Another way is to create a small bootable partition and use dd to read/write 
> > image, but this way will work for this particular case only, cause some 
> > specific info is still located in BPB/FAT table. :(
> 
> I think booting from a DOS floppy and saying "format/s c:" or
> "sys c:" are the only legal methods.  The DOS partition starts
> below cylinder 1023, right??

I agree with you in the latter option, run sys c: from a msdos bootdisk,
it will transfer the system files to the c: partition, But I think then
that the partition must stand as activ, but I'm not 100% sure.
> 
> -- 
> +------------------------------------------------------------+
> | Ron Johnson, Jr.        Home: ron.l.johnson@cox.net        |
> | Jefferson, LA  USA      http://ronandheather.dhs.org:81    |
> |                                                            |
> | "I have created a government of whirled peas..."           |
> |   Maharishi Mahesh Yogi, 12-May-2002, CNN, Larry King Live |
> +------------------------------------------------------------+
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- 
/ernst

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: