More mysteries to solve...
Considering my recent-ish PC: i5-12400, 16G RAM, 2T SSD, NVIDIA GeForce GT 730...
'The shop' set-up the PC with Windows 11 Home in a 'standard' way with GPT on the SSD... and I've created some partitions myself:
Code: Select all
sda1: TYPE="vfat" PARTLABEL="EFI system partition"
sda2: PARTLABEL="Micro$oft reserved partition"
sda3: LABEL="Win11-64" TYPE="ntfs" PARTLABEL="Basic data partition"
sda4: LABEL="Data-1" TYPE="ntfs" PARTLABEL="Basic data partition"
sda5: LABEL="Data-2" TYPE="ntfs" PARTLABEL="Basic data partition"
sda6: TYPE="ntfs" (Micro$oft recovery)
sdb1: LABEL="F96-CE_4" TYPE="vfat" (flash LiveUSB)
sdc1: LABEL="Backup-2" TYPE="ntfs" (USB HDD)
sdd1: LABEL="Backup-1" TYPE="ntfs" (USB HDD)
I set-up a 'LiveUSB' flash drive using 'frugalpup' (I think it was) so that I can use the LiveUSB to boot many 'frugal' installations of Puppy variants using grub, both on the USB itself and through directories on the 'Windows' partition.
I didn't change the boot order in the BIOS/UEFI so I have to 'press a key' at boot time to select the LiveUSB and boot a Puppy variant.
I got sick of this(!), so I changed the boot order in the BIOS/UEFI and leave the LiveUSB always inserted in a USB3 port... but now, some partitions seem to have gone missing, making the grub configuration such that nothing boots.
Working around in the 'grub>' prompt (where this fool fears to tread) led to these discoveries:-
Code: Select all
Original BIOS/UEFI Settings Revised BIOS/UEFI Settings
--------------------------- --------------------------
Boot order: Boot order:
- Internal SSD - USB drive
- USB drive - Internal SSD
grub> ls grub> ls
(memdisk) (memdisk)
(hd0) (hd0,msdos1) (hd0) (hd0,msdos1)
(hd1) (hd1,msdos1) (hd1) (hd1,msdos1)
(hd2) (hd2,msdos1) (hd2) (hd2,msdos1)
(hd3) (hd3,gpt6)
(hd3) (hd3,gpt5) grub contents that FAILS:
(hd3) (hd3,gpt4) linux (hd3,gpt3) ...
(hd3) (hd3,gpt3)
(hd3) (hd3,gpt2)
(hd3) (hd3,gpt1)
grub contents that WORKS:
linux (hd3,gpt3) ...
So, is there something that I need to update in the BIOS/UEFI *OR* something I need to add in grub.cfg so that the GPT partitions are seen in the 'Revised' set-up?
The guts of the grub.cfg file:-
Code: Select all
loadfont /boot/grub/font.pf2
set gfxmode=800x600
set gfxpayload=keep
insmod efi_gop
insmod efi_uga
insmod all_video
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
insmod jpeg
terminal_output gfxterm
insmod ext2
insmod f2fs
insmod ntfs
insmod exfat
insmod loopback
insmod iso9660
insmod udf
background_image /boot/splash.png
set timeout=20
set default=2
color_normal=light-gray/black
menu_color_normal=light-gray/blue
menu_color_highlight=yellow/green
menuentry "Puppy Linux - F96-CE - frugal (on USB)" {
linux /vmlinuz pmedia=cd pfix=fsck
if [ -e /ucode.cpio ]; then
initrd /ucode.cpio /initrd.gz
else
initrd /initrd.gz
fi
}
menuentry "PROD - Puppy Linux - F96-CE - frugal - chiron (on sda3)" {
linux (hd3,gpt3)/Puppy/F96-CE/vmlinuz pfix=fsck pmedia=atahd psubok=true psave=sda3:/Puppy/F96-CE/
if [ -e /ucode.cpio ]; then
initrd /ucode.cpio (hd3,gpt3)/Puppy/F96-CE/initrd.gz
else
initrd (hd3,gpt3)/Puppy/F96-CE/initrd.gz
fi
}
[ . . . ]
I'd appreciate any clues anyone can suggest... Thanks.