[PVE-User] sbin/unconfigured.sh

Steve steve at easy2boot.com
Sat May 20 00:58:26 CEST 2017


​​
Here is final grub4dos menu for use with Easy2Boot which works

iftitle [if exist $HOME$/proxmox-ve_4.4-eb2d6f1e-2.iso] proxmox 4.4\n You
must enter the correct USB name.
set ISO=proxmox-ve_4.4-eb2d6f1e-2.iso

set ldisk=
errorcheck off
if not exist ldisk geometry (hd9) > nul && set ldisk=sdj4
if not exist ldisk geometry (hd8) > nul && set ldisk=sdi4
if not exist ldisk geometry (hd7) > nul && set ldisk=sdh4
if not exist ldisk geometry (hd6) > nul && set ldisk=sdg4
if not exist ldisk geometry (hd5) > nul && set ldisk=sdf4
if not exist ldisk geometry (hd4) > nul && set ldisk=sde4
if not exist ldisk geometry (hd3) > nul && set ldisk=sdd4
if not exist ldisk geometry (hd2) > nul && set ldisk=sdc4
if not exist ldisk geometry (hd1) > nul && set ldisk=sdb4

echo
echo -e $[0104]     I guess partition 4 of the USB drive will be %ldisk%
echo
set /p ldisk=Enter linux device name for USB drive (ptn4), e.g. sdb4 or
sdc4 (ESC=%ldisk%) :
echo
pause --wait=3 Will use /dev/%ldisk%
set NOSUG=1
set redir=> nul
/%grub%/QRUN.g4b $HOME$/%ISO%
kernel /boot/linux26 ro ramdisk_size=16777216 lvm2root=/dev/%ldisk% vga=791
rw
initrd /boot/initrd.img
boot

Thanks for your help
​.​


More information about the pve-user mailing list