2014.1.2 学习记录(fdisk、ntfs)

1、redhat5.8安装ntfs-3g(由于在普通pc上安装,linux与xp双系统,如今因linux分区容量不足,因而须要加载xp下的NTFS    分区)    一、下载地址:http://www.tuxera.com/community/ntfs-3g-download/    二、解压缩  tar -zxvf filename    三、进入解压缩后的目录    四、执行安装:        ./configure        make        make install     五、mount -t ntfs-3g /dev/sda5 /mnt/windows     六、开机自动加载:(未测试)        vi /etc/fstab        在最后添加:        /dev/sda1 /mnt/windows ntfs-3g defaults 0 0 2、fdisk使用详解:     一、首先要先选择须要操做的硬盘:fdisk -l     二、选择要操做的硬盘:好比fdisk /dev/sda     三、输入m,就是弹出帮助信息:     Command (m for help): m      Command action    a   toggle a bootable flag    b   edit bsd disklabel    c   toggle the dos compatibility flag    d   delete a partition    l   list known partition types    m   print this menu    n   add a new partition    o   create a new empty DOS partition table    p   print the partition table    q   quit without saving changes    s   create a new empty Sun disklabel    t   change a partition's system id    u   change display/entry units    v   verify the partition table    w   write table to disk and exit    x   extra functionality (experts only)        四、列出当前操做硬盘的分区状况,用p    五、经过fdisk的d指令来删除一个分区     注意:           删除分区时要当心,请看好分区的序号,若是您删除了扩展分区,扩展分区之下的逻辑分区都会删除;因此操做时必定要当心;若是知道本身操做错了,请不要惊慌,用q不保存退出;切记切记!!!!在分区操做错了之时,千万不要输入w保存退出!!!     六、经过fdisk的n指令增长一个分区     七、经过fdisk的t指令指定分区类型:83为linux文件类型     八、对分区进行格式化,以及加载(未测试)         例如:mkfs.ext3 /dev/sdb6
相关文章
相关标签/搜索