You've already forked www.colben.cn
update
This commit is contained in:
@@ -6,7 +6,7 @@ tags: ["grub"]
|
||||
categories: ["OS"]
|
||||
---
|
||||
|
||||
# 启动 archlinux 镜像 64位系统
|
||||
## 启动 archlinux 镜像 64位系统
|
||||
```
|
||||
menuentry "Archlinux-ISO-x86-64" --class iso {
|
||||
set isofile=""
|
||||
@@ -17,7 +17,7 @@ menuentry "Archlinux-ISO-x86-64" --class iso {
|
||||
}
|
||||
```
|
||||
|
||||
# 启动 archlinux 镜像 32位系统
|
||||
## 启动 archlinux 镜像 32位系统
|
||||
```bash
|
||||
menuentry "Archlinux-ISO-i686" --class iso {
|
||||
set isofile=""
|
||||
@@ -28,7 +28,7 @@ menuentry "Archlinux-ISO-i686" --class iso {
|
||||
}
|
||||
```
|
||||
|
||||
# 启动 ubuntu 镜像
|
||||
## 启动 ubuntu 镜像
|
||||
```bash
|
||||
menuentry "ubuntu-ISO" {
|
||||
set isofile=""
|
||||
@@ -38,7 +38,7 @@ menuentry "ubuntu-ISO" {
|
||||
}
|
||||
```
|
||||
|
||||
# 启动安装在第一块硬盘第一个mbr分区的 win7 系统
|
||||
## 启动安装在第一块硬盘第一个mbr分区的 win7 系统
|
||||
```bash
|
||||
menuentry "Microsoft Windows Vista/7/8/8.1/10 BIOS-MBR" {
|
||||
insmod part_msdos
|
||||
@@ -51,7 +51,7 @@ menuentry "Microsoft Windows Vista/7/8/8.1/10 BIOS-MBR" {
|
||||
}
|
||||
```
|
||||
|
||||
# 启动安装在第一块硬盘的第一个gpt分区的 Win10 EFI
|
||||
## 启动安装在第一块硬盘的第一个gpt分区的 Win10 EFI
|
||||
```bash
|
||||
menuentry "Microsoft Windows 10" {
|
||||
insmod part_gpt
|
||||
@@ -64,7 +64,7 @@ menuentry "Microsoft Windows 10" {
|
||||
}
|
||||
```
|
||||
|
||||
# 关机
|
||||
## 关机
|
||||
```bash
|
||||
menuentry "System shutdown" {
|
||||
echo "System shutting down..."
|
||||
@@ -72,7 +72,7 @@ menuentry "System shutdown" {
|
||||
}
|
||||
```
|
||||
|
||||
# 重启
|
||||
## 重启
|
||||
```bash
|
||||
menuentry "System restart" {
|
||||
echo "System rebooting..."
|
||||
@@ -80,13 +80,13 @@ menuentry "System restart" {
|
||||
}
|
||||
```
|
||||
|
||||
# UEFI 配置
|
||||
## UEFI 配置
|
||||
```bash
|
||||
menuentry "Firmware setup" {
|
||||
fwsetup
|
||||
}
|
||||
```
|
||||
|
||||
# 详细使用参考
|
||||
## 详细使用参考
|
||||
- [GRUB-ArchWiki](https://wiki.archlinux.org/index.php/GRUB)
|
||||
|
||||
|
Reference in New Issue
Block a user