[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23 Mar 2001 23:15:49 -0800
Added some more options.
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
Example: ./mkparted -fd -k /boot/vmlinuz -p /root/parted-1.4.10
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" --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'.
C:\ loadlin kernel initrd=parted.gz root=/dev/ram0 rw
ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 162kb"
Kent Robotti <address@hidden> 3-24-2001
- new mkparted, kent robotti, 2001/03/23
- new mkparted,
kent robotti <=