LinuxMint 18.2 won't boot up without bootable USB

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Nemo18
Level 1
Level 1
Posts: 3
Joined: Thu Nov 16, 2017 9:46 pm

LinuxMint 18.2 won't boot up without bootable USB

Postby Nemo18 » Thu Nov 16, 2017 10:38 pm

Hello. so i had this problem where i tried to format my laptop and install Linux Mint 18.2 Cinnamon..But apparently Linux installed on my USB instead of the disc (dont know how) and now i cant use it without the USB.

I found this post https://forums.linuxmint.com/viewtopic.php?t=111962 , but i had another problem with the given solution:


Image Image


I would appreciate some help pls :) Sorry if this seems noobish or something but im really new to Linux in general.

User avatar
WharfRat
Level 20
Level 20
Posts: 10277
Joined: Thu Apr 07, 2011 8:15 pm

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby WharfRat » Thu Nov 16, 2017 10:52 pm

Hello Nemo18 Image

Welcome to Linux Mint and the Linux Mint forum :)

The text in the attachments is difficult to read. Can you copy and paste the terminal text in between code tags like this:

Code: Select all

[bill@XPS] ~ $ apt show postfix
Package: postfix
Version: 3.1.0-3ubuntu0.2
Priority: optional
Section: mail
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: LaMont Jones <lamont@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3,697 kB
Provides: default-mta, mail-transport-agent
Depends: libc6 (>= 2.14), libdb5.3, libicu55 (>= 55.1-1~), libsasl2-2, libsqlite3-0 (>= 3.5.9), libssl1.0.0 (>= 1.0.0), debconf (>= 0.5) | debconf-2.0, netbase, adduser (>= 3.48), dpkg (>= 1.8.3), lsb-base (>= 3.0-6), ssl-cert, cpio
Recommends: python3
Suggests: procmail, postfix-mysql, postfix-pgsql, postfix-ldap, postfix-pcre, sasl2-bin, libsasl2-modules, dovecot-common, resolvconf, postfix-cdb, mail-reader, ufw, postfix-doc
Conflicts: libnss-db (<< 2.2-3), mail-transport-agent, smail
Replaces: mail-transport-agent
Homepage: http://www.postfix.org
Task: mail-server
Supported: 5y
Download-Size: 1,153 kB

Image ImageImage

michael louwe
Level 6
Level 6
Posts: 1206
Joined: Sun Sep 11, 2016 11:18 pm

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby michael louwe » Fri Nov 17, 2017 4:33 am

@ Nemo18, .......

Nemo18 wrote:.

.
From the "sudo fdisk -l" output, the install looks OK.

Certain high-end OEM Win 8.x/10 computers, eg Acer, Asus and HP, have an obstructive or pro-M$ BIOS setting for "select an UEFI file as trusted for executing", .......
https://itsfoss.com/no-bootable-device-found-ubuntu/
viewtopic.php?t=236560

Please refer also to ... https://www.tecmint.com/install-linux-m ... uefi-mode/ (note step 17 & 18 to 'sudo update-grub')

User avatar
prestonR
Level 5
Level 5
Posts: 744
Joined: Wed Jan 07, 2015 12:24 pm
Location: Harare

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby prestonR » Fri Nov 17, 2017 4:54 am

Your system is Uefi, your bootloader should go to the 'efi' partition. The error looks almost like you're trying to install grub in legacy mode.
Apart from Michael's tips to check for a way to authorize the ubuntu efi file (the one that your 1.5GB loop device /dev/loop0 is probably looking for) also check that all 'legacy mode', 'CMS' or 'Compatibility' choices are set to 'disabled'.

Alternatively, you could try to change to legacy.
If you check this: https://superuser.com/questions/903112/grub2-install-this-gpt-partition-label-contains-no-bios-boot-partition, the last 2 comments describe how to add the missing partition. If you do that there's a chance it works straight away (you may have to turn on 'legacy' in Bios, though).

