Ubuntu :: Find Drives To Mount From Command Prompt?
Mar 18, 2010
So, I plugged in two hard drives to my server. I started with two, an IDE and an SATA. Then I plugged in another SATA and an external SATA using a PCI controller card.
I currently only have command prompt (Putty) access. How can I set the drives up to be usable. They were on another server that died.
I have recently tried to switch from windows to kubuntu. So far nobody can help me on the problem that kubuntu keeps asking password (kdesudo - please input your password to mount this device) in order to mount anything with ntfs on it. This is despite i have made needed changes in order for this operation to be possible without rootilleges (recompiled ntfs-3g with internal fuse, set the setuid bit/setguid bit,ded user to disks, gave user permissions to mountpoint). I can do mount /dev/... and it works without sudo but the dolphin, or "removable media" thingie in system settings still will ask a password to mount anything with ntfs on it.
So, therefore a question arises. I can of course do all the mounting manually (automount on boot does not help since my external hard takes time to "boot up" when it's first accessed and that is when system boot takes 10 seconds instead of 1 second and starts complaining about "drive not ready, try manual mounting"So, i would like to have a simple gui something that can mount or dismount (run mount and umount for me effectively) removable or internal disks. Could someone advise some program that he uses? suppose there are plenty such around since the operation is very common...Maybe even a file managertead of dolphin)? Preferably one that does renaming li
I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.
If the filesystem is mounted with noatime option does it influence find -atime behaviour? I tested and it looks that find is able to see access time but why should it if mounted with noatime? Or maybe it depends on the type of filesystem (I`m using XFS)?EDIT: Looks the answer is [URL]htmlIf a file system has been mounted with this option, reading accesses to the file system will no longer result in an update to the atime information associated with the file like we have explained above. The importance of the noatime setting is that it eliminates the need by the system to make writes to the file system for files which are simply being read. Since writes can be somewhat expensive, this can result in measurable performance gains. Note that the write time information to a file will continue to be updated anytime the file is written to.
I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.
In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?
I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.
I am using the latest UBUNTU 9.10. It was working great. I logged in as Tom, put in my password and could do what I needed to do. Now when I go to the CLI through the terminal I get "Tom@new-host-2:~$ " which has no privileges. I obviously messed up something. I can't find a way to get back to my original prompt when I access the terminal.
Is it possible to create a new command prompt in Ubuntu? I have a assignment and I don't fully understand it. I have to make c files and then open them in the command prompt. Would this happen in a new command prompt or I'd have to use the already existing one? Is this even possible?
When i boot to ubuntu 10.04 lts. command prompt appears instead of gui interface is this a bug. I had made a new installation of ubuntu 10.04 lts 64 bit.
Is there a way to get to the gui from the command line prompt? I am using Ubuntu 8.04, my computer us telling me there is an error and will only boot to the cli not gui.
i somehow managed to mess up my install of 10.10 I used the alternate AMD 64 install so now when I login it is only a text prompt. This leads me to believe that I am running in Ubuntu Server. I read this article:
[URL] but my network is not setup!! So I tried to do this: [URL] but when I get to:
Code:
sudo vi /etc/network/interfaces
I dont realy know how to edit the file.I basicaly see
Code:
# The loopback network interface auto lo iface lo inet loopback
I'm getting some weird behavior when I log in via ssh to a ubuntu server. When I log in, there is only a $ at the command prompt, no user name. The arrows don't work, they just put the arrow characters in the prompt. Everything else seems to be ok. Also, when I say logged in as User, I meant a new user I just created.
After upgrade to 10.10, I only get the command prompt. Fortunately, all my XP Pro machines are running, and I am using one of them to access this Forum. I suspect that nVidia graphics driver did not load correctly. running startx at the command line gives numerous lines of text apparently understandable xorg gurus. It looks like nvidia_drv.so did not load and module "nvidia" did not load [loader failed, 7] and next line says no drivers loaded.
I have a pretty fresh install on Ubuntu 10.10 Server, with the LAMP bundle installed. Anyway, I just restarted the computer after changing the /etc/network/interfaces script to connect via dhcp. Now when I boot into the server, there is no command prompt and seems to hang there forever, with one blinking cursor in the top left hand corner of the screen. It will not respond to any input besides ctrl-alt-delete. I was able to press control-alt-delete and the computer automatically restarted itself, but it returns to the same state after each reboot. I booted from the grub menu into recovery mode and made sure the /etc/network/interfaces script was correct, and it is. Also I don't think an error in this file should cause the computer to not boot into the command prompt.
ubuntu 9.10 when I try to mount internal drivereceive the following massage Error mounting: mount exited with exit code 1: helper failed with:Remounting is not supported at present. You have to umount volume and then mount it once again
I tried setting up my own partition table which apparently didn't go well.I have 1 compactflash-disk for linux and 2 hard drives for data which are set up for RAID1. But the RAID-drives doesn't get mounted.This is my first RAID-setup
Code: me@server:~$ df -h Filesystem Size Used Avail Use% Mounted on
I like the 20 second boot from press of power button with my new install, BUT I can't mount drives with xfce's thunar. I can mount them with thunar but this way they still do not show up under places or on my desktop. How do I figure out how to mount them properly?
The other one mounts fine. They are all separate physical drives. Another oddity is in that it lists those two drives which are SATA as PATA, but I imagine that is something to do with my BIOS settings being on compatibility settings.
I have recently installed Ubuntu 10.10 on my machine as dual boot using WUBI but on a seperate partition to Windows. Loving it so far, but i cannot get any external drives to mount - i've tried pen drives, camera memory cards and hard drives but nothing comes up.
I have just tried restarting with a pen drive plugged in, and it finally showed something in the computer folder - "memory stick drive" is shown (and my internal CD drive, which i'm not sure was there before.), but i still can't access it and when I try to unmount it gives me the message
Error detaching: helper exited with exit code 1: Detaching device /dev/sdc USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory
I have an Acer Aspire 3500 laptop that I'm running 10.04 on, pretty much everything works OK, and I don't appear to have any hardware problems (I've checked using Gnome Device Manager). When I plug in a USB flash or hard drive, I don't get any drives/devices to mount, although in Gnome Device Manager the USB device appears as a USB Mass Storage Device.
Running tail -f /var/log/messages produces this:
Dec 10 19:44:31 darren-laptop kernel: [ 5800.632058] usb 1-3: new high speed USB device using ehci_hcd and address 4 Dec 10 19:44:31 darren-laptop kernel: [ 5800.765161] usb 1-3: configuration #1 chosen from 1 choice
Is running a command in the Alt+F2 prompt possible in a bash script?I need this for a launcher for gnome-shell.For it I have written a little script to check if the process gnome-shell is alive and act accordingly.The script works fine, I just don't know how to write "debugexit" to the Alt+F2 prompt, as that is the only decent way I have found to shut gnome-shell down and going back to gdm desktop smoothly.
i wonder if it is usual that the results of running commands via the command line is different from running them in a script file. my problem is that, i've to run 'modprobe -r e100' and 'modprobe e100' before suspend my machine via pmi in order to resume it properly. i wrote a script containg EXACTLY the same commands as i typed in the terminal/console but the result was not the same. the machine cannot be resumed as expected if i run the script file.
I am using Ubuntu 9.04 Server. I use screen alot for persistant sessions and suddenly I have a problem. When I type Code: screen -R -DD as usual, I get into screen but there is no command prompt. There is a cursor and I can type commands which work, eg ls. However I don't know which directory I am in, so it makes using it rather hard.