F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64 from https://archive.org/download/Puppy_Linux_Huge-Kernels
Windows 11
HP Envy Laptop 17t-cr100
I just installed the above to nvme hard drive via Diskpup installer, which said it would provide an alternative dual boot choice to Windows, besides the puppy boot. Unfortunately it didn't.
I'd like to add a menuentry stanza to the Grub2 config to boot Win as well. Can someone give me a typical Grub2 Win boot stanza that I can look over?
Also I had to remove the autogenerated code "trim" from the pfix boot parameters because grub claimed not to understand it. Is this important?
Thanks!
My present grub.cfg:
Code: Select all
#
set default=0
set timeout=5
set menu_color_normal='yellow/blue'
set menu_color_highlight='black/cyan'
loadfont /boot/grub/fonts/DejaVuSansMono18.pf2
set gfxmode=auto
terminal_output gfxterm
menuentry "Puppy fossapup64 9.6" {
insmod ext2
search --no-floppy --fs-uuid --set=root c244f472-1d94-4e34-9374-99d69294c434
echo "Loading vmlinuz"
linux /F96/vmlinuz net.ifnames=0 pmedia=ataflash pdrv=nvme0n1p5 psubdir=/F96 pfix=fsck,fsckp TZ=EST5EDT,M3.2.0,M11.1.0
if [ -e /F96/local-initrd.gz ]; then
set local_rd=/F96/local-initrd.gz
else
set local_rd=
fi
if [ -e /F96/ucode.cpio ]; then
set ucode_rd=/F96/ucode.cpio
echo "Loading ucode.cpio and initrd.gz"
else
set ucode_rd=
echo "Loading initrd.gz"
fi
initrd $ucode_rd /F96/initrd.gz $local_rd
}
if [ $grub_platform = 'efi' ]; then
menuentry "System BIOS setup" {
fwsetup
}
fi
menuentry "Shutdown computer" {
halt
}
menuentry "Reboot computer" {
reboot
}