1

I have been using Linux installed on an external hard drive (lets say A) for a year, so everytime my hard drive was connected i could use linux and when it wasnt i could use windows.

Now i have taken another external hard drive(lets say B) and i did the same proccess to install linux.

What i wanted to do was to be able to use both of the external hard drives( A and B) and the internal hard drive that had Windows Unfortunately, when i installed linux on drive B i used as mount point the "/" that was the same i used for drive A

As a result i can now use drive B and internal hard drive but not drive A because the system doesnt find it when booting. When i am using drive B, when i plug in drive A i am able to see the files but not use it as an OS

My question is, can i change the mounting point of drive A since i can not enter it as an OS without loosing the files that are in it, so than when booting i can choose if i want to use drive A,B or internal hard drive?

EDIT: Is Windows in the internal drive running in UEFI mode? Yes Did you install Ubuntu in the external drives in UEFI mode? Yes Did you create separate EFI System Partitions (ESP) in each of the two external drives A and B? I am not sure, I followed exactly this tutorial : https://www.youtube.com/watch?v=YIhYitXwJfE

EDIT2: The pictures from Gparted are here https://i.sstatic.net/8kYwp.jpg The first one(with 930.4 Gib) is the external drive B:

enter image description here

and the second is external drive A(the one that i cant enter):

enter image description here

As I said, i cant boot from external drive A, only from B or internal drive.

The page i see when i plug in external drive B is almost like the third picture i found online:

enter image description here

The only difference is that it has the option "Windows boot manager" below the option ubuntu.

What if i change the mount point of drive A to "/"? Will I have problem with drive B?

user68186
  • 37,461

1 Answers1

0

The Issue is not mount-point

If I understand your problem correctly, the issue is not changing the mount point of Drive A to /. When you installed Ubuntu in Drive A, the correct mount point was assigned. However, when you installed Ubuntu in Drive B, some information in the internal EFI System Partition (ESP) was overwritten and updated for Drive B.

This is why you can boot from drive B and drive A does not boot any more.

The Solution is to have ESP in all the drives, A, B, and the internal drive (it is already there).

You have to install ubuntu in Drive A and Drive B again. See Installing Ubuntu in a external hard drive and NOT placing GRUB of my C: hard drive for how to go about doing that.

Repeat the process for A and B.

Finally you have to remove the part of Grub installed in the internal ESP partition. See this answer for how to do that:

Can only boot Windows 10 through grub. How do I disable this?

Once all these are done, it will work a bit differently when it comes to booting from Drive A, Drive B or Internal drive (Windows). Windows will boot by default. When you want to boot from drive A or B, you will have to press the key to select the boot device. This can be F10, F12, Esc, or some other key. This is the same key you press to boot from the Live Ubuntu installation USB. Once you press the key you will see option to boot from the USB drive in UEFI mode. Select that and the computer will boot from Drive A or B.

Hope this helps

user68186
  • 37,461