Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
怎样通过windows启动Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
yux2004
n00b
n00b


Joined: 19 May 2005
Posts: 20

PostPosted: Tue Jun 14, 2005 4:10 pm    Post subject: 怎样通过windows启动Gentoo Reply with quote

各位大侠:
小弟现在已经装好了Gentoo,但是我又不想装lilo,我想通过windows来启动Gentoo,不知道应该怎么做,请指教!谢谢
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Wed Jun 15, 2005 1:41 am    Post subject: Re: 怎样通过windows启动Gentoo Reply with quote

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
View user's profile Send private message
yux2004
n00b
n00b


Joined: 19 May 2005
Posts: 20

PostPosted: Wed Jun 15, 2005 3:44 am    Post subject: 谢谢 Reply with quote

谢谢指教,回去试试。
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Wed Jun 15, 2005 3:57 am    Post subject: Re: 谢谢 Reply with quote

yux2004 wrote:
谢谢指教,回去试试。


哦,对不起,刚才漏了两个参数,差一点让你备份整个硬盘了。8O

注意改过的帖子。
Back to top
View user's profile Send private message
lit40
n00b
n00b


Joined: 29 Nov 2004
Posts: 8
Location: china

PostPosted: Thu Jun 16, 2005 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Thu Jun 23, 2005 10:07 am    Post subject: solved Reply with quote

请问,我setup grub的时候,应该把grub安装于哪一个linux的分区里面?
/boot?
/?
or anywhere?

我记得装fc4的时候好像是装在了/boot里面吧, gentoo也是吗?


谢谢先!


-------------装入/boot
成功了
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum