i did a mistake
by maddy0 from LinuxQuestions.org on (#6NWJ0)
Hello, I just updated Debian, but I didn't have enough space to recompile the grub.
then removed a few MB from efi and moved it to /boot. How do I rewrite grub using live usb?
Code:lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 2.7G 1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs
/run/live/rootfs/filesystem.squashfs
sda 8:0 1 59.8G 0 disk
sda1 8:1 1 3.2G 0 part /usr/lib/live/mount/medium
/run/live/medium
sda2 8:2 1 5M 0 part
nvme1n1 259:0 0 931.5G 0 disk
nvme1n1p1 259:1 0 200M 0 part
nvme1n1p2 259:2 0 930.6G 0 part
nvme1n1p3 259:3 0 753M 0 part
nvme0n1 259:4 0 465.8G 0 disk
nvme0n1p1 259:5 0 1G 0 part
nvme0n1p2 259:6 0 300M 0 part
nvme0n1p3 259:7 0 440G 0 part
Code:fdisk -lDisk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: SPCC M.2 PCIe SSD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 89C656F8-6AC0-3A42-AC10-B627FF11EF2E
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 411647 409600 200M EFI System
/dev/nvme1n1p2 1953792 1953523711 1951569920 930.6G Linux filesystem
/dev/nvme1n1p3 411648 1953791 1542144 753M Linux filesystem
Partition table entries are not in disk order.
nvme1n1 is the disk where i have Debian.
then removed a few MB from efi and moved it to /boot. How do I rewrite grub using live usb?
Code:lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 2.7G 1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs
/run/live/rootfs/filesystem.squashfs
sda 8:0 1 59.8G 0 disk
sda1 8:1 1 3.2G 0 part /usr/lib/live/mount/medium
/run/live/medium
sda2 8:2 1 5M 0 part
nvme1n1 259:0 0 931.5G 0 disk
nvme1n1p1 259:1 0 200M 0 part
nvme1n1p2 259:2 0 930.6G 0 part
nvme1n1p3 259:3 0 753M 0 part
nvme0n1 259:4 0 465.8G 0 disk
nvme0n1p1 259:5 0 1G 0 part
nvme0n1p2 259:6 0 300M 0 part
nvme0n1p3 259:7 0 440G 0 part
Code:fdisk -lDisk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: SPCC M.2 PCIe SSD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 89C656F8-6AC0-3A42-AC10-B627FF11EF2E
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 411647 409600 200M EFI System
/dev/nvme1n1p2 1953792 1953523711 1951569920 930.6G Linux filesystem
/dev/nvme1n1p3 411648 1953791 1542144 753M Linux filesystem
Partition table entries are not in disk order.
nvme1n1 is the disk where i have Debian.