Back to fedora after 10 years
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    81
    Linux (Fedora) Chrome 67.0.3396.79

    Back to fedora after 10 years

    I was using Ubuntu recently. After an update, systemd-analyze showed more than 6min boot time. I spent time debugging and doing multiple clean installs but eventually gave up. I was beginning to think it was some hardware problem. I installed Fedora 28 and there is no problem.

    I'm liking the Gnome 3 integration in Fedora much better. I have a few custom .desktop files and while I could add them to the Desktop in Ubuntu I had problems adding them to the dock. This is also working in Fedora.

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,719
    Linux (Ubuntu) Firefox 60.0

    Re: Back to fedora after 10 years

    Glenn
    The Bassinator
    © ®

  3. #3
    Join Date
    Dec 2005
    Posts
    81
    Linux (Fedora) Chrome 67.0.3396.79

    Re: Back to fedora after 10 years

    That's a good write-up. I had not tried changing swap.

  4. #4
    Join Date
    Jan 2005
    Posts
    106
    Linux (Ubuntu) Firefox 33.0

    Re: Back to fedora after 10 years

    Good read, I have to grin a bit and agree with the author's little 'barb':

    Systemd is not a friendly thing - in fact, it makes system troubleshooting much more difficult than it should be, because it's a tool designed by someone who doesn't really do system troubleshooting. It's a dev thing. Classic, overcomplicated nonsense. Like weapons designed by bureaucrats.
    Server:Supermicro X9DRD-7LN4F-JBOD | (2) Xeon E5-2670 | 32GB DDR3 ECC Registered |Ubuntu -16.04 LTS
    Desktop: Asrock 79 ext4 | Intel Xeon E2650 | 16GB DDR3 1600 | Fedora 28
    Laptop: Dell Inspiron I5 7567 | Intel Core i5 |8GB RAM |GTX 1050 | Ubuntu -16.04 LTS

  5. #5
    Join Date
    Sep 2016
    Location
    Frankfort, Germany
    Posts
    113
    Windows NT 10.0 Firefox 56.0

    Re: Back to fedora after 10 years

    welcome back to the much better distro.

  6. #6
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,293
    Linux (Fedora) Firefox 61.0

    Re: Back to fedora after 10 years

    Here is a way I solved my problem. It is likely going to surprise you. I made some text bold for clarity.

    I Looked at /etc/default/grub and in particular, one line...
    GRUB_CMDLINE_LINUX="resume=UUID=5a3e58a4-71a5-4278-b98d-aebf681d3595 rhgb quiet"

    I then ran sudo blkid /dev/sd* | grep 5a3e58a4-71a5-4278-b98d-aebf681d3595
    Did the swap drive with that UUID show up? If it did not show up with blkid then for each reboot, your system will wait 1.5 minutes for a mount of that non existent UUID swap partition.

    This "GRUB_CMDLINE_LINUX" entry is used for hibernate/suspend. Follow up by looking at /boot/grub2/grub.cfg at the lines that start with linux16. For example, the following is from my system

    linux16 /vmlinuz-4.17.3-200.fc28.x86_64 root=UUID=27093c2b-fd95-4b5b-9a0f-d16b9465f4da ro resume=UUID=5a3e58a4-71a5-4278-b98d-aebf681d3595 rhgb quiet LANG=en_CA.UTF-8

    if you note the linux16 entry which I put into bold text, has the same value as the "GRUB_CMDLINE_LINUX" entry? (In my case they were).
    If there is a difference or the swap file does not exist, the boot process will wait for 1 minute 30 seconds for that non-existant swap partition to be mounted.

    Here is a fix.
    1) Create a (new) second swap partition or use an available swap partition UUID= value
    2) paste the UUID of that swap partition into the /etc/default/grub at the GRUB_CMDLINE_LINUX line to replace the existing UUID value.
    3) sudo grub2-mkconfig -o /boot/grub2/grub.cfg #this will fixup all lines with linux16 by using the value from /etc/default/grub .
    You should see that the /boot/grub2/grub.cfg will be updated with the corrected UUID values for lines with Linux16. They will match the GRUB_CMDLINE_LINUX value.
    4) When I rebooted, there was no longer the 1.5 minute delay.

    If you comment out the /etc/default/grub "GRUB_CMDLINE_LINUX" line, you still need to run grub2-mkconfig (step 3 above)
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  7. #7
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,293
    Linux (Fedora) Firefox 61.0

    Re: Back to fedora after 10 years

    Further comment.
    My system
    ========
    /dev/sda is an SSD with Fedora 28 Gnome on it. I have relocated the swap partition to my /dev/sde drive
    My /dev/sda is an SSD which is 2+ years old. A recommendation to prolong SSD life was "relocate /var" to a hard disk(spinner) and if the system is memory constrained, relocate /swap.
    I did both.

    /dev/sde is a spinner, with Fedora 28 KDE. It has /var and /swap and a second /swap here for the Fedora 28 Gnome
    When I installed F28 KDE, undocumented or whatever, grub used that second relocated sda swap file I for sleep/hibernate

    My laptop has 1 disk, I will check out what happens with it.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

Similar Threads

  1. Returning to Fedora after several years away
    By ajamison in forum Wibble
    Replies: 5
    Last Post: 30th June 2014, 03:51 AM
  2. Replies: 2
    Last Post: 15th September 2012, 05:46 PM
  3. 25 Years of IBM’s OS/2
    By Wayne in forum Wibble
    Replies: 8
    Last Post: 3rd April 2012, 06:03 AM
  4. Replies: 8
    Last Post: 17th July 2007, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •