> I used it to give the installer the option of skipping all the
> parititoning/formatting prompts. See 
> http://openrock.net/tb/patches/boot-floppies* for the patches I applied to
> the boot-floppies.
> 
> #!/bin/sh
> echo -e 
>"1\nd\n2\nd\n3\nd\n4\nd\nn\np\n1\n\n+20M\na\n1\nn\np\n2\n\n+200M\nt\n2\n82\nn\np\n3\n\n\nw\n"
>  | fdisk /dev/hda >/dev/null

I would prefer usage of sfdisk for something like this *very* *much*.
fdisk is AFAIK not thought to run non-interactive, and a little change in
it may brake this.



Hochachtungsvoll,
        Bernhard R. Link


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to