EasyManua.ls Logo

Huawei ES3000 V5 - Page 71

Huawei ES3000 V5
248 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
…(Some code omitted.)
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-simple-e2afe344-3108-497b-ae46-014a53fe3cb5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-
efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e2afe344-3108-497b-
ae46-014a53fe3cb5
else
search --no-floppy --fs-uuid --set=root e2afe344-3108-497b-ae46-014a53fe3cb5
fi
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e2afe344-3108-497b-
ae46-014a53fe3cb5 ro pciehp.pciehp_force=1 pci=pcie_bus_perf
initrd /boot/initrd.img-4.4.0-21-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-
e2afe344-3108-497b-ae46-014a53fe3cb5' {
menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux
--class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-
e2afe344-3108-497b-ae46-014a53fe3cb5' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-
efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e2afe344-3108-497b-
ae46-014a53fe3cb5
else
search --no-floppy --fs-uuid --set=root e2afe344-3108-497b-
ae46-014a53fe3cb5
ES3000 V5 NVMe PCIe SSD
User Guide
4 Hot Swap
Issue 07 (2019-03-19) Copyright © Huawei Technologies Co., Ltd. 61

Table of Contents