Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
creating mount point for dos/windows directory on dual boot
Results 1 to 5 of 5

Thread: creating mount point for dos/windows directory on dual boot

  1. #1
    rioguia
    Guest

    creating mount point for dos/windows directory on dual boot

    I have tried creating mount point for dos/windows directory on dual boot laptop. My dmsg command gives the following partition information: hda: hda1 hda2 < hda5 > hda3, with the dos/windows directory = hda1; hda2 is the extende dos, hda3 is the primary linux and hda5 is the logical swap.

    I tried # mkdir /mnt/hda1 and #mount /dev/hda1 but it said there was no mount point. Any thoughts?

  2. #2
    JimH
    Guest

    Re:creating mount point for dos/windows directory on dual boot

    To use the short syntax, ie "mount /mnt/hda1", you must have a entry in /etc/fstab for the partition.

    Example:

    /dev/<partition> <mount point> <filesystem type> <mount options> <dump> <fsck>

    You can use something like this for a vfat partition

    /dev/hda1 /mnt/hda1 vfat noauto,uid=500,gid=500,umask=007 0 0

    The mount options you use are dependent on your needs. Look at the manpage for mount for the options available for specific file systems.

    Jim H

  3. #3
    rioguia
    Guest

    Re:creating mount point for dos/windows directory on dual boot

    I've tried to follow your instructions but it says "permission denied."

    i tried to chmod u+r /mnt/hda1
    chmod u+r /dev/hda1

    both commands are accepted without complaint but permission is still denied when I complete the command. can you help me out here?

  4. #4
    Spot
    Guest

    Re:creating mount point for dos/windows directory on dual boot

    A typical /etc/fstab entry would look something like this:
    /dev/hda1 /mnt/mountpoint vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
    (all one line)

    Be sure to subsitute the device(/dev/hda#) and mount-point(/mnt/...) with info appropriate to your situation. The above options will allow users to read/write to that partition(as long as the mount-point has the necessary permissions)
    After that's added to fstab, root or su can mount is via the command:
    mount /mnt/mountpoint
    And since it's being added to fstab, it will be mounted at boot as well.

  5. #5
    JimH
    Guest

    Re:creating mount point for dos/windows directory on dual boot

    Quote Originally Posted by Spot
    A typical /etc/fstab entry would look something like this:
    /dev/hda1 /mnt/mountpoint vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
    (all one line)
    iocharset=iso8859-1, this is the default setting if you don't use the "iocharset" option at all. Might be different if you have a non-english linux version.

    codepage=850? Didn't know you lived in Europe. :P

    umask=0? eeeeeeeek! Otherwise known as "the easy way, no security option"

    Jim H

Similar Threads

  1. Dual Boot Questions - Windows XP x64 and Redhat 64-bit
    By cartmanea in forum Windows - General Topics
    Replies: 3
    Last Post: 11-07-2006, 05:00 AM
  2. how to dual boot windows xp and linux on a single hard drive
    By tracktrix in forum Linux - General Topics
    Replies: 16
    Last Post: 10-21-2005, 07:31 AM
  3. Fedora Core 3/Windows XP Dual Boot Problem
    By Orchrist in forum Linux - General Topics
    Replies: 19
    Last Post: 03-09-2005, 04:16 PM
  4. Dual boot Windows and Linux using NTLDR (Windows Bootloader)
    By BeoR in forum Linux - General Topics
    Replies: 11
    Last Post: 02-18-2005, 10:02 AM
  5. Dual boot - how to acces files on windows partition
    By Jtsky in forum Windows - General Topics
    Replies: 5
    Last Post: 04-19-2004, 08:59 PM

Bookmarks

Posting Permissions

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