General :: Mount Usb Drive In Command Line IN UBUNTU?
Mar 15, 2010
want to copy a file from my desktop to usb drive in command line...how can i do it...i have no gui interface..all i want to do it by command line.i.e how to mount the usb drive and copy the file to usb and then unmount it..i also want to access windows xp drive from linux in command line without gui interface...in opensuse there is windows folder under file system but in ubuntu there is no such option...so if i want to place a file from linux to windows drive such as d ..how can i manage it with command line...no gui interface is available...
I use a ext4 partition to store my data, to mount and open that partition I open Nautilus file manager, then click on the partition icon and label on the left side. So if I don't have a desktop environment, how can I mount a partition in terminal?
I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?
I have a 32GB flash drive that I want to:- Have an installation o with no X-terminal. Only command-line.- Be bootable by plugging into any computer and turning that computer on.My wishes are strictly for writing purposes. I want to write in a minimal environment where there's no distraction by other programs or Internet. I don't care what programs exist on the linux distro as long as it has a text-editor.Please tell me how to proceed. What linux distro I should get. How to install it on a USB stick. Anything I need to know.
Is there a way for a normal user to mount samba shares from the command line using devicekit? It seems like I remember there was a way to do it using hal, but that's been replaced by devicekit in Lucid if I've read correctly.
I can click on the shares I want in nautilus under "Network", but I'm using fluxbox and I'd like to mount a few shares at startup. I read the documentation for the udisks command, but I can't figure out how to get it to work with samba shares.
I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.
I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?
My computer is connected to the college lan where almost all machines are some variant of Windows OS. If i use Places > Network, while windows network is displayed, mostly it returns unable to mount shares, my workaround for this problem is I use some tool like nbtscan to see which hosts are up and then use network > Connect to Server > windows share and type in the ip address, this mounts the windows share even though Places> network doesn't display such hosts. My question is there some command line way where I can invoke nautilus to mount the windows share, ie the same job connect to server > windows share does? And is there some application like say lan surfer for windows which lists all the folders shared by a windows client.
Ubuntu is getting stuck at the loading screen after an aborted attempt to upgrade to 11.04. It's my own fault - the install was running out of room on /, and I, like an idiot, decided to delete some package files under /var/something/archive, thinking they were "old"... I quickly realized they were in fact the new packages being installed... anyway after killing the thing and rebooting it is pretty damn broken (mostly because I can't get networking going so running in dpkg repair mode doesn't do much because, well, I deleted the packages).
I want to copy all the files off my /home and other meaningful partitions onto an external drive so I can just do a clean install. I can actually login to the command line under recovery mode, but I can't get the GUI started. I know it's possible to copy the contents of the partitions to an external
But how do I mount the sdc drive with those options from the command-line without restarting? I've tried to do so with 'mount' utility, but had no luck.
with the current Musicbrainz fiasco with Rythmbox and Sound Juicer I am now using RipperX. I like RipperX, but I would like to know if there are any command line parameters or some way of selecting the CD/DVD drive. It appears that RipperX can multi-task which would save me some time.
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I've been dual-booting win7 and ubuntu on my comp for a while, but didn't bother updating grub. I just updated to grub 2, but it wouldn't let me boot and said my hard drive was missing, also giving me a grub safety command line.
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
Is there a command line alternative to clicking on "Safely Remove Drive" in nautilus?
When I click on "Safely Remove Drive" in nautilus, the USB HDD attached (WD Elements) vanishes from the nautilus "places" list, the drive spins down, and the light on the drive dims to indicate that it is powered down.
I have tried the "umount" command as well as the "eject" command from the terminal, but they both only seem to unmount the drive, as it is still shown in the nautilus "places" list and the light on the drive stays bright.
no entries exist in the /dev folder for hdc,cdrom,dvd, or any other drive or drive type than hda. The only other similar device is sg0 which doesn't work either. I have tried every variation of mount I can find with every available drive and drive type and nothing works, but this is the drive I installed FC14 with, and it installed perfectly (except for forgetting where it came from!!)Do I have to install a module or recompile the kernel just to get linux to recognize the drive it came from?
I really would like to learn all I can about using the command line. So if anyone knows of a good tutorial please let me know. I am running Ubuntu 10.10.
Just installed Ubuntu 10.04 LTS as a VM on MAC OSX. I want to auto boot to the command line, but the GUI keeps coming up. I ran "sudo update-rc.d -f gdm remove", but it didn't work.
Just want to know what OS is, Fedora/RH/... Tried the following on a redhat machine: uname -o : GNU/Linux less /proc/version: Linux version 2.6.18-164.el5 (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.1.2 20080704) (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:54 EDT 2009 What is the right command to do it?