• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

trouble mounting disks in Ubuntu

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    trouble mounting disks in Ubuntu

    Recently installed Ubuntu 8.10 and am struggling to get it to auto mount two partitions
    I've added the following to /etc/fstab
    UUID=xxxx-xxxx-xxxx-xxxx /media/disk1 ext3 relatime 0 0
    UUID=xxxx-xxxx-xxxx-xxxx /media/disk2 ext3 relatime 0 0

    with the correct UUIDs of course but they still won't mount. I've tried adding them to /etc/mtab but that just gets reset with each reboot.

    If I remove the lines I can mount them manually from the file browser but I'd rather it was automatic at boot.

    Any ideas?

    TIA

    PL

    #2
    Have you tried the "defaults" option in place of relatime.

    and after the boot finishes, what happens if you try

    mount -a

    ?
    McCoy: "Medical men are trained in logic."
    Spock: "Trained? Judging from you, I would have guessed it was trial and error."

    Comment


      #3
      Fixed it now.

      I had to create the directories manually to be used as mountpoints first.

      Thanks anyway

      Comment


        #4
        Yeah, that's how its done in Unix/Linux.

        I was going to mention that...but thought...naaaahh he must know that!
        McCoy: "Medical men are trained in logic."
        Spock: "Trained? Judging from you, I would have guessed it was trial and error."

        Comment


          #5
          Originally posted by lilelvis2000 View Post
          Yeah, that's how its done in Unix/Linux.

          I was going to mention that...but thought...naaaahh he must know that!
          You'd think!

          Problem was, every time I mounted them via the GUI it creates the dirs automatically so I didn't realise they weren't there.

          Still, all working now.

          Cheers anyway.

          Comment

          Working...
          X