您的位置:首页 > Web前端

fedora core 5快速设置

2007-01-17 18:53 246 查看
1 使系统能挂载ntfs分区。

输入命令:

yum -y install kmod-ntfs

即可安装好,你现在即可挂载windows的ntfs分区了。

2 挂载windows分区。

为方便其见,我们将挂载分区的设为开机自动挂载,即写入/etc/fstab。

现查看你的分区状况(据有如下的形式):

[root@localhost temp]# fdisk -l

Disk /dev/hda: 61.4 GB, 61492838400 bytes

255 heads, 63 sectors/track, 7476 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/hda1 * 1 653 5245191 7 HPFS/NTFS

/dev/hda2 654 1632 7863817+ 83 Linux

/dev/hda3 1633 7476 46941930 f W95 Ext'd (LBA)

/dev/hda5 1633 1698 530113+ 82 Linux swap / Solaris

/dev/hda6 1699 2382 5494198+ 83 Linux

/dev/hda7 2383 3688 10490413+ 7 HPFS/NTFS

/dev/hda8 3689 4211 4200966 b W95 FAT32

/dev/hda9 4212 5517 10490413+ 7 HPFS/NTFS

/dev/hda10 5518 7476 15735636 7 HPFS/NTFS

现在知道了分区状况后,用gedit打开文件/etc/fstab加入:

/dev/hda1 /mnt/hda1 ntfs defaults 0 0

/dev/hda6 /mnt/hda6 ext3 defaults 0 0

/dev/hda7 /mnt/hda7 ntfs defaults 0 0

/dev/hda8 /mnt/hda8 vfat defaults 0 0

/dev/hda9 /mnt/hda9 ntfs defaults 0 0

/dev/hda10 /mnt/hda10 ntfs defaults 0 0

保存即可。以后开机后就可自动挂载好你的分区了。注意以上的内容要根据你的分区状况灵活变通哦。

如你想现在就挂载,输入命令

mount -a

即可。现在你可以去看看能不能访问你的windows分区了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: