Debian Admin

Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips

  • RSS Subscribe

    subscribe to the Debian Admin RSS feed
  • Sponsors



  • Categories

  • Sponsors

  • Support DebianAdmin

    Amount $:
    Website(Optional):


  • Meta

  • Archives



Mounting the lazy way (Windows & Linux File Systems)

Posted by konsolebox on January 26th, 2008

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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!

  • Share/Bookmark

12 Responses to “Mounting the lazy way (Windows & Linux File Systems)”

  1. Bakkar Says:

    This is very handy for Linux newbies, and even (lazy) experts :) .
    Tank you!

  2. Kiran kumar K Says:

    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

  3. FeestBijtje Says:

    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.

  4. jasper Says:

    Hi,

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

  5. FeestBijtje Says:

    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?

  6. Jon Loveless Says:

    I can’t locate diskmounter script anywhere. Has it been removed?

    Thanks.

  7. Kevin Murche Says:

    Also can’t find diskmounter script (name or service not known).

  8. Gavin Westwood Says:

    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…

  9. Mardhanaya Says:

    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

  10. Maxtor External Hard Drive Says:

    Using such a hdd will definitely save my data in safety :)

  11. Devian Says:

    there’s an even more lazy way, install disk manager ;)

  12. sourav mohanty Says:

    The Above link doesnot work……

    Regards,
    Sourav Mohanty (Linux Lingo)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>