Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all, I have installed debian on my laptop, but unfortunately I am not able to access the windows partion. When I try to access that partition I get: libhal-storage.c ...
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3

    Windows Partition



    Hi all,

    I have installed debian on my laptop, but unfortunately I am not able to access the windows partion.

    When I try to access that partition I get:

    libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set.

    process 4193: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application.

    error: device /dev/hda1 is not removable

    error: could not execute pmount

    How can I fix that?

    Many thanks in advance for any help!

    And

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Hi and Welcome !

    Execute this
    Code:
    su
    fdisk -l
    Post output here. Post the contents of /etc/fstab file too.
    Code:
    cat /etc/fstab
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3
    Quote Originally Posted by devils_casper View Post
    Hi and Welcome !

    Execute this
    Code:
    su
    fdisk -l
    Post output here. Post the contents of /etc/fstab file too.
    Code:
    cat /etc/fstab
    fdisk -l

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

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 4462 35840983+ 7 HPFS/NTFS
    /dev/hda2 4463 9507 40523962+ 83 Linux
    /dev/hda3 9508 9729 1783215 5 Extended
    /dev/hda5 9508 9729 1783183+ 82 Linux swap / Solaris

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda2 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda5 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0


    Thanks for any help!

  4. #4
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397

    Cool

    Hey,
    You have NTFS partition on windows for that you need to download and install ntfs-3g software. Try googling on net you will find it.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Execute this
    Code:
    su 
    mkdir /mnt/windows
    mount -t ntfs /dev/hda1 /mnt/windows -o defaults,umask=0
    Check /mnt/windows folder.
    If mount command throws any error, post exact error message here.

    If everything works fine, add an entry of /dev/hda1 in /etc/fstab file to automount it at boot up.
    Code:
    su
    nano /etc/fstab
    Add this code at the end of file
    Code:
    /dev/hda1  /mnt/windows  ntfs  defaults,umask=0 0 0
    Save file ( Press Ctrl+X, y and hit Enter key ).

    Debian supports NTFS read access only. Install ntfs-3g package to enable NTFS write access. Check here for instructions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    EDIT:
    casper was faster than me

    your windows partition isn't appear in your fstab

    as root
    mkdir /media/win
    mount -t ntfs /dev/hda1 /media/win

    if it work add your /etc/fstab
    open fstab with your favorit editor and add this line
    Code:
    /dev/hda1 /media/win ntfs ro,users,umask=222 0 0

  7. #7
    Just Joined!
    Join Date
    Aug 2007
    Posts
    3
    Quote Originally Posted by iwanabeguru View Post
    EDIT:
    casper was faster than me

    your windows partition isn't appear in your fstab

    as root
    mkdir /media/win
    mount -t ntfs /dev/hda1 /media/win

    if it work add your /etc/fstab
    open fstab with your favorit editor and add this line
    Code:
    /dev/hda1 /media/win ntfs ro,users,umask=222 0 0
    Thank you very much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •