Announcement

Collapse
No announcement yet.

Automount partitions?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Automount partitions?

    OK, another small problem...Here's my situation...I have an 80 GB hard drive where I have my Windows XP and Kubuntu partitions, and I have a 120 GB hard drive (nicknamed Pluto) where I store my media. What happens is when I boot up Kubuntu, I have to manually mount both the Windows XP partition and the 120 GB hard drive. That's annoying, but isn't the primary problem. I point my folder view widget at a folder I created called "shortcuts", where I store shortcuts to those two partitions and other programs (Who would've figured that's what I'd do with a folder called "shortcuts"...)

    What happens is the shortcuts to the partitions don't work until I delete them from the shortcuts folder, and then re-add them. I have two screenshots uploaded. The first is what it looks like befire I delete them, even if the partitions are already mounted, and the second is what it's supposed to look like.

    I feel like I rambled quite a bit there, but that's the best way I can describe it. Any help would be appreciated.
    Attached Files

    #2
    Re: Automount partitions?

    you can add the 2 partitions to the /etc/fstab file so that thay will be automounted at boot.

    you nead eather or both the /dev of the drives and/or the blkid SO if I do

    Code:
    vinny@desktop:~$ sudo blkid
    [sudo] password for vinny:
    /dev/sda1: UUID="52EC5D53EC5D3289" TYPE="ntfs"
    /dev/sda2: LABEL="" UUID="423B-2BDF" TYPE="vfat"
    /dev/sda3: UUID="0ee90e7d-8196-414d-b049-a5b32b7d8b77" TYPE="ext3"
    /dev/sda5: UUID="aac6ff15-4a58-4a49-b7fa-c5ae40c964e4" TYPE="ext3"
    /dev/sda6: UUID="26baca98-cab8-4bff-b2a7-3dc344dac0be" TYPE="swap"
    vinny@desktop:~$
    we see that the first line is my xp partition so if I want it in fstab I would first make a mount point for it like

    Code:
    sudo mkdir /mnt/xp
    ........this could be /media/xp....or /mnt/mydisk...or or

    then suposing you did the /mnt/xp add to /etc/fstab

    /dev/sda1 /mnt/xp ntfs-3g user,relatime 0 0
    or

    UUID=52EC5D53EC5D3289 /mnt/xp ntfs-3g user,relatime 0 0
    the ntfs-3g can be ntfs if you dont have the ntfs-3g package installed

    but if the drives get removed alot I dont think I would add them to the fstab............
    dont thay show in the plases pane of dolphin? and can be mounted by clicking them? I know that dosent help the prob but you sead you half to manualey mount them so!!

    VINNY


    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: Automount partitions?

      Thanks for the reply, vinnywright. I read your reply a few times, and it seemed above my head. I googled this fstab file and got tutorials saying the same thing you are, and how easy it is. Still, I can't lie...the prospect of it frightened the hell out of me.

      Luckily for me, I found a utility called "ntfs-config". It basically does exactly what you said, only with a cuddly GUI to coddle me and make me feel safe and secure. Now when I restart Kubuntu, my partitions are mounted. And yet, I feel this sense of emptiness, like I took the cowards way out and didn't learn anything...

      Oh well, the deed is done :P . Thanks again vinnywright.

      Comment


        #4
        Re: Automount partitions?

        LMAO

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          Re: Automount partitions?

          Originally posted by wikwanderlust

          I feel this sense of emptiness, like I took the cowards way out and didn't learn anything...
          ROFLMAO!

          Oh well, we will be glad to accept humor, in lieu of courage!

          For future reference, this may help:

          http://ubuntuforums.org/showthread.p...ighlight=fstab

          Comment

          Working...
          X