boot grml in VMWare 

At grml boot menu, type:

fb800x600

Note, there is no prefix grml. After boot,

grml-x -mode 800x600 fluxbox

Booting with grub on usb-flash-pen 

Newsgroups: gmane.linux.distributions.grml.user
Date: Sun, 01 Jul 2007
> can I get this grub to boot from an iso-file like grml1.0 or even
> Knoppix or BartPE on the flash-pen ?

Sure. Piece of cake. Ref:

http://xpt.sourceforge.net/techdocs/nix/live/grml/grml03-Cheatcodes/index.html#_Most_useful

Use the bootfrom cheatcodes eg,

bootfrom=/dev/hda1/GRML.iso

Booting with grub on usb-flash-pen 

> can I get this grub to boot from an iso-file like grml1.0 or even
> Knoppix or BartPE on the flash-pen ?

Using grml1.0 to boot from grml1.0's iso is easy, just use the bootfrom cheat code, or check this out:

boot grml_iso from HD http://xpt.sourceforge.net/techdocs/nix/live/grml/grml04-Boot/ar01s02.html

Grub on USB Stick http://xpt.sourceforge.net/techdocs/nix/live/grml/grml04-Boot/ar01s05.html

To locate the booting USB is more difficult than HD, so you might want to check out grml's booting with UUID option:

http://xpt.sourceforge.net/techdocs/nix/live/grml/grml14-ReleaseRelatedIssues/index.html#_Wishlist_automount_by_names

To use grub or grml as a general purpose iso-file boot loader, I doubt that it is possible, but I'm ready to listen.

FYI, you might also find the following urls helpful.

A GRUB Tutorial http://xpt.sourceforge.net/techdocs/nix/disk/boot/boot06-Grub/ar01s06.html

Pen Drives under Linux http://xpt.sourceforge.net/techdocs/nix/disk/pen/

thanks

xpt

boot grml_iso from HD 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Thu, 27 Apr 2006 23:33:27 +0000

You can boot grml_iso from HD without grml_CD. Condition: you must have a linux partition with grub as linux loader on your HD.

Here is a way to do so:

  1. copy grml_iso to a partition on HD: (hda5 as example). grml tohd=/dev/hda5

  2. reboot to your linux box.(my / is on /dev/hda5).

  3. create grml directory in /boot of your linux partition : as root mkdir /boot/grml

  4. copy the files "linux26" and "minirt26.gz" from grml_CD/boot/isolinux to /boot/grml

  5. edit /boot/grub/menu.lst to add entry for grml. here is as example the entry of grml in my /boot/grub/menu.lst

    # this entry boot grml from iso_image  on /dev/hda5
    title   Grml
            root  (hd0,4)
            kernel  /boot/grml/linux26  fromhd=/dev/hda5 vga=797  ramdisk=100000
            initrd  /boot/grml/minirt26.gz
  6. it's all. reboot and pick Grml at grub menu.

boulhian

boot grml_iso from HD 

>  6. it's all. reboot and pick Grml at grub menu.

Thanks a lot for writing down the necessary steps! I've added it to the grml-wiki at http://wiki.grml.org/doku.php?id=tips

-mika-

Grml initrd 

> I've been trying for several weeks to make my grml USB pen bootable. I
> think  I finally found the problem, quite a simple one -- I need a initrd
> which has findfs to find the root device.

Huh?! grml provides a dialog for building an initrd within grml2hd. Booting from USB should work stright forward, with grml2hd for hd installations and grml2usb for grml in live-cd mode on usb devices.

> However, I didn't find a initrd in my grml2hd disk, and neither the
> minirt26.gz borrowed from grml_small_0.3.iso works.
> So, is there anywhere I can get a grml initrd, or I have to build one
> myself? If so, any good source of info for the building?
,---- [ % grml-tips initramfs ]
| Install initrd via initramfs-tools for currently running kernel:
|
| # update-initramfs -u -t -k $(uname -r)
`----

-mika-

grml2hd: initrd.img not found 

Newsgroups: gmane.linux.distributions.grml.user
Date: 2007-03-06
> I installed grml 0.9 on a free partition and copied the essential lines
> from grml /boot/grub/menu.lst to my standard menu.lst. It reads now:
 > title                Debian GNU/Linux, kernel 2.6.18-3-486
 > root         (hd0,2)
 > kernel               /boot/vmlinuz-2.6.18-3-486 root=/dev/sda3 vga=792 ro
 > initrd               /boot/initrd.img-2.6.18-3-486
[...]

Create an initrd if you need it via running:

# update-initramfs -c -t -k $(uname -r)

Adjust your /boot/grub/menu.lst according to your needs and run 'update-grub' then (if you want to :)).

> Booting grml does not work because the system cannot find
> initrd.img-2.6.18-grml. In fact it does not exist in grml's boot file.
> Where does it hide ?

The initrd is not shipped by default with grml 0.9.

But very probably you even do not need an initrd on your system at all, so just remove the initrd lines in your menu.lst and try booting then (can be done interactive in grub as well to test it).

-mika-

Grub on USB Stick 

Newsgroups: gmane.linux.distributions.grml.user
Date: 2007-02-23
> I'm trying to boot from my USB-Stick. ... After an grml2usb my
> Genode-System won't boot.

Assuming that the kernel (named vmlinuz here, known as linux26 on the live-cd) and grml's initrd (named minirt26.gz here and on the live-cd) are available in the boot-directory of your usb-stick try the following menu.lst entry:

title   Grml minirt
kernel  /boot/vmlinuz ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791
initrd=minirt26.gz nomce
initrd  /boot/minirt26.gz
boot

-mika-

Grub on USB Stick 

> try the following menu.lst entry:

Thanx alot mika : )

It works like this! I'don't have to gr'ml for myselfe anymore ; )

Patrick

grml boot faq 

http://grml.org/faq/#fbprobs

  1. I don't see anything when booting grml

    This is a problem with vesafb framebuffer. Try to boot with bootoption 'nofb' or 'grml vga=normal'.

grml boot test report 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Sun, 25 Jun 2006 13:08:24 -0600
> I tried boot options grml lapic vga=791
>                                 vga=normal
>                                 vga=ask
>                                 fb1024x768

Ah. I used vga=normal, then "grml-x -mode '1024x768' -module i810 fluxbox" and all was well. It's gorgeous! :-) Questions & suggestions (this is all while running from CD, btw):

grml boot test report 

> "fbset 1024x768-70" replies:
>    open /dev/fb0: no such file or directory

Well, switching resolution on the fly won't work with vesafb.

>   - XConsole is one annoying app.  Running it from X you get "Couldn't
>     open xconsole".  I usually do "su" (no dash) then run it from a root
>     command line, then exit.  This (su, no dash) uses the user's
>     ~/.Xauthority.

You need to have read-permissions for /dev/xconsole.

>     Doing this in grml, trying to exit out of the root login, I get "You
>     have running jobs.", and exit fails.  Drat.  Do I have to use nohup?
>      Or will one of your brilliant zsh tricks (RUNASROOT) solve this?

Just run 'exit' once more and you won't get the "You have running jobs" a second time. ;)

-mika-