Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
我想问下grub问题谁能否解答下
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
not_halt
n00b
n00b


Joined: 18 Jul 2008
Posts: 1

PostPosted: Fri Jul 18, 2008 5:28 pm    Post subject: 我想问下grub问题谁能否解答下 Reply with quote

default 0
timeout 15
pager on

title gentoo
kernel /boot/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot vga=791
initrd /boot/gentoo.igz

下划线的这几句是什么意思。在gurb中有什么用?
Back to top
View user's profile Send private message
druggo
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 269
Location: Hangzhou, China

PostPosted: Sat Jul 19, 2008 1:31 pm    Post subject: Reply with quote

和grub没什么关系,那些都是传递给内核的参数
_________________
HighWayToHell(blog)
http://blog.druggo.org/
Back to top
View user's profile Send private message
jiangtao
n00b
n00b


Joined: 16 Mar 2004
Posts: 63
Location: The People's Republic of China

PostPosted: Tue Jul 22, 2008 9:13 am    Post subject: Re: 我想问下grub问题谁能否解答下 Reply with quote

not_halt wrote:
default 0
timeout 15
pager on

title gentoo
kernel /boot/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot vga=791
initrd /boot/gentoo.igz

下划线的这几句是什么意思。在gurb中有什么用?

init= 后面会传递给内核作为 initscript 。也就是 PID 为 1 的那个顶极进程。

dokeymap 和后面两个都应该是给 initscript 的参数。
dokeymap 估计是设置 initscript 启动是设置键盘布局。
looptype 和后面的 loop 应该是告诉 initscript 挂载 loog= 的这个 loopback 设备(就是一个squashfs 镜像文件)。looptype 提供的是这个 loopback 的分区类型。
_________________
Oh...Can I Speak in Chinese ?
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