|
楼主我还想问一下这个是啥情况啊
submenu 'Advanced options for Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-5c3592b3-950e-4d56-a546-5e74d300ae5d' {
menuentry 'Kali GNU/Linux,Linux 4.14.0-kali3-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.0-kali3-amd64-advanced-5c3592b3-950e-4d56-a546-5e74d300ae5d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos2
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 5c3592b3-950e-4d56-a546-5e74d300ae5d
else
search --no-floppy --fs-uuid --set=root 5c3592b3-950e-4d56-a546-5e74d300ae5d
fi
echo '载入 Linux 4.14.0-kali3-amd64 ...'
linux /boot/vmlinuz-4.14.0-kali3-amd64 r
oot=/dev/sdc2 ro initrd=/install/gtk/initrd.gz quiet
echo '载入初始化内存盘...'
initrd /boot/initrd.img-4.14.0-kali3-amd64
}
menuentry 'Kali GNU/Linux, with Linux 4.14.0-kali3-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.0-kali3-amd64-recovery-5c3592b3-950e-4d56-a546-5e74d300ae5d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos2
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 5c3592b3-950e-4d56-a546-5e74d300ae5d
else
search --no-floppy --fs-uuid --set=root 5c3592b3-950e-4d56-a546-5e74d300ae5d
fi
echo '载入 Linux 4.14.0-kali3-amd64 ...'
linux /boot/vmlinuz-4.14.0-kali3-amd64 root=/dev/sdc2 ro single initrd=/install/gtk/initrd.gz
echo '载入初始化内存盘...'
initrd /boot/initrd.img-4.14.0-kali3-amd64
}
}
这个是在虚拟机上kali linux的grub引导程序里边写的被我照搬了一下,结果就各种found
|
|