Re: Automatically partitioning hard drives - Kickstart?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 14, 2007 at 09:45:41AM +1000, Langdon Stevenson wrote:
> Hi
> 
> Can anyone suggest an easy way to repetitively partition a standard 
> drive set with a standard partition layout?

I'm not sure if you want just a partition layout or a partition layout
and file systems laid down in the new partitions.

If all you want is a partition layout, use sfdisk with output to a
file. Then use a rescue disty like Finnix to play the file back on new
drives. Then you get to install a file system.

Better yet, look at
http://www.charlescurley.com/Linux-Complete-Backup-and-Recovery-HOWTO.html. You
don't need the whole kazoo. I think all you need is the script
make.fdisk. You will need the install script, which builds some
directories for you. Run make.fdisk on a known good system, save the
resulting scripts and files, and run them on the targets. Those
scripts will also lay down file systems for you.

> 
> I have a hard drive partitioning scheme that I need to replicate 
> regularly when setting up new servers.  Once the partitions are in place 
> I use G4L to restore a snapshot of the server install.
> 
> I have been looking at using an Ananconda Kickstart file with the 
> required partition scheme configured in it.  This would be ideal, but I 
> don't know if it is possible to make the installer terminate before it 
> begins installing the OS.

Only by standing there and hitting reset at an opportune moment, as
far as I know.

> 
> The partition scheme includes: software raid devices and LVM devices, so 
> any solution would have to include support for creating them.

make.fdisk does handle LVM, but I have done nothing about RAID except
as is inherent in LVM. Please let me know how it works.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgp3aPMBqmEVh.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux