Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* a scripted fdisk ???
@ 1999-01-29 16:38 Bob Segrest
  1999-01-30 21:13 ` Philip Blundell
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Bob Segrest @ 1999-01-29 16:38 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: a scripted fdisk ???
@ 1999-01-30 21:47 Greer, Joe
  0 siblings, 0 replies; 11+ messages in thread
From: Greer, Joe @ 1999-01-30 21:47 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

NAME. cfdisk - Curses based disk partition table manipulator for Linux.
SYNOPSIS. cfdisk 


> -----Original Message-----
> From:	Michal Jaegermann 
> Sent:	Saturday, January 30, 1999 4:49 PM
> To:	axp-list@redhat.com
> Subject:	Re: a scripted fdisk ???
> 
> > 
> > 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.
> 
> You can find on net archives 'sfdisk'.  This one can be driven
> from a file with commands and data.  It is actually more flexible and
> capable than fdisk but its interface is a bit cryptic. :-)
> 
> I have no idea if 'sfdisk' is still maintained, if its code if 64 bit
> clean and if it knows now anything about disk labels.  Last time I used
> it it was definitely writing only partition tables.  If these things
> are missing it likely should not be very hard to update its code
> by "borrowing" from the current fdisk.
> 
> > Does anyone know of a tool that can write the disklabel without manual
> > intervention ???
> 
> If you are really talking about disklabel then did you check 'minlabel'?
> Its counterpart from DU definitely can do what you ask.
> 
>    Michal
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <5518FE2C95E6D111B1A500104B72113B024E291B@alfexc8.alf.dec.c om>]

end of thread, other threads:[~1999-02-01 18:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-29 16:38 a scripted fdisk ??? Bob Segrest
1999-01-30 21:13 ` Philip Blundell
1999-01-30 21:48 ` Michal Jaegermann
1999-01-30 23:38   ` Tharin
1999-01-30 23:17 ` Quant-X Alpha Linux Support
1999-02-01 14:47 ` jeff
1999-02-01 17:37   ` Michal Jaegermann
1999-02-01 17:51     ` Marek
1999-02-01 18:31     ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
1999-01-30 21:47 Greer, Joe
     [not found] <5518FE2C95E6D111B1A500104B72113B024E291B@alfexc8.alf.dec.c om>
1999-02-01 18:48 ` Frank C. Brants

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox