LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 669|回复: 6

问两个弱问题

[复制链接]
发表于 2005-8-22 13:32:31 | 显示全部楼层 |阅读模式
1.我的c盘是ntfs文件系统,用mount语句时,无法加载,这是不是跟内核没有编译ntfs系统有关系?
mount -t ntfs /dev/hda1 /mnt/c
提示大概这个样子,ntfs不认识. 大家帮忙看看这是什么原因?怎么修正?
2.我的grub默认的是linux,怎样让默认选择window,好象有个语句叫makeactive什么的,记不太清楚了,谁能指导一下,谢谢!
发表于 2005-8-22 13:39:44 | 显示全部楼层
1、内核要有ntfs文件系统的读支持才可以mount,重新config并编译一下内核吧,很简单的。
2、在grub.conf中增加windows引导项,例如:
title=Windows2000
root (hd0,0)
makeactive
chainloader (hd0,0)+1
回复 支持 反对

使用道具 举报

发表于 2005-8-22 14:34:52 | 显示全部楼层
我想问一下中间那个makeactive 是什么意思,以前都没有这个参数的??


Post by welans
1、内核要有ntfs文件系统的读支持才可以mount,重新config并编译一下内核吧,很简单的。
2、在grub.conf中增加windows引导项,例如:
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-22 17:49:04 | 显示全部楼层
我的有window引导,只是不是默认的选项,我想将它设置位默认的该怎么设?
回复 支持 反对

使用道具 举报

发表于 2005-8-22 17:52:44 | 显示全部楼层
default 0
改成
default 1
如果你的Windows的选项在第二个的话。
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
楼主不看手册的么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-22 18:48:16 | 显示全部楼层
惭愧:(
回复 支持 反对

使用道具 举报

发表于 2005-8-22 19:01:15 | 显示全部楼层
Post by wheatfish
我想问一下中间那个makeactive 是什么意思,以前都没有这个参数的??


First line:   the title for selection

second line: specify the boot partition for windows

third line: activate the bootable flag of the partition

forth line: load the content of the boot sector into memory, to execute the code of boot sector. these code will be used as kernel loader to look for and load the windows kernel into memory. This is so-called "chain loader technique".

for Unix/Linux system, boot sector is of no too much use, GRUB can look for the kernel and load the kernel directly. but it can not load windows kernel into memory, so GRUB will load the boot loader of windows into memory, then let it to load windows. this is why " chain loader +1"


may be misleading, I am also newbie to gentoooooooo.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表