"Johnson, Chris A -ND" <[EMAIL PROTECTED]> writes:

> I'm dropped back to a DOS prompt and the C: drive exists, but there are
> no files in it, and I am not able to create any files or directories.
> 
> C:\>mkdir testdir
> MKDIR failed for 'testdir'.
> 
> C:\>echo test > testfile
> Can not redirect output to file 'testfile'.

Well, that's no good.

> The partition does not seem to be created/formatted properly.
> 
> C:\>fdisk /clear
> ERROR: Sector not found, AH=0x42!

Ah, that is not going to work.  This part is running under dosemu,
which does not provide access to the entire disk; only the C:\ drive.
So commands like "fdisk" will not work here.

>     fdisk_cmds = "fdisk /clear 1;fdisk /prio:4000;fdisk /activate:1"

Whoa, where did you get "fdisk /prio:4000"?  That asks for a 4G FAT16
partition, which is "impossible" because of the cluster size needed.

Although FreeDOS allows it as an extension...  So FreeDOS fdisk allows
it...  But I have no idea what Parted will do here.  I bet it does
something bad :-).

Try "fdisk /pri:4000" instead.  And I will add a check in the
fdisk->Parted command conversion to error out in cases like this.

 - Pat


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to