红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

Xubuntu下怎么能看到其他盘?

发布时间:2008-06-08 21:51:23来源:红联作者:wwg01
请教,本人很菜,刚装了个XP和Xubuntu双系统,想问各位高手Xubuntu下怎么能看到其他盘?
文章评论

共有 3 条评论

  1. lu616 于 2010-03-01 16:40:28发表:

    Xubuntu自动挂载win分区
    伟大的linux 2009-05-24 07:59:12 阅读243 评论0 字号:大中小
    我的系统ubuntu9.04,安装了xubuntu桌面,发现不能自动挂载win的分区。
    目的:在每次开机之后系统自动挂载win分区(本文以挂载Fat32分区为例)
    1.首先 建立挂载目录用于自动挂载windows的分区

    在终端运行命令:

    sudo mkdir /mnt/D
    sudo mkdir /mnt/E
    sudo mkdir /mnt/F

    2.运行

    sudo fdisk -l
    查看磁盘分区情况, 下面以我的硬盘为例:


    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa970a970

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1912 15358108+ c W95 FAT32 (LBA)
    /dev/sda2 1913 18090 129949785 f W95 Ext'd (LBA)
    /dev/sda5 1913 4827 23414706 7 HPFS/NTFS
    /dev/sda6 4828 7440 20988891 b W95 FAT32
    /dev/sda7 11202 18090 55335861 7 HPFS/NTFS
    /dev/sda8 10992 11201 1686793+ 82 Linux swap / Solaris
    /dev/sda9 7441 10991 28523376 83 Linux


    相对应的 sda5为windows下的D盘
    sda6为windows下的E盘
    sda7为windows下的F盘

    3.运行
    sudo vi etc/fstab #修改/etc/fstab配置文件,添加如下内容(橙色字体部分)
    要注意分区格式!
    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    #
    proc /proc proc defaults 0 0
    # / was on /dev/sda9 during installation
    UUID=92067759-7920-499e-9219-cdf81d3abf38 / ext3 relatime,errors=remount-ro 0 1
    # swap was on /dev/sda8 during installation
    UUID=8357cde2-432d-415f-a519-e09eaaf71d59 none swap sw 0 0
    /dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    /dev/sda5 /mnt/D ntfs iocharset=utf8,umask=000 0 0
    /dev/sda6 /mnt/E vfat iocharset=utf8,umask=000 0 0
    /dev/sda7 /mnt/F ntfs iocharset=utf8,umask=000 0 0

    保存退出reboot,一切顺利的话,在文件系统中你就可以访问windows分区了。

  2. changcheng 于 2008-06-09 15:22:25发表:

    我也同样问题,双系统,你也装的是XUBUNTU804吧?
    很奇怪的是,以前我装的是710的能直接看XP的分区,现在重新装了更高级版本的804居然不能看了。
    据说要用mount -a 命令。
    我也期待这个问题能尽快解决。
    楼主如果找到方法记得回复一下,先谢谢了

    [ 本帖最后由 changcheng 于 2008-6-9 15:25 编辑 ]

  3. wwg01 于 2008-06-08 22:01:09发表:

    高手们睡觉了?(5ty(