Chinaunix首页 | 论坛 | 博客
  • 博客访问: 570326
  • 博文数量: 826
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5015
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-22 18:09
文章分类

全部博文(826)

文章存档

2011年(1)

2008年(825)

我的朋友

分类: LINUX

2008-08-22 18:13:12

 
  装完FC6后,在进行一些其它的设置

  1.加入其它一些有用的yum源方便以后的安装。

  使用如下命令加入

     rpm-ivhlivna-release-6.rpm
     fedora/6/i386/浏览该源提供的软件包。

  2.使系统能挂载ntfs分区。

  输入命令:

     yum-yinstallkmod-ntfs

  即可安装好,你现在即可挂载windows的ntfs分区了。这个过程有可能很长,看源的速度了。

  3.挂载windows分区

  为方便其见,我们将挂载分区的设为开机自动挂载,即写入/etc/fstab。现查看你的分区状况(据有如下的形式):

     [root@localhost~]#fdisk-l

     Disk/dev/hda:80.0GB,80026361856bytes
     255heads,63sectors/track,9729cylinders
     Units=cylindersof16065*512=8225280bytes

     DeviceBootStartEndBlocksIdSystem
     /dev/hda1*11305104823817HPFS/NTFS
     /dev/hda21306972967665780fW95Ext''d(LBA)
     /dev/hda513065874367004617HPFS/NTFS
     /dev/hda65875777115237621bW95FAT32
     /dev/hda77772966315197458 83Linux
     /dev/hda89664972852208182Linuxswap/Solaris

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

     /dev/hda1/mnt/wincntfsdefaults00
     /dev/hda5/mnt/windntfsdefaults00
     /dev/hda6/mnt/winevfatdefaults00

  这样开机的时候,linux就可以加在windows分区了。如你想现在就挂载,输入命令

  mount-a。

  4.加在iso源取代网络源

  用我昨天的方法,可以实现从光盘安装软件包,而不必通过网络了,速度快了很多。补充一点,昨天的挂载可以写成可执行文件,省得每次输入5个挂载命令。

  将昨天的命令

     mount-r-oloop/mnt/wine/FC-6-i386-disc1.iso/mnt/fc61
     mount-r-oloop/mnt/wine/FC-6-i386-disc2.iso/mnt/fc62
     mount-r-oloop/mnt/wine/FC-6-i386-disc3.iso/mnt/fc63
     mount-r-oloop/mnt/wine/FC-6-i386-disc4.iso/mnt/fc64
     mount-r-oloop/mnt/wine/FC-6-i386-disc5.iso/mnt/fc65

  存为mount_iso文件,然后运行chmoda x/mnt/mount_iso使其成为可执行文件。

  为方便以后卸载iso文件,仍然输入下列命令:

     umount/mnt/wine/FC-6-i386-disc1.iso/mnt/fc61
     umount/mnt/wine/FC-6-i386-disc2.iso/mnt/fc62
     umount/mnt/wine/FC-6-i386-disc3.iso/mnt/fc63
     umount/mnt/wine/FC-6-i386-disc4.iso/mnt/fc64
     umount/mnt/wine/FC-6-i386-disc5.iso/mnt/fc65

  存为umount_iso文件,然后运行chmoda x/mnt/umount_iso使其成为可执行文件。

  余下的设置ISO源的步骤与昨天一样。

阅读(328) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~