Results 1 to 5 of 5

Thread: How to permanently mount 2nd hard drive?

  1. #1
    GolemI NNTP User

    Default How to permanently mount 2nd hard drive?

    Hi,

    I'm running OpenSUSE 11.1. I have OS installed on first harddrive (SATA). I have a lot of data on 2nd hard drive (also SATA).

    Each time I boot up, 2nd hard drive is mounted as HDNAME[___+] in Media. So, today it might be listed as "HDNAME___".

    If I shutdown and reboot, the "_" character will get appended to the name, so the new 2nd hard drive will be called "HDNAME____".

    The next reboot, one more character will be added, "HDNAME______", and so on.

    How do I permanently mount the 2nd harddrive so it is registered and has a permanent name/location. I'd like to be able to create shortcuts from the OS to the 2nd harddrive. If the name changes each boot, this obviously isn't going to work.

    Any suggestions?

    Thanks,
    GOLEM
    Last edited by GolemI; 27-Aug-2009 at 13:24. Reason: Edited to fix placement of "____" chars behind HDNAME, not in front. Originally mixed that up.

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: How to permanently mount 2nd hard drive?

    Use the Yast -- System --> partitioner to mount it. That will be a permanent mount. Put the path to the mount directory in the slot labeled Mount Point.

    Actually, if it's a FAT32 or NTFS (windows) drive, let me know cos that's a bit more complicated.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  3. #3
    GolemI NNTP User

    Default Re: How to permanently mount 2nd hard drive?

    Thanks swerdna. Yes, its formatted NTFS so I can easily read/write data when booting into the Windows partition (for games of course -- still playing Valve's Left4Dead right now).

    Wuold I still use Yast -> System -> Partitioner?

    Thanks for followup on this.

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: How to permanently mount 2nd hard drive?

    Probably better to add a custom line into the fstab file. Like this for full read/write access if drive is internal:
    Code:
    /dev/sda2    /path_to/mount_point    ntfs-3g    defaults    0 0
    or this if the drive is external:
    Code:
    UUID=F028603828600048    /path_to/mount_point    ntfs-3g    defaults    0 0
    You can get the UUID from this command:
    Code:
    sudo /sbin/blkid -L
    More here: HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11
    and here (for uuid): HowTo Mount NTFS Partitions Read Write in Ubuntu Kubuntu
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  5. #5
    GolemI NNTP User

    Default Re: How to permanently mount 2nd hard drive?

    It's an internal drive. I read through your HowTo Mount NTFS doc and updated FSTAB with defaults as suggested. Everything works perfectly.

    Thanks... (and you can close this question if thats possible)

Tags for this Thread

Posting Permissions

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