I have a laptop (HP ProBook 470 G3) with a 256 GB internal SSD. It has Windows 10 installed on it. I also have a external (USB) Seagate Expansion drive, which is 1 TB.
Due to the limited size of my SSD, I'd like to install Ubuntu on the Seagate. To be precise: on a partition of the Seagate. (Because I have a NTFS partition with about 600 GB of data on it, and I don't want to loose that).
So I downloaded the Ubuntu 16.04.03 LTS ISO and made a bootable USB-stick with Rufus. Booted into the stick and goed trough the installation process. So far so good. I've created three additional partitions and made one of them the swap and the other two ext4. (Mount point / and /home). I also set the boot loader to install on the Seagate, which is sda. (My SSD is sdb). The installation finished and said to me that it was time to reboot. So I removed the USB-stick and rebooted.
But... It gave me the following:
error: unknown filesystem.
Entering rescue mode...
grub rescue> _
I have been troubleshooting for two days and I'm really getting tired of this :(
Google told me that i have to reset the root and prefix in the GRUB rescue mode, but whatever I try, it keeps saying 'unknown filesystem'.
However, what did work was booting the USB-stick and hit escape (or C) to give me the GRUB terminal from the stick's GRUB. Setting the root and prefix there, followed by:
insmod normal
nornal
resulted in a proper boot. So yes, I can boot into my Ubuntu, but this ofcourse isn't the way I want it to be. I've also done the thing above, followed by:
sudo grub-update
sudo grub-install /dev/sda
in the Ubuntu terminal, but rebooting, again, resulted in the GRUB rescue mode.
I also discovered that this might be GRUB legacy? Not sure if that's a problem.
So, what are your thoughts about this? I hope that I gave enough info, and I'm really looking forward on solving this issue.
Additional info:
fstab file:
# /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>
# / was on /dev/sda2 during installation
UUID=8bc0d331-93d1-4376-a1f3-b2a8a51a45f3 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda4 during installation
UUID=591e8d9e-cfe7-46db-8244-8ce3e3955818 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=616e1dce-6463-4f1f-8b93-44ce26d1c790 none swap sw 0 0
aufs
indicates that you have a live system (live-only or persistent live), not an installed system. See this link, http://ubuntuforums.org/showthread.php?t=2230389 -- Is this what you are looking for? I think you want to create an installed system, but you have 'only' booted into the live system. – sudodus Aug 23 '17 at 14:02grub-pc
. Maybe this is what you mean by legacy grub. (Some people mean original grub, but current versions of Ubuntu are always using grub2 (the packagegrub-pc
contains grub2). In UEFI mode Ubuntu boots via the EFI partition and uses the packagegrub-efi
(which contains grub2 for UEFI). When booted from the DVD or USB drive, you can use the following command line to tell if you are running in BIOS or UEFI mode,test -d /sys/firmware/efi && echo efi || echo bios