Chris Liles wrote:

Hello,

I am trying to use unattended with a database backend and so far so good.

I need a little help with some examples if anyone out there might be able to help me out I appreciate it.

My first problem is with adding fdisk commands to the database so unattended will just make 1 partition with 100% of the space on the hard drive.

I am using “fdisk /pri:100,100” but it seems that when I go to run unattended it works but then when windows setup runs through dosemu it errors out with not being able to find swap space.

My other problem is when Y/N prompts when going to format, partition, and replace the MBR, I would like to remove them. I started to tinker with install.pl but I can’t seem to figure out how to take those out. Specifically I can’t figure out what I need the functions to return for things to work properly. Below is what I tried.

“Format c:”

return(‘format /y /z:seriously /q /u /a /v: c:’);

This seems to work.

“Replace MBR”

return ‘Y’;

This seems to work too.

I can’t seem to get the “partition the disk” function to work (maybe because I don’t know perl and it is a little more complicated function).

- in fact I suspect the root of my “no swap space” error is caused by something I borked while trying to customize this function

I use the phrase “seems to work” loosely because when I revert my changes everything seems to work, except I can’t pull the fdisk commands from the database, and I still have the Y/N prompts.

Any help?

This is what I use format the whole drive with just one partition:

[_meta]
fdisk_lba=1
fdisk_cmds="fdisk /clear 1;fdisk /pri:4000;fdisk /activate:1"
fdisk_confirm=0
format_cmd="format /y /z:seriously /q /u /a /v: c:"
replace_mbr=1

begin:vcard
fn:Taylor Jones
n:Jones;Taylor
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to