Update disk utils

main
Gasper Spagnolo 2022-10-12 13:40:35 +02:00
parent 6b6fee4fc1
commit cce80ae202
3 changed files with 22 additions and 6 deletions

View File

@ -1,6 +0,0 @@
# Disk Clone
## Use dd
It should work
`dd if=/dev/old of=/dev/new bs=64K conv=noerror,sync`

15
disk-utils.md Normal file
View File

@ -0,0 +1,15 @@
# Disk utils
## Use dd
It should work
`dd if=/dev/old of=/dev/new bs=64K conv=noerror,sync`
## Resize drive
### ext4
`resize2fs /dev/sdb 100G` -> resized my partition on hetzner from 50G to 100G ez
### Best page to check if you land here:
[red_hat](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/part-file-systems)

7
rstudio.md Normal file
View File

@ -0,0 +1,7 @@
# Rstudio
## If it does not launch on wayland:
```bash
export QT_QPA_PLATFORM=xcb
rstudio #if you are on arch or derivative then include "--no-sandbox" flag
```