Ubuntu :: Mount USB Hardrive From The Terminal?
Apr 4, 2011
I'm trying to mount a USB hardrive from the terminal.
Using the following I can mount the hdd:
Code:
sudo mount -o rw,users /dev/sdb1 /mnt/usbhd However if I try and change to /mnt/usbhd :
Code:
-bash: cd: /mnt/usbhd: Permission denied
(if I change to root I can view the contents)
If I add umask=000 I can view the contents, but I can't do anything to them:
Code:
sudo mount -o rw,users,umask=000 /dev/sdb1 /mnt/usbhd
Code:
mkdir: cannot create directory `misc': Read-only file system
I have tried changed the privileges of /mnt/usbhd, and I have tried adding an entry into /etc/fstab (and restarted), and I have tried using "user" rather than "users" but I get exactly the same results.
I don't have autofs or usbmount installed, which I read somewhere causes issues.
Code:
/dev/sdb1 on /mnt/usbhd type ntfs (rw,nosuid,nodev)
I've run these commands on another machine and it works perfectly, so it isn't the drive...?!
View 1 Replies
ADVERTISEMENT
Apr 16, 2011
When I try to mount my 320 Gig HD I get this.
DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending
What am I missing?
Im Running Ubuntu 10.10
View 1 Replies
View Related
Jul 25, 2010
I have Ubuntu installed and I need to reinstall Window$ so that I can set up a dual boot.I cannot get my Hardrive to format, I think there is a way to format the drive in recovery but I do not remember the commands for command prompt.
View 4 Replies
View Related
Mar 8, 2011
I have recently reinstalled Ubuntu. As the last operating system developed a problem (Xubuntu) and I lost all my files I decided this time to partition the drive so that anything important could be backed up to the other partition.The problem I have now is I cannot work out how to see the other 40Gb of the drive in order to copy the files over. Ubuntu shows 120ish gig for its portion which is as I set it up.
View 9 Replies
View Related
Jan 1, 2011
Id like to know how to partition my hd on kubunto!
what software should I use?
View 6 Replies
View Related
Apr 2, 2010
I noticed its my hardive that has problems and wont boot any of my operating systems not letting me get to my desktop. Is there a way i can clean it or a disk to do it but without doing it at your desktop?
View 7 Replies
View Related
May 2, 2010
My XP partion is C: and 1st HD. my 2nd Empty Hard drive part is F:/ Can i install wubi on the other hardrive using my c partuon?
View 9 Replies
View Related
Feb 10, 2011
copy a list of fileswhich has some unique string e.g
filename_1dec_2010.tar
filename_2dec_2010.tar
filename_3dec_2010.tar
filename_4dec_2010.tar
and i have another secondary hardisk i guess i need to grep with "_2010" and move
View 6 Replies
View Related
Nov 23, 2010
I put ubuntu 10.10 on my computer it was great i then the driver finder told me that I could make my computer 3d so i downloaded the driver now my computer will not read my hardrive and will not boot.
if you know how to fix this
and i have tried to put ubuntu back on with a live cd but it says error
View 3 Replies
View Related
Jan 4, 2011
Prior to the update my internal hd worked flawless. Now its a read-only disk and i can't change it by gui.
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
[code]....
View 1 Replies
View Related
Apr 30, 2011
During my Ubuntu install I screwed up Leopard 10.5 and don't have original install disk. I have downloaded 10.5 via a torrent via Ubuntu on my external hardrive and it is too large, my G5 doesn't support dual layer to burn install DVD. I thought I found a Ubuntu link that would help me install this OSX.dmg from my external firewire drive but i can't find it again.Anyone recognize this that could provide a link?
View 1 Replies
View Related
Jan 17, 2010
I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?
I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?
View 6 Replies
View Related
Jul 23, 2010
I installed Ubuntu 10.04 two days ago and was using my 1tb passport external HDD with it to download and store files. However today whenever i try and copy/cut and past to the HDD i get this error message..
Error opening file '/media/My Passport/test.avi': Input/output error This is obviously very fustrating and i want to stay with Linux but i do need to fix this problem else im afraid im going to have to back to awful windows.
View 4 Replies
View Related
Oct 18, 2010
i installed ubuntu using wubi and so far i have been impressed. I quickly filled up the small size i allocated for the ubuntu installation in wubi and now find myself in quite a predicament. I was thinking of performing a clean install of ubuntu and removing the existing windows installation. Rather than dual booting, i was using virtual box to run a windows xp machine so that i could use common windows applications. However, i was having some problems running some applications in the virtual box.
it was possible to install ubuntu and windows on the same hardrive with the ability to boot into either/or, but also be able to run the same windows installation inside a virtualization program in ubuntu? The majority of the windows programs worked fine in the virtual box, but some of the applications didnt. Is there any software out there that can do this?
View 3 Replies
View Related
Oct 28, 2010
I have a laptop with Win XP and Ubuntu installed as dual boot. Well something happened with the Ubuntu install and I need to reinstall but can't figure out how to do it.
View 9 Replies
View Related
Feb 14, 2011
Is it possible to increase the size of the Hard drive to 200GB when installing Ubuntu on top of Windows. The Reason I ask it that I have a Laptop with a 500GB Hard drive, which has windows installed on it Obviously I cannot create a new Partition on this drive to do a separate install. 30GB is just to small for what I want to do on Ubuntu, I know I can access the hard drive using /host/* but that is hassle that I do not want.
View 5 Replies
View Related
Mar 30, 2011
I deleted a conifg file on an external hardrive that I'm trying to recover but it did not go to ubuntu trash can. Where did it go to?
View 1 Replies
View Related
Jan 2, 2010
Anyone know of a good program to remove everything on a hardrive?
View 7 Replies
View Related
Apr 21, 2010
I am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:
Quote:
Macintosh HD = 130GB
disk0s3 = 1MB
disk0s4 = 30GB
Linux Swap = 1.3 GB
I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:
Quote:
sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.
View 7 Replies
View Related
Feb 3, 2010
I am trying to properly mount a samba share in order to access it from a terminal and run a script that I've written over a folder in the share. How could I do that? I tried smbclient but after successfully logging in I couldn't issue the sh command. Isn't it possible to have it mounted in the /mnt folder like a normal filesystem?
View 1 Replies
View Related
Jan 30, 2010
I'm having a problem, as Fedara is not recognising a 2nd hardrive that I've added to a USB port.To clarify, the first hardrive is in the PC with Fedora installed on it. The problem is with the 2nd one that I need to add to a USB port.
View 14 Replies
View Related
Dec 15, 2009
I have a Westel 1 TB external hard drive and when attempting to partition it, the partitioner never finishes refreshing the device. I've tried gparted live, opensuse, & ubuntu; and none of them finish refreshing the device.
Another issue is, I have 200 gig of music & movies that can't be wiped out because I got no room elsewhere to move them to. I would like to set a partition of 750 gig for the ext 3 and leave the rest for ntfs.
View 9 Replies
View Related
Jul 9, 2011
Can I mount a WD My Book World Edition NAS in Ubuntu 11 without extensive terminal work? The NAS has a static ip, it can be ping'd from Ubuntu, and my Windows machines access it just fine, no passwords required.I have not been able to find a way to make this work. Nothing against the terminal per se, it's just still a little too unfamiliar and I keep hitting error road blocks on this one.
View 4 Replies
View Related
Oct 19, 2010
I've pretty much installed Ubuntu Linux9.10, 10.04 and Debian 5 on external hard drives before, however, I just want to avoid certain pitfalls that may occur with openSUSE11.3. Has anyone successfully done this before? And, is it similar like Debian and Ubuntu installs in that you have to install the OS using an advanced option and specifying /dev/sdb, etc? Right now, I have Ubuntu installed on an external harddrive along with Debian as well and wanted to do the same for openSUSE11.3 and was wondering if all Unix derivatives share similar installation processes. I would just like to keep things as I have it currently where the system does not boot with Grub, and instead I have to go to the bios and specify which physical drive to boot from in order to change the boot order.
View 9 Replies
View Related
Jan 25, 2010
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
View 3 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
Dec 10, 2010
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
View 9 Replies
View Related
Nov 6, 2010
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
View 2 Replies
View Related
Dec 1, 2010
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
View 5 Replies
View Related
Dec 12, 2010
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
View 1 Replies
View Related