View previous topic :: View next topic |
Author |
Message |
yux2004 n00b
Joined: 19 May 2005 Posts: 20
|
Posted: Tue Jun 14, 2005 4:10 pm Post subject: 怎样通过windows启动Gentoo |
|
|
各位大侠:
小弟现在已经装好了Gentoo,但是我又不想装lilo,我想通过windows来启动Gentoo,不知道应该怎么做,请指教!谢谢 |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Wed Jun 15, 2005 1:41 am Post subject: Re: 怎样通过windows启动Gentoo |
|
|
yux2004 wrote: | 各位大侠:
小弟现在已经装好了Gentoo,但是我又不想装lilo,我想通过windows来启动Gentoo,不知道应该怎么做,请指教!谢谢 |
你还是需要安装 lilo 或 grub ,这样才能利用 NT loader 启动 gentoo。
如果你机器有两个硬盘的话,可以这样解决,安装 lilo 或 grub 到 /dev/hdb or /dev/sdb 。这里假定 lilo 安装到了 /dev/hdb,/mnt/winxp 为你的 windows 根目录, 运行命令:
Code: | dd if=/dev/hdb of=/mnt/winxp/gentoo.lin count=1 bs=512 |
添加一个语句到 /mnt/winxp/boot.ini
Code: | echo "c:\\gentoo.lin=\"gentoo\"" >> /mnt/winxp/boot.ini |
如果你是一个硬盘的话,类似,安装 lilo 或 grub 到 /dev/hda[1-9],也就是你安装 gentoo 的那个区。
Last edited by ts on Wed Jun 15, 2005 3:55 am; edited 1 time in total |
|
Back to top |
|
|
yux2004 n00b
Joined: 19 May 2005 Posts: 20
|
Posted: Wed Jun 15, 2005 3:44 am Post subject: 谢谢 |
|
|
谢谢指教,回去试试。 |
|
Back to top |
|
|
ts Tux's lil' helper
Joined: 15 Dec 2004 Posts: 97
|
Posted: Wed Jun 15, 2005 3:57 am Post subject: Re: 谢谢 |
|
|
yux2004 wrote: | 谢谢指教,回去试试。 |
哦,对不起,刚才漏了两个参数,差一点让你备份整个硬盘了。
注意改过的帖子。 |
|
Back to top |
|
|
lit40 n00b
Joined: 29 Nov 2004 Posts: 8 Location: china
|
Posted: Thu Jun 16, 2005 11:24 am Post subject: |
|
|
may be you can try wingrub
Quote: | GRUB for DOS is the dos extension of GRUB. It enables dos users to run the configuration console directly in real mode. The project also contains an utility called WINGRUB, an GUI intends to help configuring and installing GRUB in the WINDOWS environment |
http://sourceforge.net/projects/grub4dos |
|
Back to top |
|
|
dundas Guru
Joined: 16 Dec 2004 Posts: 317 Location: China, Earth
|
Posted: Thu Jun 23, 2005 10:07 am Post subject: solved |
|
|
请问,我setup grub的时候,应该把grub安装于哪一个linux的分区里面?
/boot?
/?
or anywhere?
我记得装fc4的时候好像是装在了/boot里面吧, gentoo也是吗?
谢谢先!
-------------装入/boot
成功了 |
|
Back to top |
|
|
|