ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Boot Issues

    Scheduled Pinned Locked Moved IT Discussion
    maintenancelinuxubuntu 14.04
    72 Posts 8 Posters 10.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse @BRRABill
      last edited by

      @BRRABill said in Linux system maintenance; /boot nearly full:

      Yep, exact issue I had.

      YOU LET BOOT GET FULL. Lol. That's another feature, right @scottalanmiller

      🙂

      Not to make an excuse - but as someone who doesn't know much and is trying to learn Linux - I am not sure it can be said that I allowed it to happen.

      Therefore - I blame it on the fain.

      BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
      • BRRABillB
        BRRABill @gjacobse
        last edited by

        @gjacobse said in Linux system maintenance; /boot nearly full:

        @BRRABill said in Linux system maintenance; /boot nearly full:

        Yep, exact issue I had.

        YOU LET BOOT GET FULL. Lol. That's another feature, right @scottalanmiller

        🙂

        Not to make an excuse - but as someone who doesn't know much and is trying to learn Linux - I am not sure it can be said that I allowed it to happen.

        Therefore - I blame it on the fain.

        Oh I am on your side.

        That was more a jab at @scottalanmiller

        Who will now blame us. 🙂

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @gjacobse
          last edited by

          @gjacobse said in Linux system maintenance; /boot nearly full:

          @BRRABill said in Linux system maintenance; /boot nearly full:

          Yep, exact issue I had.

          YOU LET BOOT GET FULL. Lol. That's another feature, right @scottalanmiller

          🙂

          Not to make an excuse - but as someone who doesn't know much and is trying to learn Linux - I am not sure it can be said that I allowed it to happen.

          Therefore - I blame it on the fain.

          Who deployed old Ubuntu in the first place? What server is this?

          gjacobseG 1 Reply Last reply Reply Quote 0
          • gjacobseG
            gjacobse @scottalanmiller
            last edited by

            @scottalanmiller said in Linux system maintenance; /boot nearly full:

            @gjacobse said in Linux system maintenance; /boot nearly full:

            @BRRABill said in Linux system maintenance; /boot nearly full:

            Yep, exact issue I had.

            YOU LET BOOT GET FULL. Lol. That's another feature, right @scottalanmiller

            🙂

            Not to make an excuse - but as someone who doesn't know much and is trying to learn Linux - I am not sure it can be said that I allowed it to happen.

            Therefore - I blame it on the fain.

            Who deployed old Ubuntu in the first place? What server is this?

            We took over this install
            been running for ( x) years - it is for an UnFi controller.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @gjacobse
              last edited by

              @gjacobse said in Linux system maintenance; /boot nearly full:

              We took over this install
              been running for ( x) years - it is for an UnFi controller.

              "It's been running for..." is another way of stating "it's been unmaintained for..."

              1 Reply Last reply Reply Quote 2
              • gjacobseG
                gjacobse
                last edited by gjacobse

                pass

                Freed up enough space to move forward.

                sudo rm -f (File list from above)
                

                Running:

                sudo apt-get -f install

                (2017 Feb 8: Updated with command used to remove files to free up space in /boot)

                1 Reply Last reply Reply Quote 2
                • gjacobseG
                  gjacobse
                  last edited by

                  Post

                  :/boot$ df -h
                  Filesystem      Size  Used Avail Use% Mounted on
                  udev            231M   12K  231M   1% /dev
                  tmpfs            49M  396K   48M   1% /run
                  /dev/dm-0        49G   13G   34G  28% /
                  none            4.0K     0  4.0K   0% /sys/fs/cgroup
                  none            5.0M     0  5.0M   0% /run/lock
                  none            242M     0  242M   0% /run/shm
                  none            100M     0  100M   0% /run/user
                  /dev/sda1       228M  155M   61M  72% /boot
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Run the auto-cleanup script now,too.

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @scottalanmiller
                      last edited by

                      @scottalanmiller said in Linux system maintenance; /boot nearly full:

                      @gjacobse said in Linux system maintenance; /boot nearly full:

                      I not sure what should be removed, but reading father down the article suggests just running sudo apt-get autoremove and this should be fine.

                      Welcome to one of the many unpolished bits of Ubuntu compared to the other enterprise Linux offerings. It needs manual maintenance of updates. It's ridiculous. Yes, the autoremove option is the proper way to handle it.

                      LOL - see it's things like this, or XS's lack of autodetection being on USB and not disabling/moving Log Files like VMWare that just make some of us pull our hair out.

                      Don't get me wrong - Windows 10's desire to constantly change the default viewer for PDFs is currently driving me mad!

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @Dashrender said in Linux system maintenance; /boot nearly full:

                        @scottalanmiller said in Linux system maintenance; /boot nearly full:

                        @gjacobse said in Linux system maintenance; /boot nearly full:

                        I not sure what should be removed, but reading father down the article suggests just running sudo apt-get autoremove and this should be fine.

                        Welcome to one of the many unpolished bits of Ubuntu compared to the other enterprise Linux offerings. It needs manual maintenance of updates. It's ridiculous. Yes, the autoremove option is the proper way to handle it.

                        LOL - see it's things like this.... that just make some of us pull our hair out.

                        And that is why Ubuntu is not recommended for newbies to Linux or those not looking for a little more challenge. It's not polished and easy like CentOS is. It's fine, it's a very good system. It's easier than Windows. But it's not comparable to the OSes that would be recommended for someone coming to the Linux world.

                        The real question would be... why are you running Ubuntu if this is seen as a frustration? I realize in this case, Ubiquiti controllers more or less require it and that's a huge pain that they have introduced. But in general, just don't use it.

                        DashrenderD 1 Reply Last reply Reply Quote 2
                        • gjacobseG
                          gjacobse
                          last edited by

                          topic updated as requested.

                          1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @scottalanmiller
                            last edited by

                            @scottalanmiller said in Ubuntu Boot Issues:

                            The real question would be... why are you running Ubuntu if this is seen as a frustration? I realize in this case, Ubiquiti controllers more or less require it and that's a huge pain that they have introduced. But in general, just don't use it.

                            Yep, this is why I use it.. Ubiquiti and XO.

                            BRRABillB 1 Reply Last reply Reply Quote 1
                            • gjacobseG
                              gjacobse
                              last edited by

                              :/boot$ sudo apt-get autoremove
                              
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              The following packages will be REMOVED:
                                linux-image-3.13.0-96-generic linux-image-extra-3.13.0-96-generic
                              0 upgraded, 0 newly installed, 2 to remove and 18 not upgraded.
                              After this operation, 195 MB disk space will be freed.
                              Do you want to continue? [Y/n] y
                              (Reading database ... 649709 files and directories currently installed.)
                              Removing linux-image-extra-3.13.0-96-generic (3.13.0-96.143) ...
                              run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              update-initramfs: Generating /boot/initrd.img-3.13.0-96-generic
                              grep: /boot/config-3.13.0-96-generic: No such file or directory
                              run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              Generating grub configuration file ...
                              Found linux image: /boot/vmlinuz-3.13.0-105-generic
                              Found initrd image: /boot/initrd.img-3.13.0-105-generic
                              Found linux image: /boot/vmlinuz-3.13.0-103-generic
                              Found initrd image: /boot/initrd.img-3.13.0-103-generic
                              Found linux image: /boot/vmlinuz-3.13.0-101-generic
                              Found initrd image: /boot/initrd.img-3.13.0-101-generic
                              Found linux image: /boot/vmlinuz-3.13.0-100-generic
                              Found initrd image: /boot/initrd.img-3.13.0-100-generic
                              Found memtest86+ image: /memtest86+.elf
                              Found memtest86+ image: /memtest86+.bin
                              done
                              Removing linux-image-3.13.0-96-generic (3.13.0-96.143) ...
                              Examining /etc/kernel/postrm.d .
                              run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              update-initramfs: Deleting /boot/initrd.img-3.13.0-96-generic
                              run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
                              Generating grub configuration file ...
                              Found linux image: /boot/vmlinuz-3.13.0-105-generic
                              Found initrd image: /boot/initrd.img-3.13.0-105-generic
                              Found linux image: /boot/vmlinuz-3.13.0-103-generic
                              Found initrd image: /boot/initrd.img-3.13.0-103-generic
                              Found linux image: /boot/vmlinuz-3.13.0-101-generic
                              Found initrd image: /boot/initrd.img-3.13.0-101-generic
                              Found linux image: /boot/vmlinuz-3.13.0-100-generic
                              Found initrd image: /boot/initrd.img-3.13.0-100-generic
                              Found memtest86+ image: /memtest86+.elf
                              Found memtest86+ image: /memtest86+.bin
                              done
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • gjacobseG
                                gjacobse
                                last edited by

                                i:/boot$ df -h
                                Filesystem      Size  Used Avail Use% Mounted on
                                udev            231M   12K  231M   1% /dev
                                tmpfs            49M  396K   48M   1% /run
                                /dev/dm-0        49G   13G   34G  28% /
                                none            4.0K     0  4.0K   0% /sys/fs/cgroup
                                none            5.0M     0  5.0M   0% /run/lock
                                none            242M     0  242M   0% /run/shm
                                none            100M     0  100M   0% /run/user
                                /dev/sda1       228M  151M   66M  70% /boot
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender
                                  last edited by

                                  boy that didn't help much.

                                  gjacobseG 1 Reply Last reply Reply Quote 0
                                  • gjacobseG
                                    gjacobse @Dashrender
                                    last edited by

                                    @Dashrender said in Ubuntu Boot Issues:

                                    boy that didn't help much.

                                    oh it did. went from 100% used to just 70% used.

                                    DashrenderD 1 Reply Last reply Reply Quote 0
                                    • momurdaM
                                      momurda
                                      last edited by momurda

                                      Is this a problem started with the automatic security update feature of ubuntu? Is that option enabled on on this server?

                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @gjacobse
                                        last edited by

                                        @gjacobse said in Ubuntu Boot Issues:

                                        @Dashrender said in Ubuntu Boot Issues:

                                        boy that didn't help much.

                                        oh it did. went from 100% used to just 70% used.

                                        That was after you started your manual cleanup, which took you to 75%, now the automated tools took you down to 70%, that's what I was talking about.

                                        1 Reply Last reply Reply Quote 1
                                        • BRRABillB
                                          BRRABill @Dashrender
                                          last edited by

                                          @Dashrender said in Ubuntu Boot Issues:

                                          @scottalanmiller said in Ubuntu Boot Issues:

                                          The real question would be... why are you running Ubuntu if this is seen as a frustration? I realize in this case, Ubiquiti controllers more or less require it and that's a huge pain that they have introduced. But in general, just don't use it.

                                          Yep, this is why I use it.. Ubiquiti and XO.

                                          Same here.

                                          1 Reply Last reply Reply Quote 0
                                          • gjacobseG
                                            gjacobse
                                            last edited by

                                            During the course of this yesterday - the sources.list file got wiped.

                                            Attempts to correct this resulted in more frustration so the VM was restored from back up and and running through this again.

                                            I have updated a process or two to include the needed commands.


                                            Currently space has been freed, the system updated, and autoremove is now running.

                                            Post

                                            sudo apt-get autoremove
                                            
                                            i:/boot$ df -h
                                            Filesystem      Size  Used Avail Use% Mounted on
                                            udev            231M   12K  231M   1% /dev
                                            tmpfs            49M  400K   48M   1% /run
                                            /dev/dm-0        49G   14G   33G  29% /
                                            none            4.0K     0  4.0K   0% /sys/fs/cgroup
                                            none            5.0M     0  5.0M   0% /run/lock
                                            none            242M     0  242M   0% /run/shm
                                            none            100M     0  100M   0% /run/user
                                            /dev/sda1       228M   97M  120M  45% /boot
                                            

                                            Which is better than yesterday.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • First post
                                              Last post