像是grub没有装好,可以尝试下面的方法(需要一个linux host)
1. mount你的/分区到/mnt(或者boot分区,如果是独立的),假设分区为/dev/sda1 (记得别把host os 所在hdd混淆了) #mount /dev/sdb1 /mnt 2. #grub-install --root-directory=/mnt dev/sdb (假设是grub2) 3. #reboot 会中断在grub处,得到grub> 提示符 4. grub> set root=(hd0,1) grub> linux /vmlinuz root=/dev/sdb1 grub> initrd /initrd.gz 这里的vmlinuz initrd.gz路径不一定是正确的,输入/后,按TAB,grub可以seek可能的文件,如果没有vmlinuz和initrd文件,可以重新设定root, set root=(hd1,1)等尝试。也可以使用ls命令打印分区,猜出可能的分区id再试。 5. 进入系统后,编辑grub.cfg,内容跟上面的一样。下次启动就不要输入了。 2011/4/30 Pointer Royden <[email protected]> > 好吧问一下~ 我的8G U盘,里面装了arch以后为什么无法引导啊………… 没有任何输出,黑屏,只有一个光标…… > > 在 2011年4月30日 下午4:43,Jiahua Huang <[email protected]>写道: > > > 你说的是早期几十 M 的 U 盘吧…… > > > > 我的 2G、4G、8G U 盘全是有分区表的, > > 尽管里边只是一个 VFAT 或 NTFS 分区。 > > > > 2011/4/29 tvdbukrf inuyasha <[email protected]>: > > > 大部分U盘貌似不支持分区~你强行分了也会认不出,各种问题 > > > > > -- > > ubuntu-zh mailing list > > [email protected] > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh > > > -------------- 下一部分 -------------- > 一个HTML附件被移除... > URL: < > https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110430/f147ee62/attachment.html > > > -- > ubuntu-zh mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh > -- Regards, David -------------- 下一部分 -------------- 一个HTML附件被移除... URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110501/40daf7d6/attachment.html> -- ubuntu-zh mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
