User Tools

Site Tools



en:linux:start

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
Last revisionBoth sides next revision
en:linux:start [2024/04/07 19:07] – [LVM] franken:linux:start [2024/04/07 19:12] – [LVM] frank
Line 410: Line 410:
 https://wiki.debian.org/LVM#Create_a_PV https://wiki.debian.org/LVM#Create_a_PV
  
 +prepared initrd
 <code> <code>
 +  apt install initramfs-tools
 +  kernelversion=$(uname -r)
 +  echo $kernelversion
 +  zcat /proc/config.gz > /boot/config-$kernelversion
 +  less /boot/config-$kernelversion
 +  update-initramfs -k $kernelversion -c
 +</code>
 +
 +<code>
 +root@bpi-r3-mini:~# apt install lvm2
 root@bpi-r3-mini:~# fdisk /dev/nvme0n1 root@bpi-r3-mini:~# fdisk /dev/nvme0n1
 #changed type of partition 3 to lvm #changed type of partition 3 to lvm
Line 438: Line 449:
   VG UUID               w22Wdx-Fhch-YNsA-roWh-Zq81-qv0R-d5fnvw                     VG UUID               w22Wdx-Fhch-YNsA-roWh-Zq81-qv0R-d5fnvw                  
                                                                                                                                                                  
 +root@bpi-r3-mini:~# lvcreate -n var -L 10g vg-nvme                              
 +  Logical volume "var" created.
 root@bpi-r3-mini:~# root@bpi-r3-mini:~#
 </code> </code>
  
en/linux/start.txt · Last modified: 2024/04/07 19:40 by frank