Internet access in chroot 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 5 Jul 2006 08:02:17 +0200
> How can I access the Internet in the chroot environment under grml? I am
> able to do it in Sarge, but the same approach won't apply in grml.

As usual. :)

Maybe you forgot to add a nameserver to resolv.conf?

echo "nameserver $IP_OF_DNS_SERVER" >> /etc/resolv.conf

Michael Prokop

Disable ipv6 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 5 Jul 2006 07:53:33 +0200
> how can I disable ipv6 in grml2hd envrionment?

Since grml-scripts (0.7-10) via running 'blacklist ipv6' or manually add the following to /etc/modprobe.d/grml:

blacklist ipv6
alias     ipv6 off

Michael Prokop

Disable framebuffer page up scrolling 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 5 Jul 2006 08:08:10 +0200
> Is there any way to disable framebuffer from scrolling when doing page
> up/down?
> Currently, when booted in framebuffer mode, when I do page up/down, the
> content "smoothly" scrolling up/down one page. I want the traditional
> zero-wait page up/down way -- without the content scrolling.

Try to boot with additional kernel commandline "video=vesafb:ywrap,mtrr" - is this what you are searching for?

Michael Prokop

Reboot vs poweroff 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 05 Jul 2006 11:36:21 -0400

Where is the behavior defined for, when I press Ctrl-Alt-Del to reboot? Currently it does poweroff instead of reboot, at least in the grml2hd environment.

I want it to be reboot instead, and pressing the power button does the poweroff.

Reboot vs poweroff 

> Where is the behavior defined for, when I press Ctrl-Alt-Del to reboot?

got it, /etc/inittab, thank.

# What to do when CTRL-ALT-DEL is pressed.
ca::ctrlaltdel:/etc/init 0

Reboot vs poweroff 

> > I want it to be reboot instead, and pressing the power button does the
> > poweroff.
> Is it possible to define the behavior when the power button is pressed
> as well? 'man init' doesn't seem to cover it. What's the current/default
> behavior?

It's usually handled by acpid and defined in /etc/acpi/powerbtn.sh (thanks for hint, Nico).

Michael Prokop

Fully automated grml2hd 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 5 Jul 2006 07:59:17 +0200
> Several suggestions regarding the grml2hd:
> - I noticed that not all questions asked are in the config file.
> hostname is one of the example.

Yes, might be extended in the feature.

> - How about able to configure default language and time zone?

It's on the todolist.

> - It might be a good idea to allow user to specify their own config
> files, but partition and mbr are still passed from the command line. So,
> eg, the config file can be provided from floppy, the same setting (from
> floppy) can be re-used over and over again.

Just copy the config file from the floppy to /etc/grml2hd/config then.

Michael Prokop

Fully automated grml2hd 

> > Just copy the config file from the floppy to /etc/grml2hd/config then.
> Ah, forgot that you could modify the files "on the CD", seems quite a
> miracle to me. Is the unionfs playing the trick?

Yes.

Michael Prokop

pre-configure X 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 5 Jul 2006 08:01:11 +0200
> Which cheet code can allow the Live-CD to pre-configure X after bootup?
> I want the step of "grml-x fluxbox" to be define in my boot code, so
> that I can "startx" as normal.

You don't need to run grml-x anymore as soon as you have a working xorg.conf. Adjust your live-cd system with the configuration framework: http://grml.org/config/

Michael Prokop