Fedora: Difference between revisions
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
<source lang="bash" highlight="23-25"> | <source lang="bash" highlight="23-25"> | ||
sudo | sudo fdisk /dev/mmcblk0 | ||
fdisk /dev/mmcblk0 | |||
:<<EOF | :<<EOF | ||
Welcome to fdisk (util-linux 2.37.2). | Welcome to fdisk (util-linux 2.37.2). | ||
Line 68: | Line 67: | ||
Command (m for help): q | Command (m for help): q | ||
EOF | |||
</source> | |||
<source lang="bash"> | |||
sudo vgs | |||
:<<EOF | |||
VG #PV #LV #SN Attr VSize VFree | |||
fedora_fedora 1 1 0 wz--n- 5.41g 0 | |||
EOF | EOF | ||
</source> | </source> |
Revision as of 21:46, 4 November 2021
Disable Overscan
sudo su
cat << EOF >> /boot/efi/config.txt
disable_overscan=1
EOF
cat /boot/efi/config.txt
init 6
Expand BTRFS
lsblk
:'
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 119.3G 0 disk
├─mmcblk0p1 179:1 0 600M 0 part /boot/efi
├─mmcblk0p2 179:2 0 1G 0 part /boot
└─mmcblk0p3 179:3 0 5.4G 0 part
└─fedora_fedora-root 253:0 0 5.4G 0 lvm /
zram0 252:0 0 7.6G 0 disk [SWAP]
'
df -h
:'
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 1.6G 9.2M 1.6G 1% /run
/dev/mapper/fedora_fedora-root 5.5G 2.4G 3.1G 44% /
tmpfs 3.9G 4.0K 3.9G 1% /tmp
/dev/mmcblk0p2 1014M 154M 861M 16% /boot
/dev/mmcblk0p1 599M 31M 569M 6% /boot/efi
tmpfs 783M 0 783M 0% /run/user/1000
'
sudo fdisk /dev/mmcblk0
:<<EOF
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
Command (m for help): p
Disk /dev/mmcblk0: 119.25 GiB, 128043712512 bytes, 250085376 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8f4e3975
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 1230847 1228800 600M 6 FAT16
/dev/mmcblk0p2 1230848 3327999 2097152 1G 83 Linux
/dev/mmcblk0p3 3328000 14680063 11352064 5.4G 8e Linux LVM
Command (m for help): q
EOF
sudo vgs
:<<EOF
VG #PV #LV #SN Attr VSize VFree
fedora_fedora 1 1 0 wz--n- 5.41g 0
EOF