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!
This is very handy for Linux newbies, and even (lazy) experts :).
i am not able to detect my external hard disc when i connect to my system.
Pl.let me know the solution for this.
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:
This guide should be okay for doing it.
Can i use this to mount a share on a network drive to a directory on my debian system?
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?
I can’t locate diskmounter script anywhere. Has it been removed?
Also can’t find diskmounter script (name or service not known).
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…
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
Using such a hdd will definitely save my data in safety 🙂
there’s an even more lazy way, install disk manager 😉
The Above link doesnot work……
Sourav Mohanty (Linux Lingo)