Hello community!
I'm interested testing all the cool features to come with the truenas scale project. everything starts with the download and flash of the media. i do have hardware without vga so i have to setup via putty and the console. i tried flashing a nighty with rufus and the dd mode but grub.cfg has got no entries for text mode. so my only option is to flash with the ISO mode and edit the grub.cfg on the usb-drive to get the start menu running
this is the grub.cfg from the nightly:
i tried to build my own grub.cfg with infos from this site here:
my idea is suggesting two entries for gfx mode and txt mode. if permanently added i could use dd for my next tests.
linux /vmlinuz isnt found when starting thats why i linked directly to the images. (no symlink?)
i can make some further grub.cfg tests (not sure if all the options are needed for txt bootup) if helpful for the community.
greetz oliver :)
I'm interested testing all the cool features to come with the truenas scale project. everything starts with the download and flash of the media. i do have hardware without vga so i have to setup via putty and the console. i tried flashing a nighty with rufus and the dd mode but grub.cfg has got no entries for text mode. so my only option is to flash with the ISO mode and edit the grub.cfg on the usb-drive to get the start menu running
this is the grub.cfg from the nightly:
Code:
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if loadfont $prefix/fonts/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
set gfxpayload=keep
fi
terminal_output gfxterm
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
# set timeout_style=hidden
set timeout=3
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=3
fi
fi
insmod play
play 960 440 1 0 4 440 1
menuentry --hotkey=i 'Start TrueNAS SCALE Installation' {
load_video
set background_color=black
linux /vmlinuz vga=788 --- quiet nomodeset boot=live toram=filesystem.squashfs console=ttyS0,9600 console=tty0
initrd /initrd.img
}
i tried to build my own grub.cfg with infos from this site here:
my idea is suggesting two entries for gfx mode and txt mode. if permanently added i could use dd for my next tests.
Code:
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod ieee1275_fb
insmod vbe
insmod vga
insmod all_video
}
function load_gfx {
insmod gfxmenu
insmod gfxterm
insmod gfxterm_menu
insmod gfxterm_background
gfxmode=auto
gfxpayload=keep
menu_color_normal=cyan/blue
menu_color_highlight=white/blue
background_color=black
color_normal=yellow/black
terminal_output gfxterm
}
set timeout=10
set default=1
set gfxpayload=text
set console=ttyS0,115200
set console=tty0
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial console
terminal_output serial console
#menu entries
menuentry 'Start TrueNAS SCALE Installation video' --hotkey=i {
load_video
load_gfx
linux /vmlinuz vga=788 --- quiet nomodeset boot=live toram=filesystem.squashfs console=ttyS0,9600 console=tty0
initrd /initrd.img
}
menuentry 'Start TrueNAS SCALE Installation text' --hotkey=i {
echo 'Loading vmlinuz ...'
linux /boot/vmlinuz-5.9.0-1-amd64 gfxpayload=text quiet nomodeset boot=live toram=filesystem.squashfs console=ttyS0,115200 console=tty0
echo 'Loading initial ramdisk ....'
initrd /boot/initrd.img-5.9.0-1-amd64
}
linux /vmlinuz isnt found when starting thats why i linked directly to the images. (no symlink?)
i can make some further grub.cfg tests (not sure if all the options are needed for txt bootup) if helpful for the community.
greetz oliver :)