It we here the whole time! fdisk_confirm=0
Works wonders! Thanks everyone! -- Chris Liles IT Intern Air2Web -----Original Message----- From: Taylor Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 4:21 PM To: Chris Liles Cc: [email protected] Subject: Re: [Unattended] Some help integrating with database 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
