鸟哥把/boot作为独立分区,所以他写的是这样的
splashimage=(hd0,0)/grub/splash.xpm.gz
我暂时认为(hd0,0)=/boot,所以上述内容替换之后就是
splashimage=/boot/grub/splash.xpm.gz
但我不确定我的猜想是否正确.
要是/boot为非独立分区呢?比如/boot与/在同一个文件系统中,这样的话(hd0,0)=/了,现在splashimage该怎么写?
是
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
还是
splashimage=(hd0,0)boot/grub/splash.xpm.gz
?
区别在于boot前面有没有斜杠/
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
我看了一下我的centos没有单分boot
splashimage=(hd0,0)/boot/grub/splash.xpm.gz如果没有斜杠的话,怪怪的...
这样写。splashimage=(hd0,0)/boot/grub/splash.xpm.gz
boot单独分区,很多情况下boot目录也会有boot子文件夹指向boot文件夹,所以很多时候boot单独分区也能这样写。