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
相關文章
相關標籤/搜索