From ac080bde341e5bda1c1ea013c8cad56a15bd3462 Mon Sep 17 00:00:00 2001 From: piccihud Date: Sun, 24 Sep 2023 15:49:23 +0200 Subject: [PATCH] added new linw in singleusermode.md --- linux/rnr/bookmarks | 11 ----------- linux/singleusermode.md | 8 ++++++++ linux/vim/vimrc | 3 +++ 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 linux/rnr/bookmarks diff --git a/linux/rnr/bookmarks b/linux/rnr/bookmarks deleted file mode 100644 index 2549bcb..0000000 --- a/linux/rnr/bookmarks +++ /dev/null @@ -1,11 +0,0 @@ -a:/media/davide/DAVIDE 1TB/Documenti -c:/home/davide/.config/rnr -d:/home/davide/Scaricati -f:/media/davide/FILM -g:/home/davide/Documenti/repos -h:/home/davide -m:/media/davide -n:/home/davide/Nextcloud -r:/ -s:/home/davide/Nextcloud/ITS - Appunti/II Anno -t:/home/davide/Nextcloud/ITS - Appunti/II Anno/Tesina diff --git a/linux/singleusermode.md b/linux/singleusermode.md index b7c7a8f..e82e94e 100644 --- a/linux/singleusermode.md +++ b/linux/singleusermode.md @@ -33,6 +33,13 @@ runlevel 5. Premere F10 per avviare il sistema. +Oppure + +- Modify kernel line: add single between `ro quiet` and at the end of this line add `init=/bin/bash` +- Press `F10` +- When the prompt is `root@(none):/#` you have to remount the `/` partition to have read-write access: `mount / -rw -o remount` +- Now you are ready to modify the root password: type `passwd` and change it! + ## Collegamenti - [https://it.wikipedia.org/wiki/Runlevel](https://it.wikipedia.org/wiki/Runlevel) @@ -40,3 +47,4 @@ runlevel - [https://askubuntu.com/questions/132965/how-do-i-boot-into-single-user-mode-from-grub](https://askubuntu.com/questions/132965/how-do-i-boot-into-single-user-mode-from-grub) - [https://www.tecmint.com/boot-into-single-user-mode-in-centos-7/](https://www.tecmint.com/boot-into-single-user-mode-in-centos-7/) - [https://itgala.xyz/how-to-enter-single-user-mode-in-ubuntu/](https://itgala.xyz/how-to-enter-single-user-mode-in-ubuntu/) +- [https://serverfault.com/questions/482079/debian-boot-to-single-user-mode](https://serverfault.com/questions/482079/debian-boot-to-single-user-mode) diff --git a/linux/vim/vimrc b/linux/vim/vimrc index cb828d4..6c81c5c 100755 --- a/linux/vim/vimrc +++ b/linux/vim/vimrc @@ -62,6 +62,7 @@ Plugin 'VundleVim/Vundle.vim' " All of your Plugins must be added before the following line " +Plugin 'jasonccox/vim-wayland-clipboard' Plugin 'gabrielelana/vim-markdown' Plugin 'itchyny/vim-cursorword' Plugin 'preservim/nerdtree' @@ -378,3 +379,5 @@ let g:lightline = { \ } " }}} +" +