On 4/7/24 8:20 PM, home user wrote:
On 4/7/24 8:11 PM, Samuel Sieb wrote:
On 4/7/24 14:17, home user wrote:
On 4/5/24 1:43 PM, Samuel Sieb wrote:
Run the following command:
echo 'dracut_rescue_image="no"' > /etc/dracut.conf.d/02-rescue.conf
Then you can delete the rescue files from /boot and the rescue file from the loader entries below there.
What is the best practice way to do that: two individual "rm" commands, a "dnf remove" command (dnf remove what?), or something else (what?)?
Just "rm". They aren't managed by any package.
For the "loader entries", you're referring to "/boot.loader/entries/70857e3fb05849139515e66a3fdc6b38-0-rescue.conf"? Anything else? Just an "rm" command, or what?
Yes, just "rm".
--
-bash.3[~]: echo 'dracut_rescue_image="no"' > /etc/dracut.conf.d/02-rescue.conf
-bash.4[~]: cd /boot
-bash.5[boot]: ls *rescue*
initramfs-0-rescue-70857e3fb05849139515e66a3fdc6b38.img
vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38
-bash.6[boot]: rm initramfs-0-rescue-70857e3fb05849139515e66a3fdc6b38.img
rm: remove regular file 'initramfs-0-rescue-70857e3fb05849139515e66a3fdc6b38.img'? y
-bash.7[boot]: rm vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38
rm: remove regular file 'vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38'? y
-bash.8[boot]: cd loader/entries/
-bash.9[entries]: ls *rescue*
70857e3fb05849139515e66a3fdc6b38-0-rescue.conf
-bash.10[entries]: rm 70857e3fb05849139515e66a3fdc6b38-0-rescue.conf
rm: remove regular file '70857e3fb05849139515e66a3fdc6b38-0-rescue.conf'? y
-bash.11[entries]:
The upgrade is planned for Thursday.
Thank-you, Samuel.
I rebooted. The dracut entry is gone from the grub menu.
Disk usage is now:
-----
-bash.1[~]: df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 3.2G 1.8M 3.2G 1% /run
/dev/sda6 50G 29G 18G 63% /
/dev/sda3 474M 208M 238M 47% /boot
tmpfs 7.8G 0 7.8G 0% /tmp
/dev/sda7 904G 31G 827G 4% /home
tmpfs 1.6G 256K 1.6G 1% /run/user/1001
-bash.2[~]:
-----
Following Samuel's instructions worked. I should now have plenty of space for the f-38 to f-39 upgrade this Thursday.
I've labelled this thread SOLVED.
Thank-you Samuel.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue