Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 74

Thread: Slow booting of Ubuntu?

  1. #61
    Join Date
    Apr 2019
    Beans
    66

    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
    Kubuntu

    Re: Slow booting of Ubuntu?

    Details were in #50.
    UEFI boot install & repair info - Regularly Updated :
    https://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
    66

    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
    Kubuntu

    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
    UEFI boot install & repair info - Regularly Updated :
    https://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
    66

    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
    Kubuntu

    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.
    UEFI boot install & repair info - Regularly Updated :
    https://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
    5,739

    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.

  8. #68
    Join Date
    Apr 2019
    Beans
    66

    Re: Slow booting of Ubuntu?

    your right dennis n, an ssd drive will be quicker but then if I'm going to start spending money i might as well put together a pc. In any case i think i'll give this bios a tickle and see what happens. Is there a thread on here that is best for asking questions about bios and uefi?

  9. #69
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Slow booting of Ubuntu?

    You can start a new thread with that in title.
    Lots of info on UEFI in link in my signature below and further links in it.
    UEFI/BIOS varies by vendor, best to check what your manual and vendor's site say for your specific model.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #70
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: Slow booting of Ubuntu?

    If you have problems with UEFI, try Legacy. It's been my own experience that using UEFI, which has kept grub from installing, leaving an unbootable computer, for me.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

Page 7 of 8 FirstFirst ... 5678 LastLast

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
  •