[Top][All Lists]

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

[Announce]: mkpart v1.1.5 update!

From: robotti
Subject: [Announce]: mkpart v1.1.5 update!
Date: Thu, 7 Aug 2003 09:04:52 +0700

I updated all the software.

mkpart: v1.1.5 Kent Robotti <address@hidden> 8-7-2003


mkpart-1.1.5.tar.gz 1291Kb

This is a little package to create a bootable cd or floppy
boot/rescue Linux system, with the `parted/partimage/ntfsresize'
programs on it. You can probably only include any one or two of
the above three programs on a floppy version. The cd version
can have all three. They're all optional you don't have to
include any.

/mkpart -serial -[cd -i|fd1|fd2|initrd] -k path_to_kernel 
         -p path_to_parted_binary -p path_to_partimage_binary 
         -n path_to_ntfsresize_binary 
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  
Partition Image is a Linux utility which saves partitions in the ext2/3,
reiserfs, xfs, jfs, ufs, ntfs, hpfs, fat16, and fat32 formats to an image
file. Only used blocks are copied to save space and to increase the speed.
The image file can be compressed, in gzip, or bzip2 formats, and can be
split into small files to be copied on floppies (1.44 MB, ZIP, ...).
Then, the partition can be restored if there is a problem on the partition
(file system error, virus, error in data, ...), from the image file.
It can also be used to install many identical PCs with the same hardware.


The `ntfsresize' program non-destructively resizes Windows XP/2000/NT4
or Windows Server 2003 NTFS filesystems.

http://linux-ntfs.sourceforge.net/downloads.html "ntfsprogs-1.7.1 or later"

You should configure `parted' like this.

/configure CFLAGS="-Os -march=i386" --disable-Werror --prefix=/usr \
--disable-nls --disable-dynamic-loading --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 \
--disable-dynamic-loading --without-readline ; make

If you want parted to have reiserfs support, install progsreiserfs.
http://reiserfs.linux.kiev.ua  "progsreiserfs-"

You should configure `partimage' like this.  Mkpart has no network support!

/configure CFLAGS="-Os -march=i386" --prefix=/usr --disable-nls \
--with-sysconfdir=/etc --with-log-dir=/var/log --enable-all-static \
--disable-login --disable-cheuid --disable-ssl --with-debug-level=0 ; make

You should configure `ntfsprogs' like this.

/configure CFLAGS="-Os -march=i386" --prefix=/usr \
--enable-really-static ; make

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

You must include the "--enable-*-static" option for all the above!

NOTE: You can use any statically compiled parted/partimage/ntfsresize,
      the above are just examples if you want to compile them yourself.

If you want to create a two floppy system, with the kernel 
on one floppy and (parted/partimage/ntfsresize) on the other.

Tell `mkpart' 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

There's a 2.4.21 IDE/SCSI kernel with (ext2/reiserfs/xfs/jfs/msdos/vfat/
ufs/ntfs/iso9660) filesystem support at the site. You can use it or any

/mkpart -fd2 -k path_to_kernel

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

/mkpart -initrd -p path_to_parted_binary -p path_to_partimage_binary

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.img of=/dev/fd0

If you want to create a single floppy system, with the kernel and
(parted and or partimage) on it. The kernel can be approx. as much
as 1100 Kb with one of parted/partimage or 700 Kb with both.
You'll be told if the kernel is to big.

/mkpart -fd1 -k path_to_kernel -p path_to_parted_binary
         -p path_to_partimage_binary

You can then write `partrtbt.img' to a floppy.

# dd if=partrtbt.img.img of=/dev/fd0

NOTE: You should use a 2.4 or later kernel otherwise some things
      may not work properly.

To create a bootable cd version do this.

/mkpart -cd -k /boot/vmlinuz -p /root/parted-1.6.6/parted/parted \
         -p /root/partimage-0.6.2/src/client/partimage \
         -n /root/nfsprogs-1.7.1/nfsprogs/nfsresize

NOTE: If you want to boot other images (dos/win etc.) on the cd,
      put the name of the images after the `-i' option, and they
      will be included on the partcd.iso image.

The image should have a boot sector that allows you to boot it.
The image can't be compressed!

/mkpart -cd -i /root/winxp_image.img /root/win_image.img -k \
         /boot/vmlinuz -p /root/parted-1.6.6/parted/parted -p \
         /root/partimage-0.6.2/src/client/partimage \
         -n /root/nfsprogs-1.7.1/nfsprogs/nfsresize

You can then write `partcd.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!

NOTE: If you don't want to include (parted/partimage/ntfsresize),
      don't include the `-p' or `-n' option for it. They're all optional!

NOTE: If you want to add shell scripts or anything to part.tgz
      or part.small.tgz, do this.
      # mkdir temp
      # tar xzvpf part.tgz -C temp
      # mv part.tgz part.old.tgz
      # cd temp
      Put the scripts in usr/bin and tar gzip it.
      temp# tar cvzpf ../part.tgz *

NOTE: If you want to use another version of `syslinux' do this.
      Replace syslinux/syslinux and syslinux/isolinux.bin.

The license for the mkpart package is GNU GPL.

reply via email to

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