[SOLVED] Boot device not found

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

[SOLVED] Boot device not found

Post by Josin007 » Tue Sep 10, 2019 5:43 am

I updated Linux mint from 19.1 to 19.2 today. After that, I was trying to make a bootable windows 7 (lite) usb (for a very old computer). I formatted the usb to ntfs. I tried different softwares to create a bootable windows usb from Linux (unetbootin etc) and failed. I then tried woeusb. After a long time, it showed a report that the operation failed, but I couldn't close the report tab. So, I ejected the usb and restarted the laptop. Upon booting, it is showing that 'Boot device not found'. I read different posts and tried everything I could. The memory and hard-disk tests are passed. I checked the connections to the hard-disk. Nothing is wrong there.

What could I've done wrong. Will reinstalling the OS solve the problem ? I really want to keep the data on the hard disk. Pls help me
Last edited by Josin007 on Tue Sep 10, 2019 10:46 am, edited 1 time in total.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Boot device not found

Post by Spearmint2 » Tue Sep 10, 2019 6:23 am

And you will keep failing. Remember this rule. Windows won't boot from USB or any other bus, just the PATA/SATA bus. It's designed that way in it's software to keep people from installing it to anything it recognizes as "removable media. Only the "Windows to Go" version does that, and it's restricted to certain users. That said however;

https://www.howtogeek.com/196817/how-to ... e-edition/

More information on "Windows To Go"

https://en.wikipedia.org/wiki/Windows_To_Go
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 8:05 am

I now realise my terrible blunder. I formatted the boot partition (type efi) instead of the usb drive. Is there any way I can boot again without reinstalling Linux (losing settings) ?

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Boot device not found

Post by Spearmint2 » Tue Sep 10, 2019 8:16 am

Yes, get Grub Boot Repair.

https://www.howtogeek.com/114884/how-to ... wont-boot/

next time get a record of your partitions first.

Code: Select all

blkid
wait for it, takes a few seconds.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 8:53 am

After trying to repair, it said there was an error during repair and gave me this URL : http://paste.ubuntu.com/p/pQHSsBZDSq to send to boot.repair@gmail.com.
I don't know what went wrong

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 9:10 am

I took a record of the partitions. But, I don't know how to paste the image here.

The efi partition's info is,

/dev/sda6: UUID="6A049E690163E0C3" TYPE="ntfs" PTTYPE="dos" PARTLABEL="EFI System Partition" PARTUUID="9085ae49-580a-497e-a90b-032e5c9b27ba"

It's placed at the beginning of the partition even though it's sda6. Because, I had to preserve some drives when I moved from windows to Linux earlier

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Boot device not found

Post by Spearmint2 » Tue Sep 10, 2019 9:23 am

Did you install a 64 bit version of Mint while BIOS was in UEFI mode? If so, that would be correct. If you used a 32 bit version, that would be incorrect. It looks like you used a 32 bit version, which corrupted the "protective MBR" on the GPT drives.

https://fossbytes.com/uefi-bios-gpt-mbr ... ifference/

for instance, I can find on my non-GPT drives, this using gdisk.

Code: Select all

gdisk
GPT fdisk (gdisk) version 1.0.1
Type device filename, or press <Enter> to exit: /dev/sda 
Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************
Command (? for help): 
You should run gdisk in terminal and when asked for device, put in /dev/sda, then run again and next time use /dev/sdb

Report what it shows for each drive.

for good measure,also report what this shows.

Code: Select all

blkid
The pastebin page is quite thorough. I noticed this, your partition assignments changed,but that's why UUID is used since they stay the same, to avoid numbering of partitions to not corrupt boot process.

=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda8, using the following options: sda6/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


/boot/efi added in sda8/fstab
Mount sda6 on /mnt/boot-sav/sda8/boot/efi
ls: cannot access '/mnt/boot-sav/sda8/boot/efi/efi': No such file or directory
No sda8/boot/efi/efi/ ubuntu/mint folder
Unhide GRUB boot menu in sda8/etc/default/grub
I'll have to study on this some, but I'm thinking you may need to do a reinstall or at least a "dirty reinstall" (not formatting, but just reinstalling on top of what's there, to the proper partitions). A dirty install will retain your data, a full reinstall would lose it, at least in the linux partitions. Did you try booting from some of those other older kernel boot lines? Or never made it that far probably.

ARE YOU WANTING TO KEEP WINDOWS SYSTEM ON THIS?
Last edited by Spearmint2 on Tue Sep 10, 2019 9:54 am, edited 1 time in total.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 9:46 am

gdisk gave,

MBR: Protective
.
.
GPT: Present

(Rest is same)

Below that,

Found valid GPT with protective MBR; using GPT

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Boot device not found

Post by Spearmint2 » Tue Sep 10, 2019 9:58 am

That's good. You want to retain windows? Three approaches.

1) Restore windows bootloader, then reinstall Mint.
2) Reinstall Mint on top of itself, but without formatting the partition, (using "something else" method and accepting all new files to overwrite what's there. (only those needed for installation, not other files which will remain unchanged)
3) Boot a LIVE DVD or USB of Mint 64 bit, and use it's file manager to copy off all your personal files you want to save, then redo the drives.

https://howtoubuntu.org/how-to-repair-r ... tu-live-cd
Last edited by Spearmint2 on Tue Sep 10, 2019 10:09 am, edited 1 time in total.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 10:04 am

First of all, sorry to waste your time. I was really dumb. I didn't notice that the efi partition was still formatted as NTFS :lol:. I reformatted using gparted to FAT32 and did boot repair again - problem solved.

Anyway, sincere thanks for helping me out

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 10:06 am

And, I'm using Linux only. Anyway thanks for your time

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Boot device not found

Post by Spearmint2 » Tue Sep 10, 2019 10:11 am

Josin007 wrote:
Tue Sep 10, 2019 10:04 am
First of all, sorry to waste your time. I was really dumb. I didn't notice that the efi partition was still formatted as NTFS :lol:. I reformatted using gparted to FAT32 and did boot repair again - problem solved.

Anyway, sincere thanks for helping me out
GREAT! Wish I'd noticed that too. I was overwhelmed by too much information maybe? Great printout in that pastebin page.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Josin007
Level 1
Level 1
Posts: 13
Joined: Sun Feb 17, 2019 5:32 am

Re: Boot device not found

Post by Josin007 » Tue Sep 10, 2019 10:46 am

When i saw that error in the report, I got an idea and checked for the format type immediately.

Post Reply

Return to “Installation & Boot”