1 Star 0 Fork 39

src-openeuler-fork/lorax

forked from src-openEuler/lorax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
disable-graphics-install.patch 2.53 KB
一键复制 编辑 原始数据 按行查看 历史
朱春意 提交于 2019-11-06 19:41 . update code
diff -urN b/share/templates.d/99-generic/config_files/aarch64/grub.conf a/share/templates.d/99-generic/config_files/aarch64/grub.conf
--- b/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-02-12 00:00:00.000000000 +0000
+++ a/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-02-12 00:00:00.000000000 +0000
@@ -5,9 +5,9 @@
hiddenmenu
title Install @PRODUCT@ @VERSION@
findiso
- kernel @KERNELPATH@ @ROOT@ quiet
+ kernel @KERNELPATH@ @ROOT@ quiet inst.text
initrd @INITRDPATH@
title Test this media & install @PRODUCT@ @VERSION@
findiso
- kernel @KERNELPATH@ @ROOT@ rd.live.check quiet
+ kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.text
initrd @INITRDPATH@
diff -urN b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg
--- b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-02-12 00:00:00.000000000 +0000
+++ a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-02-12 00:00:00.000000000 +0000
@@ -26,25 +26,15 @@
search --no-floppy --set=root -l '@ISOLABEL@'
### BEGIN /etc/grub.d/10_linux ###
-menuentry 'Install @PRODUCT@ @VERSION@ with GUI mode' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ ro
- initrd @INITRDPATH@
+menuentry 'Install @PRODUCT@ @VERSION@ with text mode' --class red --class gnu-linux --class gnu --class os {
+ linux @KERNELPATH@ @ROOT@ ro inst.text console=ttyAMA0 console=tty0
+ initrd @INITRDPATH@
}
menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ rd.live.check
+ linux @KERNELPATH@ @ROOT@ rd.live.check inst.text console=ttyAMA0 console=tty0
initrd @INITRDPATH@
}
-menuentry 'Install @PRODUCT@ @VERSION@ with text mode' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ ro inst.text
- initrd @INITRDPATH@
-}
-submenu 'Troubleshooting -->' {
- menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ nomodeset
- initrd @INITRDPATH@
- }
- menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ rescue console=ttyAMA0 console=tty0
- initrd @INITRDPATH@
- }
+menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
+ linux @KERNELPATH@ @ROOT@ rescue console=ttyAMA0 console=tty0
+ initrd @INITRDPATH@
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler-fork/lorax.git
git@gitee.com:src-openeuler-fork/lorax.git
src-openeuler-fork
lorax
lorax
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385