bug-parted
[Top][All Lists]
Advanced

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

Re: Re: Parted 1.6.0-pre10


From: robotti
Subject: Re: Re: Parted 1.6.0-pre10
Date: Thu, 2 May 2002 21:24:01 +0700

On May 3, 02, address@hidden wrote:
>On Thu, May 02, 2002 at 02:39:23PM +0700, address@hidden wrote:
>> You need to do something like this for it to work.
>>
>> localedef -i de_DE -f ISO-8859-1 de
>> export LC_ALL=de_DE
>
>Ah, cool!  You figured it out!

>So, what does localedef do, exactly?  It looks like it writes
>to /usr/share/locale/* ?

It seems to create /usr/share/locale/de/LC_CTYPE and a few other
LC_* files, they provide character set support for the chosen language.

It uses the files under /usr/share/i18n as it reference.

>(I can't figure it out, and it isn't documented...)

>So, you only have to type localedef once?

Yes.

>Anyway, does this mean that there are no more problems with
>creating i18n'ized bootdisks?!  Cool!

Yes, except the size of them all doesn't leave room
for a lot.

I put together a package "mkparted.tgz" that you can use
to create a cd and a two floppy system with parted on it.

It will just install one nls file if the user wants it.

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

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

You should configure parted like this.

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

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.

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 -fd -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 `kernel.img' and `parted.gz' to two 1.44 MB floppies.

# dd if=kernel.img of=/dev/fd0
# dd if=parted-1.6.0.gz 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 `parted-1.6.0.iso' to a cd disk using `cdrecord' etc.

The license for this package is GNU GPL.

ftp://ftp.tux.org/pub/people/kent-robotti/mkparted "mkparted.tgz 903Kb"

Kent Robotti <address@hidden> 5-2-2002
===============================================================================




reply via email to

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