bug-parted
[Top][All Lists]
Advanced

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

Announce: mkparted update


From: robotti
Subject: Announce: mkparted update
Date: Wed, 8 May 2002 11:12:44 +0700

I removed NLS support, it doesn't work.
I fixed a few bugs.

===============================================================================
mkparted: v1.0.3 Kent Robotti <address@hidden> 5-8-2002

http://www.tux.org/pub/people/kent-robotti/mkparted
ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted-1.0.3.tgz 1093Kb"

This is a little package to create a bootable cd or floppy
boot/rescue linux system, with the `parted' program on it.

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

/mkparted -serial -[cd|fd|fd2|initrd] -k path_to_kernel
           -p path_to_parted_compiled_source_directory

You should configure parted like this.

/configure CFLAGS="-Os -march=i386" --disable-Werror --prefix=/usr \
--disable-nls --enable-all-static --disable-pc98 ; make

If you want to make it as small as possible, configure it like this.

/configure CFLAGS="-Os -march=i386" --disable-Werror --prefix=/usr \
--disable-nls --enable-all-static --disable-pc98 --disable-debug \
--without-readline ; make

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

You must include the "--enable-all-static" option!

If you want to create a two floppy system, with the kernel
on one floppy and parted on the other.

Tell `mkparted' where the chosen kernel is, the kernel can
be as much as 1695 Kb. You'll be told if the kernel is to big.

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

# Block devices
#
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y

There's a 2.4.18 IDE/SCSI kernel with JFS and XFS filesystem support
at the site below. You can use it or any kernel.

/mkparted -fd2 -k path_to_kernel

You can then create a parted initrd for a second floppy like this.

/mkparted -initrd -p path_to_parted_compiled_source_directory

You can then write `partboot.img' and `partroot.img' to two 1.44 MB floppies.

# dd if=partboot.img of=/dev/fd0
# dd if=partroot-1.6.0.img of=/dev/fd0

If you want to create a single floppy system, with the kernel
and parted on it. The kernel can be as much as 1100 Kb.

/mkparted -fd -k path_to_kernel -p path_to_parted_compiled_source_directory

You can then write `parted-1.6.0.img' to a floppy.

# dd if=parted-1.6.0.img.img of=/dev/fd0

To create a bootable cd version do this.

/mkparted -cd -k path_to_kernel -p path_to_parted_compiled_source_directory

You can then write `partcd-1.6.0.iso' to a cd disk using `cdrecord' etc.

If you want to use a serial console the first option should be '-serial'.
The kernel you use must have serial console support!

The license for the mkparted package is GNU GPL.
===============================================================================




reply via email to

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