User Tools

Site Tools


doc:appunti:linux:sa:grml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:grml [2023/12/12 12:45] – [Customize the environment and save the config.tbz] niccolodoc:appunti:linux:sa:grml [2024/12/16 15:50] (current) – [Create a new partition into the USB stick] niccolo
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 ''/dev/sdc3'' partition, which I decided to size at 5 Gb. Select **p** (//print the partition table//) and **w** (//write table to disk and exit//) to finalize the partitioning, using the following schema as a reference:+Using the **n** key to **add a new partition** it is possible to create the ''/dev/sdc3'' partition, which I decided to size at 5 Gb. 
 + 
 +<code> 
 +Command (m for help): n 
 +Partition type 
 +Select (default p): p 
 +Partition number (3,4, default 3): 
 +First sector (1751040-122879999, default 1751040): 
 +Last sector, +/-sectors or +/-size{K,M,G,T,P} (1751040-122879999, default 122879999): +5G 
 +</code> 
 + 
 +Select **p** (//print the partition table//) and **w** (//write table to disk and exit//) to finalize the partitioning, using the following schema as a reference:
  
 <code> <code>
Line 78: Line 89:
 <code> <code>
 mkdir /mnt/grmlcfg mkdir /mnt/grmlcfg
-mount /dev/sdc /mnt/grmlcfg+mount /dev/sdc3 /mnt/grmlcfg
 cp -p config.tbz /mnt/grmlcfg cp -p config.tbz /mnt/grmlcfg
 </code> </code>
doc/appunti/linux/sa/grml.1702381500.txt.gz · Last modified: 2023/12/12 12:45 by niccolo