Re: planning for upgrade. [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One other thing you might want to do.
Change the number of kernels to keep. The default is 3.
I have one old IBM R61 that has had lot of updates over the years, 
and its boot partition was to small. As other suggested removing 
the rescue frees space, but it gets rebuilt when new kernel is 
installed. That can be turned off, but don't recall that option at 
moment.

/etc/dnf/dnf.conf contains the install limit.
On that machine with small boot, just changed it to 2 instead of 
the default of 3.

[main]
gpgcheck=1
installonly_limit=3
timeout=300
clean_requirements_on_remove=true
max_parallel_downloads=20
fastestmirror=False
minrate=128K
deltarpm=false


On 7 Apr 2024 at 20:33, home user wrote:

Date sent:      	Sun, 7 Apr 2024 20:33:14 -0600
Subject:        	Re: planning for upgrade. [SOLVED]
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
From:           	home user <mattisonw@xxxxxxxxxxx>
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>

> 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


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:mikes@xxxxxxxx                            
 mailto:msetzerii@xxxxxxxxx
 mailto:msetzerii@xxxxxxx
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


--
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux