Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Ubuntu 18.04 no longer booting

  1. #1
    Join Date
    Aug 2019
    Beans
    8

    Ubuntu 18.04 no longer booting

    Hi,

    I am running a dual boot with Windows 10 and Windows 10 can boot perfectly fine.

    Whenever I try booting into Ubuntu, I get to the screen with the Ubuntu logo and it just starts flickering. This goes on forever. Until yesterday, a restart usually fixed the problem and I was able to boot up. That is no longer the case.

    I realized that my Ubuntu partition was 100% full, so I used a live USB to use Gparted and give it more space, however, I am still having the same problem.

    Booting into recovery mode and then selecting "resume boot" is also no longer working. I just get to a black screen with a blinking cursor on the top left corner. I can access the root shell from the recovery mode though. I tried running the repair packages option, but that failed too.

    I will gladly provide more if information that is required.

    Any help would be greatly appreciated!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 18.04 no longer booting

    After increasing the partition size, did you also expand the file system to that larger size?

  3. #3
    Join Date
    Aug 2019
    Beans
    8

    Re: Ubuntu 18.04 no longer booting

    As far as I understand, I think so. See attached image.

    sda5 is the actual Ubuntu partition. I resized both sda2 and sda5 from 20 GB originally, to 117 GB, which I freed up from the windows partition.

    Screenshot from 2019-08-14 14-42-01.png

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 18.04 no longer booting

    I can't tell what that image shows. Please post:
    Code:
    df -hT -x squashfs -x tmpfs -x devtmpfs
    sudo parted -l
    using code tags like I did for the commands.

    Text is always preferred.

  5. #5
    Join Date
    Aug 2019
    Beans
    8

    Re: Ubuntu 18.04 no longer booting

    Thanks for your reply.

    Here is the output:

    Code:
    ubuntu@ubuntu:~$ df -hT -x squashfs -x tmpfs -x devtmpfs
    Filesystem     Type     Size  Used Avail Use% Mounted on
    /dev/sdb1      vfat      29G  1.9G   27G   7% /cdrom
    /cow           overlay  3.9G  429M  3.5G  11% /
    /dev/sda5      ext4     116G   18G   93G  16% /media/ubuntu/064ca4a6-dbbe-4a65-ae10-a00b186072a5
    Code:
    ubuntu@ubuntu:~$ sudo parted -l
    Model: ATA WDC WD5000AAKX-0 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End    Size    Type      File system     Flags
     1      1049kB  366GB  366GB   primary   ntfs            boot
     2      366GB   492GB  126GB   extended
     5      366GB   492GB  126GB   logical   ext4
     3      492GB   493GB  1000MB  primary   linux-swap(v1)
     4      493GB   500GB  7247MB  primary   ext4
    
    
    Model: SanDisk Ultra (scsi)
    Disk /dev/sdb: 30.8GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type     File system  Flags
     1      1049kB  30.8GB  30.8GB  primary  fat32        boot, lba

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 18.04 no longer booting

    And for sda4, the df (fixed mistake of 'du').

    Code:
    Number  Start   End    Size    Type      File system     Flags
     5      366GB   492GB  126GB   logical   ext4
     4      493GB   500GB  7247MB  primary   ext4
    Looks like sda4 is 7G. If that is where / is mounted, you'll need to remove some files there that aren't harmful. If / or /var/ gets full, Unix OSes don't like it.
    Last edited by TheFu; August 14th, 2019 at 06:51 PM. Reason: du --> df

  7. #7
    Join Date
    Aug 2019
    Beans
    8

    Re: Ubuntu 18.04 no longer booting

    I had SDA5 mounted since I was recovering data. Now I tried running the command again after unmounting it, here is the output:

    Code:
    ubuntu@ubuntu:~$ df -hT -x squashfs -x tmpfs -x devtmpfs
    Filesystem     Type     Size  Used Avail Use% Mounted on
    /dev/sdb1      vfat      29G  1.9G   27G   7% /cdrom
    /cow           overlay  3.9G  430M  3.5G  11% /
    Code:
    ubuntu@ubuntu:~$ sudo parted -l
    Model: ATA WDC WD5000AAKX-0 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End    Size    Type      File system     Flags
     1      1049kB  366GB  366GB   primary   ntfs            boot
     2      366GB   492GB  126GB   extended
     5      366GB   492GB  126GB   logical   ext4
     3      492GB   493GB  1000MB  primary   linux-swap(v1)
     4      493GB   500GB  7247MB  primary   ext4
    
    
    Model: SanDisk Ultra (scsi)
    Disk /dev/sdb: 30.8GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type     File system  Flags
     1      1049kB  30.8GB  30.8GB  primary  fat32        boot, lba
    This is all that's being shown now. The Gparted GUI still shows the other devices, but not in the terminal.

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 18.04 no longer booting

    df only works when mounted. Sorry about the "du" above. That is a mistake.

  9. #9
    Join Date
    Aug 2019
    Beans
    8

    Re: Ubuntu 18.04 no longer booting

    Is sda4 part of my Ubuntu installation? Also, why isn't 7 GB there not enough? It does have 6.53 GB free.

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu 18.04 no longer booting

    Quote Originally Posted by rudy-258 View Post
    Is sda4 part of my Ubuntu installation? Also, why isn't 7 GB there not enough? It does have 6.53 GB free.
    I don't know. Cannot tell from the data provided. Looks like my hope of solving this with a quick answer isn't going to work. We need much more data and some other experts.

    Boot into the Ubuntu Live environment, install boot-repair https://help.ubuntu.com/community/Boot-Repair , run it, but don't let it try to fix anything. It can break systems, now that so many different configurations are possible. Use the "Create BootInfo" button (whatever it is called, center bottom of the screen), and post the URL that it creates back here. That URL will contain lots of information about the boot and storage config of the system.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •