fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e2afe344-3108-497b-
ae46-014a53fe3cb5 ro
pciehp.pciehp_force=1 pci=pcie_bus_perf
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --
class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-
generic-recovery-e2afe344-3108-497b-ae46-014a53fe3cb5' {
recordfail
load_video
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
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=e2afe344-3108-497b-
ae46-014a53fe3cb5 ro recovery nomodeset
pciehp.pciehp_force=1 pci=pcie_bus_perf
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
}
### END /etc/grub.d/10_linux ###
…(Some code omitted.)
Step 5
Press
Esc
, enter
:wq
, and press
Enter
to save the edits.
Step 6
Restart the OS for the settings to take effect.
Step 7
Go to
----End
Kernel Parameter Configuration on Ubuntu 14.04/15.04
The following procedure uses Ubuntu14.04 as an example.
Step 1
Log in to the OS as an administrator.
Step 2
Run the
vim /boot/grub/grub.cfg
command to open the boot configuration file.
Step 3
Enter
i
.
Step 4
In the boot configuration file, add
pciehp.pciehp_force=1 pci=pcie_bus_perf
to the boldface
part shown in the following:
Between the added content and its preceding content, a space is required and no line feed is
allowed.
…(Some code omitted.)
### BEGIN /etc/grub.d/10_linux ###
ES3000 V5 NVMe PCIe SSD
User Guide
4 Hot Swap
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
62