-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgrub.cfg.opensuse
69 lines (63 loc) · 2.75 KB
/
grub.cfg.opensuse
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
61
62
63
64
65
66
67
68
69
if [ "$grub_cpu" = "arm64" ]; then
menuentry 'Install openSUSE Leap 42.3' {
set net_default_server=download.opensuse.org
set basepath='ports/aarch64/distribution/leap/42.3/repo/oss'
echo "###############################################"
echo "# #"
echo "# WARNING #"
echo "# #"
echo "###############################################"
echo ''
echo 'You selected openSUSE Leap 42.3.'
echo ''
echo 'This version does not have support for the Raspberry Pi'
echo 'disk layout yet. To install this distribution, please'
echo 'go to the Expert Partitioner in the partitioning step and'
echo 'select "Rescan Devices". Then add the EFI (FAT32), swap and'
echo 'root partitions manually.'
echo
echo 'Future versions will have this fixed.'
echo
echo 'Loading installer into RAM ...'
set kernelargs=""
# Allow for text mode installation if the user went for it
if [ "$textmode" ]; then
set kernelargs="$kernelargs console=ttyS0,115200"
fi
linux (http)/$basepath/boot/aarch64/linux install=http://download.opensuse.org/${basepath}/ $kernelargs
initrd (http)/$basepath/boot/aarch64/initrd
echo 'Running installer ...'
}
menuentry 'Install openSUSE Tumbleweed' {
set net_default_server=download.opensuse.org
set basepath='ports/aarch64/tumbleweed/repo/oss'
echo "###############################################"
echo "# #"
echo "# WARNING #"
echo "# #"
echo "###############################################"
echo ''
echo 'You selected openSUSE Tumbleweed.'
echo ''
echo 'This version does not have support for the Raspberry Pi'
echo 'disk layout yet. To install this distribution, please'
echo 'go to the Expert Partitioner in the partitioning step and'
echo 'select "Rescan Devices". Then add the EFI (FAT32), swap and'
echo 'root partitions manually.'
echo
echo 'Future versions will have this fixed.'
echo
echo 'Loading installer into RAM ...'
set kernelargs=""
# Allow for text mode installation if the user went for it
if [ "$textmode" ]; then
set kernelargs="$kernelargs console=ttyS0,115200"
fi
linux (http)/$basepath/boot/aarch64/linux install=http://download.opensuse.org/${basepath}/ $kernelargs
initrd (http)/$basepath/boot/aarch64/initrd
echo 'Running installer ...'
}
else
menuentry "No distribution installer available on 32bit yet" { echo }
menuentry "Please see the wiki for instructions on how to get dd'able images" { echo }
fi