"The purpose of the article is to explain how to automate
the fdisking of a hard drive by primarily using Sfdisk and the Perl
Expect module. Why would you want to do this? Well, it can be
one way of many ways to solve the problem where you need to have
your bootable files for Linux before the 1024th cylinder. There are
other ways to solve the boot problem, but we will stick to the
cylinder method for this article. It also can be used to
automatically partition new hard drives."
"Sfdisk is a tool that allows you to change the partitioning of
your hard disks through scripts. It also lets you get information
about your hard drives. Although it is a pretty cool program, it
does have limitations. It works and it has most of the necessary
powers of fdisk, but not all of it."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.