Diskpup Windows Startup Stanza Missing (Solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 152 times
Contact:

Diskpup Windows Startup Stanza Missing (Solved)

Post by vtpup »

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
}
Last edited by vtpup on Tue Mar 19, 2024 8:44 pm, edited 1 time in total.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
wizard
Posts: 1651
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2202 times
Been thanked: 515 times

Re: Diskpup Windows Startup Stanza Missing

Post by wizard »

@vtpup

Run into this before where diskpup would install but grub2config would not, then found diskpup didn't add the MS Win stanza.

Here are two grub.cfg files, one with search and the other using uuid, I like the search one best.

wizard

Attachments
grubwin.tar.gz
(1.05 KiB) Downloaded 6 times

Big pile of OLD computers

User avatar
vtpup
Posts: 707
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 178 times
Been thanked: 152 times
Contact:

Re: Diskpup Windows Startup Stanza Missing

Post by vtpup »

Thanks Wizard! That worked perfectly. I used the search one. I also like the UEFI settings choice. Perfect.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

Post Reply

Return to “Users”