Hello. I apologize if this has already been asked. I’ve done some research into moving my Manjaro install but I can’t seem to find anything on my specific situation.
I currently have a NVMe SSD (/dev/nvme0n1) with 3 partitions:
- A 480MB ntfs partition (/dev/nvme0n1p1)
- A 500MB fat32 partition mounted as /boot/efi (/dev/nvme0n1p2)
- A 930GB Windows partition (/dev/nvme0n1p3, A window install no longer being used. This is the partition I would like to wipe and move my Manjaro root directory to)
My Manjaro root directory is at /dev/sdb4 on a separate, 1TB HDD (mounted as /).
I believe my boot is set up this way because I was formerly dual-booting Windows and Manjaro with the NVMe drive.
What I think I need to do based on what I’ve read:
Format the /dev/nvme0n1p3 partition to ext4 using GParted
sudo dd if=/dev/sdb4 of=/dev/nvme0n1p3 bs=64K conv=noerror,sync
to copy the files.
Generate a UUID with uuidgen
sudo tune2fs /dev/nvme0n1p3 -U <uuid from uuidgen>
- Mount /dev/nvme0n1p3 to /mnt/new, navigate to /mnt/new/etc/fstab and change the UUID of / to this new UUID
# <file system> <mount point> <type> <options> <dump> <pass> UUID=5434-6658 /boot/efi vfat umask=0077 0 2 UUID=<new uuid> / ext4 defaults,noatime 0 1
Where I’m confused is, will this go smoothly with /boot/efi on the same drive? Is this the correct command to run to get grub working on the NVMe drive?
sudo grub-install /dev/nvme0n1p3
Do I need to get rid of that first partition on the NVMe drive? CAN I just get rid of it?
I just don’t want my system to be set alight.
Thanks for the help.