Installing GRUB on an nvme drive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme.



Partition Layout:



Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB ntfs Windows 10 - Reserved 1 msftdata
2 525MB 480GB 479GB ntfs Windows 10 msftdata
3 480GB 480GB 500MB ntfs Windows 10 - Reserved 2 msftdata
4 480GB 481GB 537MB fat32 EFI boot, esp
5 481GB 891GB 410GB ext4 Linux


So the old drive 1:

1: Win10 boot, 2: Win10 itself, 3: Win10 reserved. I would F8 at BIOS and boot this drive first to get into Windows.



The old drive 2:

4: EFI partition, 5: Linux root. This was set as my first drive to boot by default.



the EFI partition looks like this:



/boot/efi/:
EFI

/boot/efi/EFI:
BOOT ubuntu

/boot/efi/EFI/BOOT:
BOOTX64.EFI fbx64.efi mmx64.efi

/boot/efi/EFI/ubuntu:
BOOTX64.CSV fw fwupx64.efi grub.cfg grubx64.efi mmx64.efi shimx64.efi

/boot/efi/EFI/ubuntu/fw:


It's weird that the EFI partition has a folder named EFI as this is mounted at /boot/efi resulting in /boot/efi/EFI. If I need to combine boot to the EFI partition so the whole thing is mounted to /boot that is easy enough.



How do I set up a grub config to boot the system now?










share|improve this question






















  • /boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

    – K7AAY
    Feb 14 at 17:55















0















I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme.



Partition Layout:



Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB ntfs Windows 10 - Reserved 1 msftdata
2 525MB 480GB 479GB ntfs Windows 10 msftdata
3 480GB 480GB 500MB ntfs Windows 10 - Reserved 2 msftdata
4 480GB 481GB 537MB fat32 EFI boot, esp
5 481GB 891GB 410GB ext4 Linux


So the old drive 1:

1: Win10 boot, 2: Win10 itself, 3: Win10 reserved. I would F8 at BIOS and boot this drive first to get into Windows.



The old drive 2:

4: EFI partition, 5: Linux root. This was set as my first drive to boot by default.



the EFI partition looks like this:



/boot/efi/:
EFI

/boot/efi/EFI:
BOOT ubuntu

/boot/efi/EFI/BOOT:
BOOTX64.EFI fbx64.efi mmx64.efi

/boot/efi/EFI/ubuntu:
BOOTX64.CSV fw fwupx64.efi grub.cfg grubx64.efi mmx64.efi shimx64.efi

/boot/efi/EFI/ubuntu/fw:


It's weird that the EFI partition has a folder named EFI as this is mounted at /boot/efi resulting in /boot/efi/EFI. If I need to combine boot to the EFI partition so the whole thing is mounted to /boot that is easy enough.



How do I set up a grub config to boot the system now?










share|improve this question






















  • /boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

    – K7AAY
    Feb 14 at 17:55













0












0








0








I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme.



Partition Layout:



Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB ntfs Windows 10 - Reserved 1 msftdata
2 525MB 480GB 479GB ntfs Windows 10 msftdata
3 480GB 480GB 500MB ntfs Windows 10 - Reserved 2 msftdata
4 480GB 481GB 537MB fat32 EFI boot, esp
5 481GB 891GB 410GB ext4 Linux


So the old drive 1:

1: Win10 boot, 2: Win10 itself, 3: Win10 reserved. I would F8 at BIOS and boot this drive first to get into Windows.



The old drive 2:

4: EFI partition, 5: Linux root. This was set as my first drive to boot by default.



the EFI partition looks like this:



/boot/efi/:
EFI

/boot/efi/EFI:
BOOT ubuntu

/boot/efi/EFI/BOOT:
BOOTX64.EFI fbx64.efi mmx64.efi

/boot/efi/EFI/ubuntu:
BOOTX64.CSV fw fwupx64.efi grub.cfg grubx64.efi mmx64.efi shimx64.efi

/boot/efi/EFI/ubuntu/fw:


It's weird that the EFI partition has a folder named EFI as this is mounted at /boot/efi resulting in /boot/efi/EFI. If I need to combine boot to the EFI partition so the whole thing is mounted to /boot that is easy enough.



How do I set up a grub config to boot the system now?










share|improve this question














I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme.



Partition Layout:



Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB ntfs Windows 10 - Reserved 1 msftdata
2 525MB 480GB 479GB ntfs Windows 10 msftdata
3 480GB 480GB 500MB ntfs Windows 10 - Reserved 2 msftdata
4 480GB 481GB 537MB fat32 EFI boot, esp
5 481GB 891GB 410GB ext4 Linux


So the old drive 1:

1: Win10 boot, 2: Win10 itself, 3: Win10 reserved. I would F8 at BIOS and boot this drive first to get into Windows.



The old drive 2:

4: EFI partition, 5: Linux root. This was set as my first drive to boot by default.



the EFI partition looks like this:



/boot/efi/:
EFI

/boot/efi/EFI:
BOOT ubuntu

/boot/efi/EFI/BOOT:
BOOTX64.EFI fbx64.efi mmx64.efi

/boot/efi/EFI/ubuntu:
BOOTX64.CSV fw fwupx64.efi grub.cfg grubx64.efi mmx64.efi shimx64.efi

/boot/efi/EFI/ubuntu/fw:


It's weird that the EFI partition has a folder named EFI as this is mounted at /boot/efi resulting in /boot/efi/EFI. If I need to combine boot to the EFI partition so the whole thing is mounted to /boot that is easy enough.



How do I set up a grub config to boot the system now?







boot grub2 dual-boot grub nvme






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 14 at 1:58









uMindeduMinded

1563




1563












  • /boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

    – K7AAY
    Feb 14 at 17:55

















  • /boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

    – K7AAY
    Feb 14 at 17:55
















/boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

– K7AAY
Feb 14 at 17:55





/boot/efi/EFI/ is a standard for Ubuntu and other Linux booting from EFI, as noted in askubuntu.com/questions/880780/why-is-the-efi-partition-mounted

– K7AAY
Feb 14 at 17:55










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500529%2finstalling-grub-on-an-nvme-drive%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500529%2finstalling-grub-on-an-nvme-drive%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay