[Ubuntu-zh] 完,删除burg后不能引导系统了,网上的办法都不行,彻底杯具了!
石康志
shikangzhi在gmail.com
星期二 九月 21 09:36:50 BST 2010
# mount -t proc proc /mnt/ubuntu/proc
# mount -o bind /sys /mnt/ubuntu/sys
# mount -o bind /dev/ /mnt/ubuntu/dev
这三个是要从live系统上挂载过来的,不能用真机的。chroot前执行
话说不chroot到真机可以将grub装到mbr否?应该是可行的吧?不过我没试过。这样就不用管什么挂载不挂载的了。你可以试试setup-grub
在 2010年9月21日 下午4:34,石康志 <shikangzhi在gmail.com>写道:
> chroot后其他命令好使吗?apt-get提示无法下载?
> pppd提示找不到/dev/modem,是不是没有把live系统的/dev挂过来?
>
> 在 2010年9月21日 下午2:47,fwoncn <fw.oncn在gmail.com>写道:
>
> splash画面以后 不管用 ctrl+alt+f1到f12都按遍了
>> 这个当初安装10.04的时候遇到过就尝试了很久都没解决,最后退回9.10再升级才解决的。
>> 现在既然已经走到这一步了,apt-get要能联网应该就能重新装上grub了,石兄看如何破之?
>>
>> 2010/9/21 石康志 <shikangzhi在gmail.com>
>>
>> > 引导花屏?是进Xwindow花屏吗?那么ctrl+alt+f1切换到终端啊
>> >
>> > 在 2010年9月21日 下午2:31,fwoncn <fw.oncn在gmail.com>写道:
>> >
>> > > 我的Ubuntu就安装在一个分区里面的(/dev/sda8),/usr /bin /etc /lib /sbin /dev
>> > >
>> >
>> 要怎么分别挂载啊?我是指,挂到什么路径?我没有那么分别挂载貌似还是可以用。刚才犯了个错,我打的apt(应该是apt-get),现在我想apt-get
>> > > install grub,但是没网络。原来在Ubuntu可以用pon dsl-provider联网的
>> > > #pon
>> > > /usr/sbin/pppd: In file /et/ppp/peers/provider: unrecognized option
>> > > '/dev/modem'
>> > > 这个地方是不是就是您说的/dev没挂载的原因?或者把/et/ppp/peers/provider文件改一下?总之,能上网就好了。
>> > >
>> > > PS,前面说过,我用Ubuntu10的引导要花屏,那位仁兄说的解决办法不行(或者是我没理解他的意思)。
>> > >
>> > > 2010/9/21 石康志 <shikangzhi在gmail.com>
>> > >
>> > > > mount要将/ /usr /bin /etc /lib /sbin /dev
>> > > 等必要的目录都挂载好,如果你仅仅是吧/home单独分区的话,直接挂载
>> > > > /
>> > > > 就行了。
>> > > > 挂载后更新下环境,文档里有。然后就成了ubuntu的环境了,用apt
>> > > >
>> > > > ubuntu的本机环境其实还是用ubuntu来引导比较放心
>> > > >
>> > > > 在 2010年9月21日 下午2:03,fwoncn <fw.oncn在gmail.com>写道:
>> > > >
>> > > > > 我现在按照石康志的流程这么做的
>> > > > > Gentoo LiveUSB引导后
>> > > > >
>> > > > > $ mkdir /mnt/ubuntu
>> > > > > $ mount /dev/sda8 /mnt/ubuntu
>> > > > > $ chroot /mnt/ubuntu (我这个不确定,是该这个路径还是/mnt/ubuntu/root)
>> > > > > 下面的事情我就不知道该怎么办了,
>> > > > > # emerge grub
>> > > > > /bin/sh emerge: not found
>> > > > > # apt
>> > > > > apt: error while loading shared libraries: libjii.so:
>> .............
>> > > > >
>> > > > > 2010/9/21 Aron Xu <happyaron.xu在gmail.com>
>> > > > >
>> > > > > > 其实随便用哪个发行版的 LiveCD/LiveUSB 都可以,只要能访问你硬盘的分区,如果你硬盘是 ext4 的就得用最近
>> 1-2
>> > > > > > 年的才能保证可用。进去之后 chroot 进硬盘上的系统,然后直接用里面的 dpkg 和 apt 就能修复你的 grub。
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > Regards,
>> > > > > > Aron Xu
>> > > > > > --
>> > > > > > ubuntu-zh mailing list
>> > > > > > ubuntu-zh在lists.ubuntu.com
>> > > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > > >
>> > > > > -------------- next part --------------
>> > > > > An HTML attachment was scrubbed...
>> > > > > URL:
>> > > > >
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/8bf0d8e4/attachment.html
>> > > > > --
>> > > > > ubuntu-zh mailing list
>> > > > > ubuntu-zh在lists.ubuntu.com
>> > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > > >
>> > > > -------------- 下一部分 --------------
>> > > > 一个HTML附件被移除...
>> > > > URL:
>> > > >
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/4be875be/attachment.html
>> > > > --
>> > > > ubuntu-zh mailing list
>> > > > ubuntu-zh在lists.ubuntu.com
>> > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > > >
>> > > -------------- next part --------------
>> > > An HTML attachment was scrubbed...
>> > > URL:
>> > >
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/d8c82f13/attachment.htm
>> > > --
>> > > ubuntu-zh mailing list
>> > > ubuntu-zh在lists.ubuntu.com
>> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >
>> > -------------- 下一部分 --------------
>> > 一个HTML附件被移除...
>> > URL:
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/267ff8dd/attachment.htm
>> > --
>> > ubuntu-zh mailing list
>> > ubuntu-zh在lists.ubuntu.com
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/07040e26/attachment.htm
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh在lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
>
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100921/002223eb/attachment.htm
关于邮件列表 ubuntu-zh 的更多信息