I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?
This was a really frustrating problem which turned out to have a really simple solution, so I'll share it with people who might be having the same struggle. Problem You plug in a usb hard disk and try and mount it using:
[code]....
I spent hours - days - hunting around for the solution! (And felt a bit humiliated when I realised how simple it was!) PS, There used to be a "Success story" section on LQ, but I couldn't find it; if this is better in another section, please move it. PPS, I'm on a public computer and won't have Linux access for a looong time - if anyone can copy the message that fdisk prints out to help people who are searching for it
I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?
Just installed Slackware 13 this morning. It's been a long time since I last tried Linux, but Slack works (a lot easier than Slack 8 did back when I last used it!) quite well. I'm using the XFCE desktop and it's smooth as silk except for one odd problem-I cannot get any of my USB drives to mount. I just plugged in my Lexar 4GB USB flash drive and received an error message. Here's from /var/log/messages from when I initally plugged in the drive (I have a 500GB WD MyBook USB external drive that is always plugged in):
Any ideas or suggestions of what to look at? I'm not familiar with HAL in Linux although I've seen plenty of discussion about it and have an idea of what it's supposed to (or break! ).
Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..
2. lsscsi output -I installed lsscsi and here is the output: Code: Select all# lsscsi --device [0:0:0:0] cd/dvd LITEON CD-ROM LTN485S JKF1 /dev/sr0 [2:0:0:0] disk HP Net Mirror V1.0 /dev/sda [2:2:0:0] disk HP 9.10GB C 80-P94N P94N - [2:2:1:0] disk HP 9.10GB C 80-P94N P94N -
[Code] ....
3. force scsi scan -I tried to use this command to force a rescan for the hdds, but nothing happened: Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan
-no errors, but log says nothing -tried the above with host0 - 4, same result
4. fdisk -l Code: Select all# fdisk -l
Disk /dev/sda: 9098 MB, 9098887168 bytes 255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors Units = sectors of 1 * 512 = 512 bytes
[Code] ....
5. tried to specifically add one device but it didn't work: Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi -bash: /proc/scsi/scsi: No such file or directory
I upgraded my testing/Wheezy Inspiron N5010 to 2.6.38-2-amd64 recently (along with a bunch of other updates, of course) and now my Samba network share is no longer automatically mounting, I have to open a root terminal and do a "mount /mountpoint"; my relevant /etc/fstab entry:
I've tried over options, as well, but it isn't automatically mounting. Any suggestions (including where to file a bug report)?
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question: I would like to add acl option to a device whenever it is mounted. I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code: sudo mount -o remount,acl /media/data and auto execute it any time data is mounted.
I have a Linksys wireless G USB adapter. When I plug it in nothing happens, how do I install this hardware. I also have a Vantec external USB hard-drive and when I turn it on it says it cannot mount the drive. How do I get this mount this drive. It is formatted NTFS, my windows back up drive.
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
My external hard drive (about 2 years old) won't mount. It wouldn't mount on Windows either. Other external hard drives (sdb1) mount perfectly.
I am wondering is there a Linux way of getting the hard drive to work again? The disc spins up so it's not a mechanical failure. I'm guessing here but is there a way of flashing firmware onto the external HD if that might be the problem?
(Seagate 2TB ST320005EXD101-RK)
Code: Select all# /etc/fstab: static file system information. # # Use 'blkid' 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). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation
I am using Deluge on my Debian server, for a simple auto start at boot I us the following lines in the /etc/rc.localsudo -u User delugedsudo -u User deluge-webDeluge is running after boot but i wane check if its running with User account and not as root.So I did a ps -aux | grep deluge and notice a line that root is trying to run the command sudo -U User deluge-web (i think its trying).
User 1735 1.5 1.0 187680 21604 ? Sl 16:30 0:04 /usr/bin/python /usr/bin/deluged root 1736 0.0 0.0 20924 1168 ? S 16:30 0:00 sudo -u User deluge-web User 1737 1.5 1.1 70400 24084 ? S 16:30 0:04 /usr/bin/python /usr/bin/deluge-web
The question is what does this mean? can i leave it running, is it better to kill it if so how to prevent that it happen on start-up.
I have just did a fresh install debian jessie today in virtualbox, the X window manager is fxce. By default the default runlevel is 5, and I tried to change the /etc/inittab content:
Code: Select allid:3:initdefault:
and reboot, but it didn't effect to the result, the X-window auto loaded again >.<
I need to change it that will boot in to console mode first, and can run startx if necessary, how can I change it permanently?
I have a debian 8.1.1 server running owncloud and a proxy server at home. I have everything working fine, with one exception. The proxy server won't start on boot. If I ssh into the server, then run "sockd -D" as root, it starts up and runs just fine. Any guides I find refer to the init.d script method that worked in Wheezy, but that isn't working. I think it has to do with Jessie switching to systemd? I had used someone elses script in init.d, and ran update-rc.d, but it still doesn't start.
With Jessie, how can I make "sockd -D" execute on system startup?
How to get compiz to auto-start. What seems to be the generally accepted method (from what a few google searches and the debian wiki tell me) of using gconf-editor and changing the window manager from 'gnome-wm' to 'compiz' in desktop > gnome > session > required_components doesn't change anything. The only method I found that did not involve using a terminal and running 'compiz --replace' every time I boot the computer was to add compiz and fusion-icon to the gnome startup apps, but this causes unwanted flickering (it starts metacity and then replaces it with compiz, ie it's simply automating what I would do with the terminal). Autostarting the fusion-icon alone does not start compiz, although it allows me to start it from it's menu if I right click the icon. Note that I sometimes use fluxbox as well, so starting it on boot isn't really an option either.
Perhaps this can be useful : compiz: Installed: 0.8.4-4 Candidate: 0.8.4-4 gnome-session: Installed: 2.30.2-3 Candidate: 2.30.2-3
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in 1000000+0 records out 1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
I'm having a problem with my usb disks, on opensuse 11.2. USB disks only mount the first time after booting.
The scenario is, I boot, then I plug a usb disk. It mounts properly and I can use it. After I unmount it and unplug the disk, I try to plug it in and it doesn't mount. And none of my other usb disks will mount as well.
The only workaround is to reboot.
I checked /var/log/messages, and the disk is being detected, it's just not being mounted.
I am trying to give another user the ability to mount any hard disk by using either the Places menu or the Palimpsest disk utility. Currently whenever you try to do either of these, it immediately asks for root password, even though the logged in user has sudo priveliges to mount disks.
I have modified the sudoers file and given them access to STORAGE and other needed commands. The account CAN mount using the mount command in terminal, but I want to allow them GUI use. From my reseach it looks like Fedora is using DeviceKit but I'm not too familiar with how it works. What do I need to allow non-root users to mount disks in the GUI?
In Ubuntu Lucid 10.04, when I click a disk in the left panel of Nautilus for the first time, the disks are getting mounted without asking a root password. This was not in the case for the previous versions of Ubuntu. how can I turn this feature on in Lucid.
I want my usb disks to automount in /media as usual, but I don't want the internal partitions to be mounted there. The internal partitions are my business, and I'd like to install it ONLY where I want. I can disable the automount, but then the usb disks will not mount.
On my debian web server I curently have ImageMagick 6.3.7 08/07/09 Q16 since this is an old version of imagemagick i wanted to upgrade my system that still runs etch, and afterwards upgrade imagemagick. I can not see what version the current lenny imagemagick package has, but I assume it is newer then 6.3.7, no?
When i ugraded I found out that my apt-sources used stable rather than etch. So I already had a mix of lenny and etch I suppose. I then had > cat /etc/debian_version 4.0 Before I upgraded I changed my apt sources from stable to etch, updated the package-tools and did a dist-upgrade (for details, I followed these instructions). After restarting I have still 4.0 as debian version. Also uname -r is 2.6.17. How can I do a correct update?.
Also my services were not started (ftp,ssh, apache2), so I asked my hoster to start the ssh service. This morning everything was up again, but it seems like nobody there have had a look at this. How do I absolutely ensure that my ssh service is start at boot. It is a remote webserver, so I need at least this service to be running.
Is it possible to remove the "flush" flag when mounting removable disks in KDE4 without recompiling KDE4? Can it be done in some config file(s)? Thanks!
Does anyone else have this problem. Came just after recent update and is highly annoying. Plug usb device in and it is recognized on lsusb but not mounting and appearing in media folder. How do I solve this. Searched the forum but nothing useful
I have a 500 GB ext4 formatted HHD which i have to manualy mount when ubuntu starts. I have read much on the topic but am still unsure what i should add to fstabmy output when entering "sudo fdisk -l" is
I have one of those lovely Western Digital external hard drives and it seems to have an UDF "partition" on the hard drive itself. I cannot format it, remove it from the hard drive itself, or disabling the UDF seems to be a no go once its popped into a Linux distribution of any kind.
So my question is, is it possible to stop the UDF from even auto mounting at all?