Pros: easy linux multi-boots
Cons: no/difficult multi-boots with modern windows

Nemo18
Level 1
Level 1
Posts: 3
Joined: Thu Nov 16, 2017 9:46 pm

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby Nemo18 » Fri Nov 17, 2017 9:36 am

@WharfRat im sorry , here:

Code: Select all

mint@mint ~ $ sudo fdisk -l
Disk /dev/loop0: 1.5 GiB, 1618886656 bytes, 3161888 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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CA08D7E1-1D72-4049-9399-A142218F936B
 
Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1050623   1048576   512M EFI System
/dev/sda2    1050624 972802047 971751424 463.4G Linux filesystem
/dev/sda3  972802048 976771071   3969024   1.9G Linux swap
 
 
 
 
Disk /dev/sdb: 14.5 GiB, 15518924800 bytes, 30310400 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: 0x382b35f1
 
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 30310399 30308352 14.5G  c W95 FAT32 (LBA)
mint@mint ~ $


Code: Select all

mint@mint ~ $ sudo su
mint mint # mount /dev/sda2 /mnt
mount: /dev/sda2 is already mounted or /mnt busy
       /dev/sda2 is already mounted on /mnt
mint mint # grub-install --root-directory=/mnt /dev/sda
grub-probe: error: failed to get canonical path of `aufs'.
Installing for i386-pc platform.
grub-install.real: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install.real: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install.real: error: will not proceed with blocklists.
mint mint #



@michael louwe i tried the links. for https://itsfoss.com/no-bootable-device-found-ubuntu/ ..First of all my "Secure Boot" was under Security Tab, i enabled it. WIth or without it tho, the only option i got under "Security" are Set administrator Pass, my HDD secutirty conf. and this Secure Boot menu for enabling it. Nothing like it says :/


I would like to ask, is it possible to just choose where to install it in "Something Else" at step 8 of https://www.tecmint.com/install-linux-mint-18-alongside-windows-10-or-8-in-dual-boot-uefi-mode/ ??
Because technically you should be able to choose where to install it, on which disk , right ?

these are mine: Image

michael louwe
Level 6
Level 6
Posts: 1206
Joined: Sun Sep 11, 2016 11:18 pm

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby michael louwe » Fri Nov 17, 2017 11:06 am

@ Nemo18, .......

Nemo18 wrote:.

.
Like preston said, you should ensure that the "Device for boot loader installation" is the EFI Boot Partition = /sda1. If you had selected the internal hard-drive or /sda, the computer will likely not be bootable. So, a reinstall is required.

To reinstall, you need to launch GParted from the Live LM USB-stick or DVD and delete all the faulty Linux partitions. Then proceed with the reinstall. Easier to just use the automatic "Erase disk and install LM" method.

The harder manual "Something else" method requires the manual creation of an EFI Boot Partition at the beginning of the hard-disk = fat32/550MB/mount point is boot/efi. Then follow this tutorial to create the other partitions ... viewtopic.php?f=42&t=122276 . Ensure that the "Device for boot loader installation" is the EFI Boot Partition.
... If you intend to use this "Something else" method, you can also use this method to delete all the faulty Linux partitions and create a new free space, ie no need to use GParted.

Nemo18
Level 1
Level 1
Posts: 3
Joined: Thu Nov 16, 2017 9:46 pm

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby Nemo18 » Fri Nov 17, 2017 1:28 pm

I tried to delete everything and create new partisions like step 8 and so on.
It asked me to create one pore partition for "Efi bootloader" with 35 mb. So did i.
Still everything is the same tho :roll:

Laurent85
Level 13
Level 13
Posts: 4849
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 18.2 won't boot up without bootable USB

Postby Laurent85 » Fri Nov 17, 2017 1:34 pm

What is the brand and model of your computer ?
Image


Return to “Installation & Boot”