[Top][All Lists]

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

new mkparted

From: kent robotti
Subject: new mkparted
Date: 27 Jun 2001 03:31:39 -0700

Updated the software and added a new option "-fd2" for
creating a two floppy system.

ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 176kb"

GNU Parted is a program for creating, destroying, resizing, checking and
copying partitions, and the filesystems on them.  This is useful for creating
space for new operating systems, reorganising disk usage, copying data between
hard disks, and disk imaging.

 * an online tutorial is available at http://www.luv.asn.au/overheads/parted
 * the GNU Parted home page is http://www.gnu.org/software/parted
 * the GNU Parted ftp site is ftp://ftp.gnu.org/gnu/parted
 * send bug reports, requests for help, feature requests, comments, etc.
   to address@hidden

This is a little package to create a bootable floppy linux system,
with the 'parted' program on it.

Tell 'mkparted' where the chosen kernel is and the directory that contains
the parted compiled source, the kernel can be 650kb to 1000kb in size, it
depends on the size of the /lib/libc.so.6 on your system.

You'll be told if the kernel is to big.

./mkparted -[fd|cd|image|initrd] -k path_to_kernel
           -p path_to_parted_compiled_source_directory

Example: ./mkparted -fd -k /boot/vmlinuz -p /root/parted-1.4.14

The kernel must have ram disk and initial ram disk (initrd) support.

You should configure parted like this, so it'll be as small as possible.

./configure CFLAGS="-Os -m386 -s" --disable-shared --disable-nls
 --without-readline ; make

If your version of gcc doesn't accept -Os use -O2 instead.

You can configure it anyway and it will still work, but it'll be bigger.

If you want to create a bootable floppy version, the first mkparted
option should be '-fd'.

If you want to create a bootable cdrom version (requires mkisofs), the
first mkparted option should be '-cd'.

If you want to create a bootable image version that can be written to a
floppy, the first mkparted option should be '-image'.

If you want to create a initrd version that can be booted using loadlin.exe,
the first mkparted option should be '-initrd'.

./mkparted -initrd -p path_to_parted_compiled_source_directory

If the kernel is more than 1023K loadlin can't boot it.

C:\ loadlin kernel initrd=parted.gz root=/dev/ram0 rw

If you want to create a two floppy system, with the kernel
on one floppy and parted etc. on the other.  The first
mkparted option should be '-fd2'.

./mkparted -fd2 -k path_to_kernel

Then you can create a initrd for a second floppy like this.
./mkparted -initrd -p path_to_parted_compiled_source_directory

Then write the initrd 'parted.gz' to a 1.44mb formatted floppy.
# dd if=parted.gz of=/dev/fd0"

ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 176kb"

The license for this package is GPL.

Kent Robotti <address@hidden> 6-27-2001

reply via email to

[Prev in Thread] Current Thread [Next in Thread]