关于GRUB的疑问
发表于 : 2014-08-08 12:38
为什么debian下的GRUB会检测到其它系统,而arch下的GRUB安装完后只有arch,没有发现其它系统?
注:我的电脑里有WIN7,debian,arch
注:我的电脑里有WIN7,debian,arch
debian :debian下的GRUB会检测到其它系统
arch :arch下的GRUB安装完后只有arch
嗯嗯 回家看看,你这么一说,我有个疑问,我的电脑里有win7,debian6.0 arch这三个系统嘛,在debian下有grub,在arch下有grub,那不是有两个grub了吗?而grub我是安装的MBR上的,那不是应该只有一个引导吗?poloshiao 写了:debian :debian下的GRUB会检测到其它系统
sudo ls -al /etc/grub.d | grep 30_os-prober
看看 有沒有這個檔案arch :arch下的GRUB安装完后只有arch
sudo ls -al /etc/grub.d | grep 30_os-prober
看看 有沒有這個檔案
每次執行 sudo grub-install /dev/sdk # /dev/sdk 最優先開機硬盤在debian下有grub,在arch下有grub,那不是有两个grub了吗?而grub我是安装的MBR上的,那不是应该只有一个引导吗?
嗯嗯 明白了,debian的GRUB界面要漂亮很多,arch的一片黑。。。不过普通的PNG好像不能当作GRUB背景,要是可以就好了~~poloshiao 写了:每次執行 sudo grub-install /dev/sdk # /dev/sdk 最優先開機硬盤在debian下有grub,在arch下有grub,那不是有两个grub了吗?而grub我是安装的MBR上的,那不是应该只有一个引导吗?
就會覆蓋掉以前安裝在 /dev/sdk 的 grub
所以 目前在 /dev/sdk 的 grub 就是來自 你最近執行
sudo grub-install /dev/sdk
所在的作業系統
補充
每顆硬盤 都有一個 唯一的 MBR 可以安裝 grub
所以 不同的硬盤上面的 MBR 的 Grub
可以來自 不同的作業系統
但是 同一顆硬盤 只有一個 MBR 可以安裝一個 grub
grub 2 部份不过普通的PNG好像不能当作GRUB背景
嗯嗯 能请教个其它问题不poloshiao 写了:arch 跟 Ubuntu 差距不大不过普通的PNG好像不能当作GRUB背景
參閱
https://help.ubuntu.com/community/Grub2 ... ound_Image
GRUB 2 can use PNG, JPG/JPEG and TGA images for the background.
The image must meet the following specifications:
...
这个我看过 首先没有startx这个命令 其次无xinitrc这个配置文件 只有xinit.d这个文件夹
thank you for your help along the way!poloshiao 写了:https://wiki.archlinux.org/index.php/op ... vironments
檢查一下
你的 arch 是否預設什麼 桌面環境 ?
如果你不確定 請提供 arch 版本
或你下載的 ISO 全名
代码: 全选
echo 'exec openbox-session' >>~/.bash_profile
代码: 全选
pacman -S fcitx fcitx-sunpinyin
代码: 全选
pacman -S alsa-utils
要使用 startxecho 'exec openbox-session' >>~/.bash_profile
試試 安裝 fcitx-table-extrai haven't find the wubi
參閱but i still can't type chinese.
參閱there is no sound yet.
試試i want to install chrome
代码: 全选
systemctl start slim
代码: 全选
LANG=zh_CN.UTF8
export LANG
代码: 全选
systemctl start slim
代码: 全选
systemctl enable slim