From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8785 invoked from network); 30 Jan 1999 19:05:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jan 1999 19:05:13 -0000 Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA08961 for ; Sat, 30 Jan 1999 13:59:52 -0500 Received: from dashub2.das.dec.com (dashub2.imc.das.dec.com [16.136.240.27]) by mail11.digital.com (8.9.1a/8.9.1/WV2.0d) with ESMTP id LAA05291 for ; Fri, 29 Jan 1999 11:38:50 -0500 (EST) Received: by dashub2.imc.das.dec.com with Internet Mail Service (5.5.2232.9) id ; Fri, 29 Jan 1999 11:38:49 -0500 Message-ID: <5518FE2C95E6D111B1A500104B72113B024E291B@alfexc8.alf.dec.com> From: Bob Segrest To: axp-list Subject: a scripted fdisk ??? Date: Fri, 29 Jan 1999 11:38:48 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Greetings, I need to build a large number of identical Linux systems. Rather than manually install and configure the operating system and other software bits, I am writing a command script that will restore a master dump file to the hard drives I will install in each system. One task I have not figured out is how to automatically create the initial disk label. I know how to manually do this with fdisk, but I don't want to do this several hundred times. After looking at the fdisk man page, I don't see any way to pass fdisk command from a shell script. Does anyone know of a tool that can write the disklabel without manual intervention ??? If not, where can I find the source for fdisk ??? Bob Segrest