I am fairly new to Linux. I just installed Debian Bookworm 12.7 on a Dell Inspiron 3793 (64-bit PC) laptop (which previously had Ubuntu 22.04 installed), using the Calamares installer on the XFCE LiveDVD. I used manual partitioning to keep the EFI boot partition intact (while setting it to be formatted, still as FAT32) , deleted my previous Ubuntu partition which had the rest of the disk, made a root (/) partition after the EFI boot partition of abbout 316 GB, a home partition after the root of around 645 GB, and a swap at the end of about 38 GB. I placed descriptive labels on all of them when partitioning.
When I booted the first time, GRUB loaded straight into the
Code: Select all
grub>
Code: Select all
GNU GRUB version 2.06-13+deb12v1
Code: Select all
ls
Code: Select all
-l
Code: Select all
-h
Code: Select all
ls
Code: Select all
(hd0,gpt4)
Code: Select all
(hd0,gpt3)
Code: Select all
(hd0,gpt2)
Code: Select all
(hd0,gpt1)
Also,
Code: Select all
set pager=1
Code: Select all
set
Code: Select all
error: Command failed.
Code: Select all
error: Command failed.
error: Command failed.
error: Command failed.
error: Command failed.
error: Command failed.
error: Command failed.
error: Command failed.
error: Command failed.
Loading Linux 6.1.0-25-amd64 ...
error: Command failed.
Loading initial ramdisk ...
error: you need to load the kernel first.
Code: Select all
set
Code: Select all
set pager=1
error: Command failed.
Code: Select all
set root=(hd0,4)
error: Command failed.
Code: Select all
ls (hd0,gpt4)/boot
efi/ grub/ System.map-6.1.0-25-amd64 config-6.1.0-25-amd64 initrd.img-6.1.0-25-amd64 vmlinuz-6.1.0-25-amd64
Code: Select all
grub>
Code: Select all
set
Basically I'm just trying to figure out what I need to change to get my system to boot up properly. Should I install
on the LiveSystem and use it? Do I just need to change a few boot parameters? I'm trying to glean answers from tutorials, but as the saying goes, a little knowledge can be a dangerous thing.Boot-Repair
Any help would be much appreciated. Cheers.
Update: trying to see if these commands mentioned at Grub EFI Reinstall page - Debian Wikiare on the LiveDVD. Not sure if they are.
Code: Select all
user@debian:~$ grub-install --help
bash: grub-install: command not found
user@debian:~$ chroot --help
bash: chroot: command not found
user@debian:~$
/Update