doc:appunti:linux:sa:grml
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:grml [2023/11/30 11:56] – [Web References] niccolo | doc:appunti:linux:sa:grml [2024/12/16 15:50] (current) – [Create a new partition into the USB stick] niccolo | ||
---|---|---|---|
Line 15: | Line 15: | ||
- Create the USB boot stick from the **GRML ISO image**. | - Create the USB boot stick from the **GRML ISO image**. | ||
- Create a **new GRMLCFG partition** into the USB stick. | - Create a **new GRMLCFG partition** into the USB stick. | ||
- | - Customize the GRML environment at your will and create a **config.tbz**; copy the file into the new partition. | + | - Customize the GRML environment at your will and create a **config.tbz**. Copy the file into the new partition. |
- | - Create a **scrits/** directory into the partition containing scripts to be run at boot. | + | - Create a **scripts/** directory into the partition containing |
==== Create the USB stick from the ISO image ==== | ==== Create the USB stick from the ISO image ==== | ||
Line 38: | Line 38: | ||
The option **%%--wipe never%%** is required because the device contains an **iso9660 signature** that otherwise will be removed by the write command. | The option **%%--wipe never%%** is required because the device contains an **iso9660 signature** that otherwise will be removed by the write command. | ||
- | Using the **n** key to **add a new partition** it is possible to create the ''/ | + | Using the **n** key to **add a new partition** it is possible to create the ''/ |
+ | |||
+ | < | ||
+ | Command (m for help): n | ||
+ | Partition type | ||
+ | Select (default p): p | ||
+ | Partition number (3,4, default 3): | ||
+ | First sector (1751040-122879999, | ||
+ | Last sector, +/-sectors or +/ | ||
+ | </ | ||
+ | |||
+ | Select **p** (//print the partition table//) and **w** (//write table to disk and exit//) to finalize the partitioning, | ||
< | < | ||
Line 57: | Line 68: | ||
==== Customize the environment and save the config.tbz ==== | ==== Customize the environment and save the config.tbz ==== | ||
- | Now it is time to customize your environment; | + | Now it is time to customize your environment; |
+ | |||
+ | You can for example: | ||
* Generate an SSH RSA key running the **ssh-keygen** utility. The key will be saved into '' | * Generate an SSH RSA key running the **ssh-keygen** utility. The key will be saved into '' | ||
Line 76: | Line 89: | ||
< | < | ||
mkdir / | mkdir / | ||
- | mount /dev/sdc / | + | mount /dev/sdc3 / |
cp -p config.tbz / | cp -p config.tbz / | ||
+ | </ | ||
+ | |||
+ | If you want to modify the **config.tbz** archive without re-creating it via the '' | ||
+ | |||
+ | <code bash> | ||
+ | mkdir config | ||
+ | cd config | ||
+ | tar jxvf ../ | ||
+ | # Do whatever you need to the extracted files... | ||
+ | mv ../ | ||
+ | tar jcvf ../ | ||
</ | </ | ||
Line 101: | Line 125: | ||
La partizione VFAT quando il sistema live è avviato, risulta accessibile sotto **''/ | La partizione VFAT quando il sistema live è avviato, risulta accessibile sotto **''/ | ||
- | |||
- | FIXME (Verificare se funziona davvero) dopo l' | ||
La via più comoda di avere una GRML personalizzata è passare il parametro **'' | La via più comoda di avere una GRML personalizzata è passare il parametro **'' |
doc/appunti/linux/sa/grml.1701341813.txt.gz · Last modified: 2023/11/30 11:56 by niccolo