it:linux:grml

GRML

GRML ist mein bevorzugtes ISO-Linux. Leider keine recht neuen Releases mehr (Stand 10/2018: Release 2017.05). Aber das muss nicht sein.

Alles was man braucht gibts unter https://github.com/grml/grml-live.

apt-get install git build-essential fai-quickstart isolinux mtools mmd dosfstools memtest86+ 
#!/bin/bash
 
export GRML_FAI_CONFIG=$(pwd)/etc/grml/fai
export SCRIPTS_DIRECTORY=$(pwd)/scripts
export LIVE_CONF=$(pwd)/etc/grml/grml-live.conf
./grml-live -s sid -a amd64 -c GRMLBASE,GRML_FULL,AMD64 -t $(pwd)/templates/

Am besten das ganze gleich in eine build.sh verpacken.

Die Konfig fuer Anpassungen befindet sich unter etc/grml/grml-live.conf.

Mein diff:

diff --git a/etc/grml/grml-live.conf b/etc/grml/grml-live.conf
index c0695631..b3b3d89d 100644
--- a/etc/grml/grml-live.conf
+++ b/etc/grml/grml-live.conf
@@ -77,10 +77,10 @@
 # deb file:///media/mirror/debian sid main contrib non-free
 
 # Version number of ISO:
-# VERSION="0.0-1"
+VERSION="2018.10.01"
 
 # Name of the release:
-# RELEASENAME="grml-live rocks"
+RELEASENAME="grml-live rocks"
 
 # Which "grml flavour name" do you want to use?
 # Common usage examples: grml, grml-small, grml64,...
@@ -140,7 +140,7 @@
 
 # Do you want to use console based isolinux boot splash
 # instead of the default graphical menu?
-# ISOLINUX_METHOD="console"
+#ISOLINUX_METHOD="console"
 
 # Do you want to skip adding /boot/addons/ (from the template directory)?
 # NO_ADDONS='1'
@@ -192,6 +192,6 @@
 # NO_BOOTID='1'
 
 # Do you want to add any additional bootoptions that should be used by default?
-# DEFAULT_BOOTOPTIONS="ssh=secret"
+DEFAULT_BOOTOPTIONS="console=tty1 console=ttyS0,115200"
 
 ## END OF FILE #################################################################
diff --git a/templates/boot/isolinux/isolinux.cfg b/templates/boot/isolinux/isolinux.cfg
index 51c8e43d..11342893 100644
--- a/templates/boot/isolinux/isolinux.cfg
+++ b/templates/boot/isolinux/isolinux.cfg
@@ -74,7 +74,7 @@ timeout 300
 # ontimeout chain.c32 hd0 0
 
 # use this to control the bootup via a serial port:
-# serial 0 9600
+serial 0 115200
 
 # following is a placeholder just in case you want to patch your own startup
 # options right into the Grml ISO. Feel free to use a hex editor like dhex to

Ausgehend von GIT hash dadd8e03c24baeadd3716d0826626aa78bfa1226
Die beiden oben stehenden Aenderungen fuehren dazu, dass

  1. ISOLINUX von der seriellen Konsole zu errechen ist („die erste“ und 115200 Baud)
  2. Linux auch von dieser zu errechen ist.
  • it/linux/grml.txt
  • Zuletzt geändert: 2019/02/03 16:17
  • von admin