-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrub.cfg.backup
61 lines (51 loc) · 1.93 KB
/
grub.cfg.backup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
# general configuration:
set timeout=5
set default= '2'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi
set color_normal='light-blue/black'; set color_highlight='light-cyan/blue'
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
menuentry 'Arch Linux' {
set root='(hd0,8)'; set legacy_hdbias='0'
legacy_kernel '/vmlinuz-linux' '/vmlinuz-linux' 'root=/dev/sda10' 'resume=/dev/sda9' 'ro' 'vga=792'
legacy_initrd '/initramfs-linux.img' '/initramfs-linux.img'
# (1) Arch Linux
}
menuentry 'Arch Linux Fallback' {
set root='(hd0,8)'; set legacy_hdbias='0'
legacy_kernel '/vmlinuz-linux' '/vmlinuz-linux' 'root=/dev/sda10' 'resume=/dev/sda9' 'ro' ''
legacy_initrd '/initramfs-linux-fallback.img' '/initramfs-linux-fallback.img'
# (2) Windows
}
menuentry 'Windows7' {
set root='(hd0,1)'; set legacy_hdbias='0'
# if use Windows7 this line should be commented out
#makeactive
chainloader '+1'
}