Arch在虚拟机遇到的GRUB问题
linux吧
全部回复
仅看楼主
level 11
GhosTBade
楼主
老司机快来带我飞
2015年09月20日 03点09分
1
level 11
GhosTBade
楼主
老司机在哪里
2015年09月20日 04点09分
2
level 13
伊斯坦布尔选帝侯
自行wiki
滑稽用的这么纯熟,究竟谁是老司机……
2015年09月20日 04点09分
3
GhosTBade
wiki的命令用了不行
2015年09月20日 04点09分
Guanrenfu
2015年09月20日 04点09分
level 11
Guanrenfu
等等!怎么会报这个错误?赶紧进live,看看/etc/fstab咋写的。这代表Grub装好了但是找不到设备而已。
2015年09月20日 04点09分
4
GhosTBade
Arch有live?
2015年09月20日 04点09分
Guanrenfu
@GhosTBade
你是用什么装系统的……
2015年09月20日 05点09分
GhosTBade
回复 Guanrenfu :当然Vm
2015年09月20日 05点09分
Guanrenfu
@GhosTBade
我是说你装系统用的iso不就是live么?
2015年09月20日 05点09分
level 11
192_127_25_x
@老司机
有人想叫你带它飞
2015年09月20日 05点09分
5
GhosTBade
66666
2015年09月20日 05点09分
level 13
伊斯坦布尔选帝侯
set prefix=(hdX,Y)/boot/grub
set root=(hdX,Y)
insmod normal
normal
insmod linux
linux /boot/vmlinuz-linux root=/dev/sdaY
initrd /boot/initramfs-linux.img
boot
2015年09月20日 05点09分
6
GhosTBade
小白完全 看不懂。。
2015年09月20日 05点09分
level 11
GhosTBade
楼主
@Guanrenfu
2015年09月20日 05点09分
7
伊斯坦布尔选帝侯
好干净……你真的是按照wiki装的吗?genfstab -U>>/etc/fstab
2015年09月20日 05点09分
GhosTBade
@伊斯坦布尔选帝侯
绝逼是
2015年09月20日 05点09分
Guanrenfu
@GhosTBade
那么,这是mint的/etc/fstab还是你的arch的?
2015年09月20日 05点09分
GhosTBade
回复 Xelnagaman :这命令有>>什么意思
2015年09月20日 05点09分
level 14
大魔导师🍀
在grub shell界面,可以手动修复的。
先ls 找到你安装的分区
再set root = 具体的grub目录,
然后set perfix = 之前的目录
最后insmod
2015年09月20日 05点09分
8
GhosTBade
仁兄 我看不懂啊
2015年09月20日 05点09分
大魔导师🍀
@GhosTBade
当我没说
2015年09月20日 06点09分
GhosTBade
回复 292319079 :老司机别这样
总之先脸熟我
2015年09月20日 06点09分
大魔导师🍀
@GhosTBade
我并不是老司机
2015年09月20日 06点09分
level 7
花开一宿飘香N
我觉得还是live进去mount再genfstab试试?
2015年09月20日 05点09分
9
level 11
Guanrenfu
正解,这是语法:
2015年09月20日 05点09分
10
GhosTBade
我有点迷茫
2015年09月20日 05点09分
Guanrenfu
@GhosTBade
第一列是分区的uuid,某个文件夹里可以查到。第二列是挂载点、第三列是文件系统、第四列什么的我也不知道。具体可以看ArchWiki
2015年09月20日 05点09分
GhosTBade
回复 Guanrenfu :改了并没卵用
2015年09月20日 05点09分
GhosTBade
回复 Guanrenfu :
2015年09月20日 05点09分
level 11
AutoRunAs
ls -l
看结果。
2015年09月20日 05点09分
11
GhosTBade
error unknown filesystem
2015年09月20日 05点09分
AutoRunAs
@GhosTBade
ls ? 自己百度 grub resscue
2015年09月20日 06点09分
GhosTBade
回复 AutoRunAs :
小白跟不上老司机的脚步
2015年09月20日 06点09分
level 1
imtinge
用官方镜像启动
把该mount的mount了
然后
genfstab /mnt > /mnt/etc/fstab
arch-root /mnt
grub-mkconfig -o /boot/grub/grub.cfg
2015年09月20日 06点09分
12
GhosTBade
我决定重新折腾了
2015年09月20日 06点09分
level 14
依呀✨
这个是grub.cfg的问题。。说什么fstab
✎﹏﹏
shy泠为您报时: 2015年09月20日 周日 15时08分09秒009毫秒
2015年09月20日 07点09分
13
GhosTBade
解决了
在老司机的带领下
2015年09月20日 07点09分
1