Page 7 of 7 FirstFirst ... 567
Results 61 to 67 of 67

Thread: Slow booting of Ubuntu?

  1. #61
    Join Date
    Apr 2019
    Beans
    32

    Re: Slow booting of Ubuntu?

    Quote Originally Posted by oldfred View Post
    Just installed Mate to 64GB flash drive, yesterday.
    Install was very slow as writing to flash drives is very slow.

    First boot of flash drive was 3 min & 55 sec which seems about right.
    But it turns out the systemd-analyze firmware number is from first boot, so on my warm reboots that kept getting much larger.

    But after making the changes I posted in #48 & #50 boot time dropped a lot.
    I had printer on which slowed it a lot. But when I turned printed off, it crashed?

    Not sure if some of improvement was internal optimization as you reboot.
    but udsisk when from 35s to 11s to 5 sec.
    network entry went from 12.5s to 6.8 sec to 4 sec.

    I did add noatime to mount of / and added entry to mount tmpfs in RAM to reduce writes.

    Last test reboot was about 21s to login. and it reported 8.2s to graphical screen which seems about right.
    Firmware was up to 23minutes, but that was 3 reboots and editing.

    Boot time of Mate from slower flash drive now seems pretty quick.

    can you post more details about #48 please.

  2. #62
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Slow booting of Ubuntu?

    Details were in #50.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #63
    Join Date
    Apr 2019
    Beans
    32

    Re: Slow booting of Ubuntu?

    guys, i just ran
    p
    Code:
    arted /dev/sda print
    i got the following output

    Code:
    Model: ATA SAMSUNG HM251HI (scsi)
    Disk /dev/sda: 250GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End    Size   File system  Name                  Flags
     1      1049kB  538MB  537MB  fat32        EFI System Partition  boot, esp
     2      538MB   250GB  250GB  ext4
    does that look right to you guys? Anything worth changing?

  4. #64
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Slow booting of Ubuntu?

    That is a standard UEFI install.
    A bit more advanced is to separate system from your data or have a separate /home partition.

    And many of us go one step further and use data partition(s). But then you need to understand, mounting, editing fstab, ownership & permissions.
    Having /home as a partition does all that automatically if you set it up during install.

    You can create a new /home partition with step by step instructions which cover the details.
    To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions
    https://help.ubuntu.com/community/Pa...ng/Home/Moving

    I like to keep / at 25 or 30GB but have all data in my data partition so / only actually uses about 7 GB.
    QUOTE
    Excluding all the tmpfs entries, sdc is flash drive:
    Code:
    fred@Bionic-Z170N:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            7.8G     0  7.8G   0% /dev
    /dev/sda4        25G  7.4G   17G  32% /
    /dev/sda1        50G   79M   50G   1% /boot/efi
    /dev/sdb6       298G   64G  220G  23% /mnt/data
    /dev/sdc4        36G   25G  9.5G  72% /media/fred/data
    /dev/sdc3        21G  6.0G   14G  31% /media/fred/mateUSB
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #65
    Join Date
    Apr 2019
    Beans
    32

    Re: Slow booting of Ubuntu?

    Quote Originally Posted by oldfred View Post
    That is a standard UEFI install.
    A bit more advanced is to separate system from your data or have a separate /home partition.

    And many of us go one step further and use data partition(s). But then you need to understand, mounting, editing fstab, ownership & permissions.
    Having /home as a partition does all that automatically if you set it up during install.

    You can create a new /home partition with step by step instructions which cover the details.
    To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions
    https://help.ubuntu.com/community/Pa...ng/Home/Moving

    I like to keep / at 25 or 30GB but have all data in my data partition so / only actually uses about 7 GB.
    QUOTE
    Excluding all the tmpfs entries, sdc is flash drive:
    Code:
    fred@Bionic-Z170N:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            7.8G     0  7.8G   0% /dev
    /dev/sda4        25G  7.4G   17G  32% /
    /dev/sda1        50G   79M   50G   1% /boot/efi
    /dev/sdb6       298G   64G  220G  23% /mnt/data
    /dev/sdc4        36G   25G  9.5G  72% /media/fred/data
    /dev/sdc3        21G  6.0G   14G  31% /media/fred/mateUSB
    don't know how to say this but i just back tracked on some of the things I've looked at done to try and make my boot up a little faster and i realized i made some basic errors. In the fstab file, instead of having/swapfile none swap sw 0 0

    it was /swapfile non swap sw 0 0. Maybe this makes a difference, better to assume it does.

    but also i didn't edit /etc/initramfs-tools/conf.d/resume, and now i remember why. It's because that file is empty. So what file is being used instead? or where is the file i need to edit?

    I'm actually beginning to think that all these problems are being caused by the initial installation of ubuntu which i didn't do and that maybe it might be a good idea to reinstall, however i cannot boot off a usb or cd on this laptop.

  6. #66
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Slow booting of Ubuntu?

    If you cannot boot USB, you may need to turn on in UEFI allow USB boot or full USB access type setting.
    Or if UEFI Secure Boot is on, that may also prevent USB boot as not secure unless you specifically allow it.
    And they USB flash drive has to be correctly configured so UEFI will see it as a boot option in the one time boot menu, often f12 or f10.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #67
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    4,081

    Re: Slow booting of Ubuntu?

    The drive that is listed in the display in post #63 is a 5400 rpm drive. Have you considered an SSD? You could vastly improve boot time just by changing to SSD.

Page 7 of 7 FirstFirst ... 567

Bookmarks

Posting Permissions

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