QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 935|回复: 11

ML1.2pre5升级到2.6.4出现奇怪的问题

[复制链接]
发表于 2004-4-3 23:46:07 | 显示全部楼层 |阅读模式
今天刚刚把内核升到了2.6.4,现在出现一些怪问题:
1、我的/home在单独的一个分区,是reiserfs格式的。内核升级完后发现/home里的文件夹变成了安装ml1.2pre5之前的数据。我安装ml1.2pre5前用的是fedora core1,安装ml1.2pre5时没有格式化/home。
2、升级完后我原来ntfs分区里的一些文件和文件夹在linux下看不到了(fedora下也正好是这些文件和文件夹看不到),升级前还是能看到的。
各位老大看看这是什么原因啊
发表于 2004-4-4 01:15:08 | 显示全部楼层
自己编译的?
回复

使用道具 举报

发表于 2004-4-4 08:27:41 | 显示全部楼层
你自己编译的内核没有把nls里面的cp936选上吧。
回复

使用道具 举报

 楼主| 发表于 2004-4-4 21:02:33 | 显示全部楼层
我是按照精华区的这篇文章装的: 安装kernel 2.6.4的整个过程。
刚开始学编内核,make xconfig看得我眼都花了! ^_^
确实没有把nls里面的cp936选上,第二个问题解决了,第一个到底是什么回事呢?
刚才用2.6.0进去看了一下,发现/home里的文件又回来了,但是回2.6.4里/home还是fedora core1时的文件。
回复

使用道具 举报

发表于 2004-4-4 21:07:13 | 显示全部楼层
/home在单独的分区?什么文件系统?
可能是没有把相应的文件系统的支持加入内核吧。
回复

使用道具 举报

 楼主| 发表于 2004-4-4 21:16:17 | 显示全部楼层
/home是单独分区,reiserfs格式
我在文件系统里面好像没有看到关于reiserfs的选项
如果是没有把相应的文件系统的支持加入内核,那我怎么还能在2.6.4里访问/home呢
回复

使用道具 举报

发表于 2004-4-5 10:08:51 | 显示全部楼层
That's quite nature, however u mount /home or not, it can be accessed.
回复

使用道具 举报

 楼主| 发表于 2004-4-5 20:55:45 | 显示全部楼层
可我还是不明白为什么两个内核里看到的/home的文件不一样
回复

使用道具 举报

发表于 2004-4-6 10:29:03 | 显示全部楼层
before you install ML, you have /home mounted under Fedora, with
some data, when you are installing ML, actually you HAVE NOT
mounted that "/home partition" due to missing reiserfs support in
kernel 2.6.0, after you upgrading to 2.6.4, you have added back
reiserfs support, so you now CAN MOUNT /home, so actually when
you are using 2.6.0, you are putting data on the partition same
as your "/" partition, and under 2.6.4 kernel, since "/home"
CAN be mounted, you can see Fedora's "/home" data in it.
回复

使用道具 举报

 楼主| 发表于 2004-4-6 13:02:52 | 显示全部楼层
[quote:2977b45374="lazyfai"]before you install ML, you have /home mounted under Fedora, with
some data, when you are installing ML, actually you HAVE NOT
mounted that "/home partition" due to missing reiserfs support in
kernel 2.6.0, after you upgrading to 2.6.4, you have added back
reiserfs support, so you now CAN MOUNT /home, so actually when
you are using 2.6.0, you are putting data on the partition same
as your "/" partition, and under 2.6.4 kernel, since "/home"
CAN be mounted, you can see Fedora's "/home" data in it.[/quote]

你的意思是不是这样子:我2.6.0下/home的文件实际上不在我原来那个/home的分区里,而是在/下的另外一个/home文件夹里?
回复

使用道具 举报

发表于 2004-4-6 14:48:54 | 显示全部楼层
yes! to see if i am correct, do this:
boot to 2.6.0, login as root, type "mount", see the output
and then boot to 2.6.4, login as root, type "mount",
see the output again.
you should see something like
/dev/hda4 on /home type reiserfs (rw)
under 2.6.4 but not under 2.6.0.

PS. sorry 对不起,我只能打英文,简体打的不太好。

[quote:1c9d747f00="tozzq"][quote:1c9d747f00="lazyfai"]before you install ML, you have /home mounted under Fedora, with
some data, when you are installing ML, actually you HAVE NOT
mounted that "/home partition" due to missing reiserfs support in
kernel 2.6.0, after you upgrading to 2.6.4, you have added back
reiserfs support, so you now CAN MOUNT /home, so actually when
you are using 2.6.0, you are putting data on the partition same
as your "/" partition, and under 2.6.4 kernel, since "/home"
CAN be mounted, you can see Fedora's "/home" data in it.[/quote]

你的意思是不是这样子:我2.6.0下/home的文件实际上不在我原来那个/home的分区里,而是在/下的另外一个/home文件夹里?[/quote]
回复

使用道具 举报

发表于 2004-4-6 15:45:38 | 显示全部楼层
[quote:eca591faba="tozzq"]你的意思是不是这样子:我2.6.0下/home的文件实际上不在我原来那个/home的分区里,而是在/下的另外一个/home文件夹里?[/quote]
正解
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-25 15:41 , Processed in 0.047360 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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