|
本帖最后由 liuzhaoyzz 于 2021-12-29 14:54 编辑
大神们有空请看下
724楼http://wuyou.net/forum.php?mod=r ... 5672&fromuid=298214
到758楼http://wuyou.net/forum.php?mod=r ... 5672&fromuid=298214
是怎么回事?高分辨率2880x1800的MAC,MACBOOK PRO 2017版
1、g4e
引导RICH-RAMOS-20211218-04741.vdf文件,Booting "RICH-RAMOS-20211218-04741.vdf" (HD0,0) (HD0,3) 提示Error 16(http://grub4dos.chenall.net/e/16) Inconsistent filesystem structure Press any key continue...
graphicsmode -1 800:7680
#foreground FFFFFF
#background 0000AD
find --set-root /EFI/grub/unifont.hex.gz
font --font-high=40 /efi/grub/menu40.hex.gz
#ctrl+alt+f12=ScreenShot,save in FAT32 partition
#load -n /EFI/grub/CrScreenshotDxe.efi
#color white/blue blue/yellow light-red/blue 10
#color normal=0x07 highlight=0xF1 helptext=0x07 heading=0x02 standard=0x07 border=0x09
color normal=0x07 highlight=0xE1 helptext=0x07 heading=0x02
#terminal_output gfxterm
timeout 3
default 0
title RICH-RAMOS-20211220-22541.vdf
find --ignore-floppies --ignore-cd --set-root /EFI/grub/ntfs_x64.efi
load /EFI/grub/ntfs_x64.efi
find --ignore-floppies --ignore-cd --set-root /TUHAO0/RICH-RAMOS-20211220-22541.vdf
map /TUHAO0/RICH-RAMOS-20211220-22541.vdf (hd)
chainloader (hd-1)
title RICH-RAMOS-20211220-22541.vdf-chainloader-ntloader
find --ignore-floppies --ignore-cd /EFI/grub/ntloader | set bd= ;; echo bd=%bd%
find --ignore-floppies --ignore-cd --set-root /TUHAO0/RICH-RAMOS-20211220-22541.vdf
map /TUHAO0/RICH-RAMOS-20211220-22541.vdf (hd)
uuid (hd-1,0)
chainloader %bd%/EFI/grub/ntloader initrd=/EFI/grub/initrd.lz1 uuid=%?_UUID% hires=0
title RICH-RAMOS-20211220-18511.vdf
find --ignore-floppies --ignore-cd --set-root /EFI/grub/ntfs_x64.efi
load /EFI/grub/ntfs_x64.efi
find --ignore-floppies --ignore-cd --set-root /RAMOS/RICH-RAMOS-20211220-18511.vdf
map /RAMOS/RICH-RAMOS-20211220-18511.vdf (hd)
chainloader (hd-1)
title RICH-RAMOS-20211220-18511.vdf-chainloader-ntloader
find --ignore-floppies --ignore-cd /EFI/grub/ntloader | set bd= ;; echo bd=%bd%
find --ignore-floppies --ignore-cd --set-root /RAMOS/RICH-RAMOS-20211220-18511.vdf
map /RAMOS/RICH-RAMOS-20211220-18511.vdf (hd)
uuid (hd-1,0)
chainloader %bd%/EFI/grub/ntloader initrd=/EFI/grub/initrd.lz1 uuid=%?_UUID% hires=0
title RICH-RAMOS-20211219-23181.vdf
find --ignore-floppies --ignore-cd --set-root /EFI/grub/ntfs_x64.efi
load /EFI/grub/ntfs_x64.efi
find --ignore-floppies --ignore-cd --set-root /RAMOS/RICH-RAMOS-20211219-23181.vdf
map /RAMOS/RICH-RAMOS-20211219-23181.vdf (hd)
chainloader (hd-1)
title RICH-RAMOS-20211219-23181.vdf-chainloader-ntloader
find --ignore-floppies --ignore-cd /EFI/grub/ntloader | set bd= ;; echo bd=%bd%
find --ignore-floppies --ignore-cd --set-root /RAMOS/RICH-RAMOS-20211219-23181.vdf
map /RAMOS/RICH-RAMOS-20211219-23181.vdf (hd)
uuid (hd-1,0)
chainloader %bd%/EFI/grub/ntloader initrd=/EFI/grub/initrd.lz1 uuid=%?_UUID% hires=0
title /EFI/Microsoft/Boot/bootmgfw.efi
find --set-root /EFI/Microsoft/Boot/bootmgfw.efi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
title 4 command line
commandline
title 5 reboot
2、grub2
search -n -s -f /boot/grub/grub.cfg
configfile /boot/grub/grub.cfg
卡死
CFG菜单如下:
set default=0
set fallback=1
set timeout=2
set pager=20
set grub_draw_border=1
#设定菜单字体及背景颜色
set menu_color_normal=white/black
set menu_color_highlight=white/blue
loopback -m ramdisk /boot/grub/unicode.xz
loadfont (ramdisk)/grub2/fonts/unicode.pf2
set locale_dir=(ramdisk)/grub2/locale
set lang=zh_CN
set gfxmode=2880x1800,auto
terminal_output gfxterm
#loadfont /boot/grub/fonts/unicode.pf2
#set locale_dir=/boot/grub/locale
#set lang=zh_CN
#set gfxmode=auto,800x600,1024x768
#terminal_output gfxterm
menuentry "RICH-RAMOS-20211220-22541.vdf-ntboot" "/TUHAO0/RICH-RAMOS-20211220-22541.vdf" {
search --no-floppy --set --file $2
map -n -l $2
ntboot --win --highest=no --efi=(vd0,1)/EFI/Microsoft/Boot/bootmgfw.efi --winload=\\Windows\\System32\\winload.efi (vd0,1)
}
menuentry "RICH-RAMOS-20211220-22541.vdf" "/TUHAO0/RICH-RAMOS-20211220-22541.vdf" {
search --no-floppy --set=ntfs --file /EFI/grub/ntfs_x64.efi
efiload ($ntfs)/EFI/grub/ntfs_x64.efi
search --no-floppy --set --file $2
map -l $2
}
|
|