Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Unable to boot

  1. #1
    Join Date
    Aug 2013
    Beans
    33

    Unable to boot

    Woke up today and my machine won't boot. The bios posts and I'm able to enter the bios but I never get to grub.

    This machine has only ever had Ubuntu on it., currently 18.04. The drive has 3 partitions, EFI, boot and LVM encrypted. With a liveusb I can access all partitions.

    When I try to boot I get a cross between an odd screen with blue squares and another screen telling me that I need to insert bootable media, more often the blue squares.

    I can access the bios but when I enter the section for choosing which partition to boot from I'm told "Drive not present", which seems odd because it clearly detects it's presents. There is a second drive but this has never contained an OS and is used purely as a data store. Pictures here, here and here.

    I have used 18.04 live and have reinstalled grub using chroot. All went as planned with no errors but my situation hasn't changed.

    I've been at this for hours now and am not getting anywhere, any help / advice would be very much appreciated.





    fdisk
    Code:
    Disk /dev/loop0: 1.8 GiB, 1864450048 bytes, 3641504 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop1: 86.9 MiB, 91099136 bytes, 177928 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop2: 34.7 MiB, 36323328 bytes, 70944 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop3: 140.9 MiB, 147722240 bytes, 288520 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop4: 2.3 MiB, 2433024 bytes, 4752 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop5: 13 MiB, 13619200 bytes, 26600 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop6: 14.5 MiB, 15196160 bytes, 29680 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop7: 3.7 MiB, 3887104 bytes, 7592 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 46324380-968E-4F8E-A75D-6249DCE9988F
    
    Device       Start       End   Sectors   Size Type
    /dev/sda1     2048   1050623   1048576   512M EFI System
    /dev/sda2  1050624   2050047    999424   488M Linux filesystem
    /dev/sda3  2052096 976773134 974721039 464.8G Linux filesystem
    
    
    Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 4D50312C-871C-45E8-8DE4-55745BEF78F5
    
    Device          Start        End    Sectors   Size Type
    /dev/sdb1          34 1953906215 1953906182 931.7G Linux filesystem
    /dev/sdb2  1953906688 3802171391 1848264704 881.3G Linux filesystem
    /dev/sdb3  3802171392 3907028991  104857600    50G Linux filesystem
    
    Partition 1 does not start on physical sector boundary.
    
    
    Disk /dev/sdc: 29.2 GiB, 31376707072 bytes, 61282631 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x663eb4c4
    
    Device     Boot   Start     End Sectors  Size Id Type
    /dev/sdc1  *          0 3815135 3815136  1.8G  0 Empty
    /dev/sdc2       3737268 3741939    4672  2.3M ef EFI (FAT-12/16/32)
    
    
    Disk /dev/mapper/luks-4e038213-6dcd-4016-89ee-b8c63d6b7dc4: 464.8 GiB, 499055074816 bytes, 974716943 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/mapper/ubuntu--vg-root: 464.8 GiB, 499050872832 bytes, 974708736 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    blkid
    Code:
    /dev/sda1: UUID="E96D-D680" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="b8bd42f2-1cc4-4504-8370-9f0af59b5329"
    /dev/sda2: UUID="b63ea566-1950-449a-82e6-5a182ba74a67" TYPE="ext2" PARTUUID="c4a56eea-ee44-4fdb-a7ab-de20308efb1b"
    /dev/sdb2: LABEL="Storage" UUID="7e44a15f-1e35-4f2f-bca2-0cb32bba35b4" TYPE="ext4" PARTLABEL="store" PARTUUID="50694b3c-af8c-4863-98e4-7ab8e4791016"
    /dev/sdb3: UUID="4d0dfe92-c700-4db7-ba1d-9e69c350c13b" TYPE="ext4" PARTLABEL="SG10-backup" PARTUUID="fc35cad4-c01c-44d6-8c8e-99c8c21a7c54"
    /dev/loop0: TYPE="squashfs"
    .....
    /dev/sda3: UUID="4e038213-6dcd-4016-89ee-b8c63d6b7dc4" TYPE="crypto_LUKS" PARTUUID="343028b5-bd7e-4971-8b52-421d75413b09"
    /dev/sdb1: UUID="2bf2e97c-5b5f-4aab-9c2e-4f666e4cf2b7" TYPE="crypto_LUKS" PARTUUID="fe5338b4-a268-4702-93e2-0ed80e2c4d8a"
    /dev/sdc2: SEC_TYPE="msdos" UUID="0D5F-1DB6" TYPE="vfat" PARTUUID="663eb4c4-02"
    /dev/mapper/luks-4e038213-6dcd-4016-89ee-b8c63d6b7dc4: UUID="XddjHy-8x00-zxxE-cFLj-u8Du-kxNC-fvCInP" TYPE="LVM2_member"
    /dev/mapper/ubuntu--vg-root: UUID="56d215c1-49b7-4ae1-9baf-370ecd386e89" TYPE="ext4"
    /dev/sdc1: UUID="2018-07-25-03-21-56-00" LABEL="Ubuntu 18.04.1 LTS amd64" TYPE="iso9660" PTUUID="663eb4c4" PTTYPE="dos" PARTUUID="663eb4c4-01"

  2. #2
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,266
    Distro
    Ubuntu

    Re: Unalble to boot

    Hi, could you post the output of these please.
    Code:
    df -h
    cat /etc/fstab
    Last edited by westie457; 1 Week Ago at 11:23 PM. Reason: typo corrected

  3. #3
    Join Date
    Aug 2013
    Beans
    33

    Re: Unalble to boot

    I'm running from usb, do you want me to chroot before df -h?

  4. #4
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,266
    Distro
    Ubuntu

    Re: Unalble to boot

    No need to chroot yet, just gathering info.

  5. #5
    Join Date
    Aug 2013
    Beans
    33

    Re: Unalble to boot

    Thanks for getting back. I'm unsure what result you want for df -h, surely is will show the usb's filesystem?
    df -h

    Code:
    Filesystem      Size  Used Avail Use% Mounted on
    udev             16G     0   16G   0% /dev
    tmpfs           3.1G  1.9M  3.1G   1% /run
    /dev/sdc        1.9G  1.9G     0 100% /cdrom
    /dev/loop0      1.8G  1.8G     0 100% /rofs
    /cow             16G  556M   15G   4% /
    tmpfs            16G   45M   16G   1% /dev/shm
    tmpfs           5.0M  8.0K  5.0M   1% /run/lock
    tmpfs            16G     0   16G   0% /sys/fs/cgroup
    tmpfs            16G  532K   16G   1% /tmp
    tmpfs           3.1G   88K  3.1G   1% /run/user/999
    /dev/loop1       87M   87M     0 100% /snap/core/4917
    /dev/loop2       35M   35M     0 100% /snap/gtk-common-themes/319
    /dev/loop3      141M  141M     0 100% /snap/gnome-3-26-1604/70
    /dev/loop4      2.4M  2.4M     0 100% /snap/gnome-calculator/180
    /dev/loop5       13M   13M     0 100% /snap/gnome-characters/103
    /dev/loop6       15M   15M     0 100% /snap/gnome-logs/37
    /dev/loop7      3.8M  3.8M     0 100% /snap/gnome-system-monitor/51
    fstab

    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    /dev/mapper/ubuntu--vg-root            /    ext4    errors=remount-ro 0       1
    # /boot was on /dev/sda2 during installation
    #UUID=85bdac69-77fd-4bb0-a55e-ed3df1c1dd61 /boot           ext2    defaults        0       2
    # /boot/efi was on /dev/sda1 during installation
    #UUID=F8F3-C2C5  /boot/efi       vfat    defaults        0       1
    #/dev/mapper/cryptswap1 none swap sw 0 0
    
    UUID=7e44a15f-1e35-4f2f-bca2-0cb32bba35b4 /mnt/store auto nosuid,nodev,nofail 0 0
    UUID=4d0dfe92-c700-4db7-ba1d-9e69c350c13b /mnt/SG10-backup auto nosuid,nodev,nofail 0 0
    
    UUID=b63ea566-1950-449a-82e6-5a182ba74a67    /boot   ext2    defaults        0       2
    
    
    UUID=E96D-D680 /boot/efi    vfat    defaults        0       1
    
    #/dev/mapper/ubuntu--vg-swap_1 none swap sw,noauto 0 0
    /dev/disk/by-uuid/1e99864d-1836-4a5a-af9a-d5be86e57ab6 /mnt/Backup auto nosuid,nodev,nofail,x-gvfs-show 0 0
    Last edited by dik232; 1 Week Ago at 09:41 AM.

  6. #6
    Join Date
    Mar 2010
    Beans
    8,413
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Unalble to boot

    Posting the summary for the boot info (link in my signature) will hopefully give us all the information we need to help you.

    Thanks.

  7. #7
    Join Date
    Aug 2013
    Beans
    33

    Re: Unalble to boot

    http://paste.ubuntu.com/p/cqRQ4dNNbK/

    "No boot loader is installed in the MBR of /dev/sda" !!!

    I did chroot yesterday???

  8. #8
    Join Date
    Mar 2010
    Beans
    8,413
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Unalble to boot

    If you have a desktop PC, not laptop, this is what I would do.

    1. disconnect the data drive not containing an OS

    2. decrypt the encrypted partition just to be on the safe side BEFORE attempting the GRUB repair: https://help.ubuntu.com/community/En...ivateDirectory

    3. if you do not already have a backup from the encrypted partition, please make one before proceeding

    4. run the Boot Repair and let it perform the recommended fixes https://help.ubuntu.com/community/Bo...ng_Boot-Repair

    5. last but not least, according to the summary:
    Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file
    If all goes well, you should be able to boot normally and can then encrypt the data partition again.

    If you run into any issues, please do not hesitate to ask first before you go on.

  9. #9
    Join Date
    Aug 2013
    Beans
    33

    Re: Unalble to boot

    Unable to agree to the dialogue asking me to remove grub.

    All tab does it highlight the sudo chroot text in the top of the window. All I can do is choose forward where I'm told "GRUB is still present. Please try again."

    EDIT: Sorry - being dumb

  10. #10
    Join Date
    Aug 2013
    Beans
    33

    Re: Unalble to boot

    Unplugged the data drive

    fdisk -l

    Code:
    Disk /dev/loop0: 1.8 GiB, 1864450048 bytes, 3641504 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/loop1: 86.9 MiB, 91099136 bytes, 177928 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    ......
    
    
    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 46324380-968E-4F8E-A75D-6249DCE9988F
    
    Device       Start       End   Sectors   Size Type
    /dev/sda1     2048   1050623   1048576   512M EFI System
    /dev/sda2  1050624   2050047    999424   488M Linux filesystem
    /dev/sda3  2052096 976773134 974721039 464.8G Linux filesystem
    
    
    Disk /dev/sdb: 29.2 GiB, 31376707072 bytes, 61282631 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x663eb4c4
    
    Device     Boot   Start     End Sectors  Size Id Type
    /dev/sdb1  *          0 3815135 3815136  1.8G  0 Empty
    /dev/sdb2       3737268 3741939    4672  2.3M ef EFI (FAT-12/16/32)

    Ran boot repair, it says there was an error

    Also there's no option in my BIOS to specify a .efi file. I've owned this machine for 3yrs now and have never specified one before.

    Rebooting now....

Page 1 of 3 123 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
  •