[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Announce: mkparted - create boot/rescue disk with parted
From: |
robotti |
Subject: |
Announce: mkparted - create boot/rescue disk with parted |
Date: |
Sat, 5 Jan 2002 04:16:36 +0700 |
I updated some of the software.
This is a little package to create a bootable cd or floppy boot/rescue
linux system, with the 'parted' program on it.
ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 192kb"
===============================================================================
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 cd or floppy boot/rescue
linux system, with the 'parted' program on it.
The 'mkparted' script will expect to find parted.tgz, syslinux/img1440k.gz,
syslinux/img1722k.gz, syslinux/isolinux.bin, genext2fs/genext2fs, and
genext2fs/sstrip in the same directory as it is.
Tell 'mkparted' where the chosen kernel is and the directory that contains
the parted compiled source, the kernel can be as much as 1200kb.
You'll be told if the kernel is to big.
/mkparted -serial -[fd|fd2|cd|image|initrd] -k path_to_kernel
-p path_to_parted_compiled_source_directory
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 -march=i386 -s" --enable-all-static --disable-pc98 \
--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.
You must include the "--enable-all-static" option!
You should have /usr/lib/libuuid.a on your system.
If you want to create a bootable floppy version, the first mkparted
option should be '-fd'.
Example: ./mkparted -fd -k /boot/vmlinuz -p /root/parted-1.4.22
If you want to create a bootable cdrom version (requires mkisofs), the
first mkparted option should be '-cd'.
Example: ./mkparted -cd -k /boot/vmlinuz -p /root/parted-1.4.22
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
Serial console instructions!
If you want to use a serial console the first option should be '-serial'.
Example: ./mkparted -serial -fd -k /boot/vmlinuz -p /root/parted-1.4.22
ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 192kb"
The license for this package is GPL.
Kent Robotti <address@hidden> 1-5-2002
===============================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Announce: mkparted - create boot/rescue disk with parted,
robotti <=