[Ubuntu-zh] 完,删除burg后不能引导系统了,网上的办法都不行,彻底杯具了!

石康志 shikangzhi在gmail.com
星期二 九月 21 07:39:17 BST 2010


# mount -t proc proc /mnt/ubuntu/proc
# mount -o bind /sys /mnt/ubuntu/sys
# mount -o bind /dev/ /mnt/ubuntu/dev

这三部也要做,将live系统的内核信息挂到主机上。

在 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/4e0ea1a1/attachment.htm 


关于邮件列表 ubuntu-zh 的更多信息