[Grml] Re: Use GRML without burning any CD

T mlist4suntong at yahoo.com
Sat Jul 1 17:54:15 CEST 2006


On Sat, 01 Jul 2006 11:32:51 -0400, T wrote:

> The following is in asciidoc format.

[ messed up by my news reader, trying again. ]

== Use GRML without burning any CD

=== Linux Case

Case 1: you have

- a working linux, be it on HD or any Live-CD
- a normal partition (see below for details) that has above 800M for GRML
- grub as boot loader on HD

Do the following as root.

==== Copy /boot directory

Copy /boot off the grml cd to your boot partition.

--------------------------------
# my boot partition is /dev/sda3
mount /dev/sda3 /mnt/tmp1/
mount -o loop /path/to/distros/grml/grml_0.7.iso /mnt/tmp2
mkdir -p /mnt/tmp1/boot/grml
cp /mnt/tmp2/boot/isolinux/linux26 /mnt/tmp1/boot/grml
cp /mnt/tmp2/boot/isolinux/minirt26.gz /mnt/tmp1/boot/grml
--------------------------------

==== Copy /GRML directory

Copy the /GRML directory to your root directory of any *normal* hard disk
partition. You may place it somewhere other than the boot partition
(ext2/3, reiserfs, vfat are supported).

--------------------------------
# put /GRML in /dev/sda7
mount /dev/sda7 /mnt/tmp3
cp -pr /mnt/tmp2/GRML /mnt/tmp3
--------------------------------

==== Add boot entry

Put in your /boot/grub/menu.lst something like:

  title GRML
        root   (hd0,6)
        kernel  /boot/grml/linux26 welcome noeject noprompt
        fromhd=/dev/sda7 initrd  /boot/grml/minirt26.gz

Notice the 'fromhd' parameter: it's the location of the /GRML directory.

 umount /mnt/tmp1
 umount /mnt/tmp2
 umount /mnt/tmp3

Now reboot and have fun.

Note: Adapted from Knoppix Remastering Howto
http://www.knoppix.net/wiki/Knoppix_Remastering_Howto

=== Windows Case

Case 2: for those unfortunate people who have to use Windoze...

Suppose you have a windows-only pc, and only one partition; to make things
worse the partition is windoze close-and-proprietary NTFS, yet you still
want to use grml without burning any CD. Then, check out the

Poor man's install, grub and ntfs
http://www.knoppix.net/wiki/User:Ml#Poor_man.27s_install.2C_grub_and_ntfs

Basically it involves installing wingrub and copying files. Remember to
's/KNOPPIX/GRML/g';

good luck.

tong





More information about the Grml mailing list