Mounting the lazy way (Windows & Linux File Systems)

Imagine… You just bought an new hard drive. And you want to mount it with FSTAB so it will be mounted every boot up. But your too lazy to understand FSTAB. I approve your lazy life stile like I am used to be. And here I will tell you an great secret from the lazy “Ubuntu” trolls. Keep in mind I would advice you to mount your hard drives manually. For now I will show you the lazy way.

Open the “Terminal”

Perform the following commands:

First step we download the DUTCH script for mounting disks.

$ wget http://media.ubuntu-nl.org/scripts/diskmounter

For Debian users become root!
$ su -p

Now lets mount all your hard drives with 1 single command. (For ubuntu users add “sudo” in the beginning of the line!)

# bash diskmounter

Now awnser 1 or 2 questions. And let him mount your drives.

No reboot is required since it automatically mount & chown your drives!

12 thoughts on “Mounting the lazy way (Windows & Linux File Systems)

  1. Sir,
    i am not able to detect my external hard disc when i connect to my system.
    Pl.let me know the solution for this.

    Kiran

  2. USB Devices will often be not found by this script, Debian Linux should find this as an USB Mass Storrage device.

    If you want to mount your external hard drive to a directory I did prefer for you to follow a manual way to mount it. Since external drives are beeing put on and of only when need for some specified backups or data. I did not recommend to put it in your mount folder.

    In case you want to do it you seem to have to do it manually:
    http://www.mepis.org/node/11973

    This guide should be okay for doing it.

  3. Hi,

    Can i use this to mount a share on a network drive to a directory on my debian system?

  4. If you want to setup a network sharing drive you must have a drive mounted. And after that you must configure trough Samba or any other methods to share your hard drive to your network. If you are sharing from Linux to Windows you must have to do lots of configurations trough samba and getting things mount up together. But it is possible could you please be more specific so I could aid you a little help?

  5. media.ubuntu-nl.org doesn’t seem to be available anymore (www.ubuntu-nl.org still works, so the’ve just removed the sub-domain). I can’t find where if anywhere this script has moved to unfortunately…

  6. This may not be revelant but i figured i’d post this anyway. If you’re using ubuntu 8.10 you may be in for some issues with the network manager. For some unknown reason it stops functioning. You will need to manually set you’re resolv.conf with your ISP’s DNS servers. That file is located in /etc/network/resolv.conf

  7. The Above link doesnot work……

    Regards,
    Sourav Mohanty (Linux Lingo)

Leave a comment

Your email address will not be published. Required fields are marked *