Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm looking at adding a proxmox bootmenu entry #12

Open
marcofranssen opened this issue Aug 13, 2024 · 1 comment
Open

I'm looking at adding a proxmox bootmenu entry #12

marcofranssen opened this issue Aug 13, 2024 · 1 comment

Comments

@marcofranssen
Copy link

I'm trying to figure out the parameters required to add a proxmox bootmenu entry.

Do you have any pointers on what parameters I need for that to work?

# Proxmox
menuentry "Proxmox VE 8.2 (Graphical)" --class debian --class proxmox --class linux --class os {
    set root='(hd0,1)'
    set isofile="/proxmox-ve_8.2-1.iso"
    search --no-floppy -f --set=root $isofile
    lookback loop $isofile
    echo	'Loading Proxmox VE Installer ...'
    linux	(loop)/boot/linux26 ro ramdisk_size=16777216 rw quiet splash=silent
    echo	'Loading initial ramdisk ...'
    initrd	(loop)/boot/initrd.img
}

menuentry "Proxmox VE 8.2 (Terminal UI)" --class debian --class proxmox --class linux --class os {
    set background_color=black
    set root='(hd0,1)'
    set isofile="/proxmox-ve_8.2-1.iso"
    search --no-floppy -f --set=root $isofile
    lookback loop $isofile
    echo	'Loading Proxmox VE Console Installer ...'
    linux	(loop)/boot/linux26 ro ramdisk_size=16777216 rw quiet splash=silent proxtui vga=788
    echo	'Loading initial ramdisk ...'
    initrd	(loop)/boot/initrd.img
}

In essence I basically made up the linux line, so looking for guidance on how to find the right arguments to add there 😊

@marcofranssen
Copy link
Author

I finally got a bit further following the README.md more closely but still having an error.

error: no such device: /proxmox-ve_8.2-1.iso.
error: out of memory.
Loading Proxmox VE Installer ...
error: no server specified
Loading initial ramdisk ...
error: you need to load the kernel first.

See below for my grub.cfg

# Proxmox
menuentry 'Install Proxmox VE (Graphical)' --class debian --class gnu-linux --class gnu --class os {
    set root='(hd0,1)'
    set isofile="/proxmox-ve_8.2-1.iso"
    set dri="free"
    search --no-floppy -f --set=root $isofile
    probe -u $root --set=abc
    set pqr="/dev/disk/by-uuid/$abc"
    loopback loop $isofile
    echo	'Loading Proxmox VE Installer ...'
    linux	(loop)/boot/linux26 img_dev=$pqr img_loop=$isofile driver=$dri ro ramdisk_size=16777216 rw quiet splash=silent
    echo	'Loading initial ramdisk ...'
    initrd	(loop)/boot/initrd.img
}

menuentry 'Install Proxmox VE (Terminal UI)' --class debian --class gnu-linux --class gnu --class os {
    set root='(hd0,1)'
    set isofile="/proxmox-ve_8.2-1.iso"
    set dri="free"
    search --no-floppy -f --set=root $isofile
    probe -u $root --set=abc
    set pqr="/dev/disk/by-uuid/$abc"
    loopback loop $isofile
    set background_color=black
    echo    'Loading Proxmox VE Console Installer ...'
    linux   (loop)/boot/linux26 img_dev=$pqr img_loop=$isofile driver=$dri ro ramdisk_size=16777216 rw quiet splash=silent proxtui vga=788
    echo    'Loading initial ramdisk ...'
    initrd  (loop)/boot/initrd.img
}

The isofile is in the root of the USB stick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant