Having difficult time installing GRUB on Laptop

I’ve installed Ubuntu numerous times via both VM and onto hard drives. Unfortunately it was a learning curve for me and I messed it up several times trying to designate partitions and running out of space too quick or otherwise.

The problem now. I’m trying to install Ubuntu 19.04 onto my laptop and I get all the way to the end and receive the error message (Fatal Error, cannot install GRUB on disk. Choose (select another disk, select do not install GRUB, Select cancel installation)

Each time I get here, I cannot install on ANY DISK, not just the SSD that I would really like to install upon. I have completely deleted, reformatted and otherwise destroyed to recreate several installations now. I want to start from scratch with an entire new installation and I would like to install on my brand new Western Dynamics SSD card (brand new as in a month old). I’ve read and tried many things but my specific question, given what has transpired up until this point, has not been addressed. What could I be missing?

~$   sudo parted -l  Model: ATA ST9500325ASG (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      32.3Kb  500GB  500GB  primary  <nothing here>  lvm  -------------------------------------------------------------------  Model: ATA WDC WDS500G2BOB (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition table: msdos Disk Flags:  Number  Start   End    Size   Type     File System     Flags  1      1049Kb  500GB  500GB  primary  ext4  -------------------------------------------------------------------  Model: MXT-USB Storage Device (scsi) Disk /dev/sdc: 128GB Sector Size (logical/physical): 512B/512B Partition table msdos disk flags:  Number  Start   End    Size   Type     File System     Flags  1      1049Kb  128GB  128G   primary  fat32           boot, lba 

Problem with Grub Recovery Menu on Xubuntu 18.04.2

This is a duplicate of: fsck e2fsck: Cannot continue, aborting

because I can not comment there and it is obvious to me that people marking this as duplicate and the one’s responding didn’t really read/understand what the problem is.

On a fresh install of XUbuntu 18.04.2 if I used the “Extended Options for Ubuntu” and use any “…(revovery mode)” entry and in the following menu I choose “fsck check all filesystems” I initially got:

/lib/recocery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory
fsck from util-linux 2.31.1
/dev/sda4 is mounted
e2fsck: Cannot continue, aborting.

As there was no /etc/default/rcS on the installed Xubuntu 18.04.2 system and none on the Xubuntu live DVD, I checked an old 16.10 live DVD and that had a /etc/default/rcS, that bassically consisted of a bunch of options that were commented out. so I copied it over. and when I now try “… (recovery mode)” “fsck…” I get:

fsck from util-linux 2.31.1
/dev/sda4 is mounted
e2fsck: Cannot continue, aborting.

Being a newbee I spent the last 2 days to try to find out how I can fix this permanently (I did file a bug-report). I need to get on the road with this laptop and when being on the road I need this “fsck…” menu to work as I can not run around with a big pile of paper of all the things I need to remember about bypassing problems in the boot process. I won’t have access to the internet if that laptop fails. I did not want to try to copy the /lib/recocery-mode/ folder from the old 16.10 live DVD to 18.04.2 as I’m worried I might create damage that way and I just can not spend another 2 days searching with no useable result. I don’t want to take the risk of booting an unchecked filesystem that might be corrupted (etc. because of power failure) either.

PS: english is not my mothertongue so please forgive me if I sound rude or anything. I’m just trying to state facts neutrally

recupere grub perdida pero con error porque no esta el kernel con cual trabajo sino uno mas viejo

Tengo este gran problema, de antemano muchas gracias si me pueden ayudar: Recuperè mi grub perdida con el programa boot repair pero con un error porque mi version de ubuntu es studio 4.4.0-31-lowlatency y solo aparece en el menu una versiòn 10.10 de ubuntu, entro en ella y cuando intento editar desde el terminal con el comando chroot me pide contraseña que no es la misma y desconozco, es decir no acepta la contraseña que usaba en studio, tengo el live cd de ubuntu studio pero no he logrado editar el menu para que cargue el kernel adecuado.

GNU GRUB screen no longers loads Ubuntu OS

I was working fine with Ubuntu but one day when I restart it because it freeze the Lap return to the GNU GRUB screen (the purple one) where there’s only 3 options: Ubuntu / Advanced option for Ubuntu / System setup. When I hit Ubuntu the screen freezes in the purple screen like if its loading but it can stay like that for hours. I havent make my backup so, what are the commands to recover my info?

No grub in bios boot after install

This is a fresh install on UEFI system. I set up 5 partitions on an nvme ssd:

  1. 1GB /boot
  2. 16MB biosgrub
  3. 512MB efi partition
  4. 50GB / root
  5. 450GB unused partition (for steam)

/home is located in a separate physical drive, also new (no data in it)

After install, when I choose to boot from the nvme, I only see blank screen with blinking underscore. I tried boot-repair from a livecd but it says no internet connection. I tried to turn off internet related functions, and it asks me to add x86 efi repository. I don’t know how to do that

I tried to use update-grub but it says no canonical path for /cow. I mounted the efi partition and tried grub-install –efi-directory but it says “can’t find disk”

The partitions were created from scratch via ubuntu installer

Not sure what else can be done at this point

“grub rescue unknown filesystem/device” error is only passed through by pressing multiple ESC in HP

I have installed Ubuntu 16.04 alongside Windows 10. Whenever I restart/start my PC (Elitebook 8560w Workstation HP) the grub selection menu does not come directly, I have to keep pressing ESC, then by pressing F9 I can select the hard-disk that I want to boot from (SSD or harddisk). After that the normal grub menu shows up. Otherwise, I will encounter the common ” unknown file system” error and stuck in. I have tried many solutions stated here: How to fix "error: unknown filesystem. grub rescue> including writing commands to rescue terminal and Boot Repair application in Ubuntu. However, non of them could work!. Moreover, writing lsto grub rescue shows only (hd0) and ls (hd0)shows again unknown filesystem error. So I am not able to move forward with this terminal solution. Is there any possible case/solution for my situation? Disks and partitions shown in Windows10

64.77 GB partition is used for Ubuntu

GRUB Doesn’t detect windows: Disk is MBR but booting via UEFI

I dun goofed. I thought my Windows was booting using UEFI, and I installed Ubuntu using UEFI. But now I think my Windows was booting using MBR, and GRUB can’t detect it.

I’m confident the disk is MBR:

> sudo gdisk -l /dev/sdb GPT fdisk (gdisk) version 1.0.3  Partition table scan:   MBR: MBR only   BSD: not present   APM: not present   GPT: not present 

and that I’m booting via UEFI:

> ls /sys/firmware/efi/ config_table  fw_platform_size  runtime      systab efivars       fw_vendor         runtime-map  vars 

How can I fix my GRUB so that it boots using MBR instead of UEFI?

I’ve tried:

  • Running os-prober and update-grub
  • Running boot-repair

Neither gave me a GRUB menu with Windows listed.

Should I always need to load the kerner first – grub

I dual booted ubuntu on my macbook pro late 2016, but ubuntu doesn’t start instead ‘GNU GRUB version 2.02 Minimal BASH-like line editing…’ starts. I found a solution here so I do this all the time I want to boot into ubuntu.

grub> ls (hd0) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)  grub> set root=(hd0,gpt5) grub> linux /boot/vmlinuz-5.0.0-16-generic root=/dev/nvme0n1p5  grub> initrd /boot/initrd.img-5.0.0-16-generic  grub> boot 

and then ubuntu loads. When I shutdown I have to force shutdown otherwise I get so many lines like:

[ OK ] Unmounted /boot/efi. . . . [ OK ] Stopped Monitoring of LVM2 mirrors, snapshots etc. .... 

and it stops here:

[ OK ] Stopping LVM2 metadata deamon... 

Then after a long wait, I have to press the turn off key to forcefully shut it down.

Therefore I want to find a solution so that I don’t have to write everytime this ‘set root’ and that the ubuntu can shutdown correctly. Is there any solution for this?

Unable to access GRUB in Win10/Ubuntu18.04 legacy dual boot

I’ve installed Windows 10 Pro & Ubuntu 18.04 on primary partitions on a Dell Opti-Plex 7010. I made sure to use legacy BIOS for OS installations on account of having partitioned the hard drive using Ubuntu Live’s GParted (MBR). After finishing the Ubuntu installation the PC doesn’t enter GRUB when booting, it just boots Windows. I think I created the 18.04 bootable USB about a year ago from 16.04, I don’t quite remember the settings (if there were any). I don’t know if this should make a difference when I installed this attempted dual boot selecting legacy BIOS.

(I tried to tag this question “legacy-bios”, but the tag doesn’t seem to exist.)