Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Files » строки-загрузки_IceArch-0.999-x86_64.iso_grub2+gr4dos.txt

knn knstntnn, 2020-10-29 06:29 AM

 
1
################
2
# Строки для загрузки 'IceArch-0.999-x86_64.iso' - grub2+gr4dos
3
#######
4
#
5

    
6
# -----------------------------------
7
# Grub2 (grub.cfg):
8

    
9
menuentry 'IceArch-0.999-x86_64.iso ' {
10
# путь к образу на разделе (заменить на своё):
11
# set isopath="/path/to/IceArch-0.999-x86_64.iso" 
12
set isopath="/ISOs-linux-some/IceArch-0.999-x86_64.iso" 
13
search -f  $isopath -s
14
probe -s root_uuid -u $root 
15
loopback loop $isopath
16
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=/dev/disk/by-uuid/$root_uuid img_loop=$isopath earlymodules=loop
17
initrd (loop)/arch/boot/x86_64/archiso.img
18
}
19

    
20
########################
21

    
22
# ------------------------------------
23
# Grub4dos (menu.lst):
24

    
25
title IceArch-999-x86_64.iso 
26

    
27
# путь к образу на разделе
28
# set isopath=/path/to/IceArch-0.999-x86_64.iso (# свой путь)
29
set isopath=/ISOs-linux-some/IceArch-0.999-x86_64.iso
30
map --unhook
31
map --unmap=0:0xff
32
find --set-root --ignore-floppies %isopath%
33
uuid () && call set UUID=%^?%
34
map --heads=0 --sectors-per-track=0 %isopath% (0xff)
35
map --hook
36
root (0xff)
37
# для режима 'copytoram' дописать в kernel-строку - copytoram
38
kernel (0xff)/arch/boot/x86_64/vmlinuz-linux img_dev=/dev/disk/by-uuid/%UUID% img_loop=%isopath%  earlymodules=loop
39
initrd (0xff)/arch/boot/x86_64/archiso.img
40

    
41
###########
42

    
43

    
(18-18/23)