CentOS 5 :: Change Default Noexec To Exec When Mounting A Portable Hard Drive Through Usb?
Jul 18, 2009How to change the default noexec when an external hard drive is plug to CentOS through usb ?
View 4 RepliesHow to change the default noexec when an external hard drive is plug to CentOS through usb ?
View 4 RepliesWhenever I plug an external harddrive to a CentOS system,all partitions mounted will have noexec that makes my binaries or script files not executable.
Quote:
[root@centos52-64-dell ~]# mount
/dev/sda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
[code]....
I have to remount it using, e.g.,
mount -o remount,exec /dev/sdb1
But I am sick and tired of doing it everyday. What I can I do ?I don't want to use /etc/fstab to solve this problem becauseit will cause booting problem (curable though) when the hard drive is not around.
I am basically mounting my portable hard drive (sdb1) and creating a bit image copy of sda on to the hard drive. What each line in the command is doing? e.g. what does ntfs-3g mean? what does the third line mean?
View 1 Replies View RelatedI have spent the summer and just got my few must-have Windows programs over to Ubuntu 11.04 (64-bit), got it customized with Docky (under Ubuntu Classic) and everything is SWEET. (But don't get me going on Unity dock). One problem: if I boot with my 1TB portable hard drive plugged in Ubuntu will recognize it. If I plug a portable drive in after the boot, I get this error below. I tried Mounting manually and with Archive Mount
View 1 Replies View RelatedI'm trying to mount a seagate portable hard drive. I can mount this device on my other machine except for this machine wherein every time I put the device, it was not being recognize. The led of the portable device just keeps on blinking. When I do fdisk -l, I don't see the device. When I do dmesg, I found the ff:
I used to mount this hard drive before and it was doing fine except last month wherein I cannot mount it anymore. I don't want to reboot and use LiveCD just to backup my files because other people are also using this machine (its a samba server). I tried to use other usb slot but still the same. I'm using CentOS 5.3 minimal installation. i tried to modprobe -r uhci_hcd and modprobe -r ehci_hcd and command again modprobe ehci_hcd and modprobe uhci_hcd but still the same.
i bought a portable harddrive - Transcend�s StoreJet 25D2 500GB, as my internal harddrive space 80GB , i had to transferred one virtualmachine rhel5.4 to portable harddrive. every thing works fine.... VM starts and run.nothing wrong.But last day i found portable harddrive temperature become high.I turned off VM and then sense temp ...no change it is same high.My question is
1.is it safe to let portable hdd get connected all the time when pc is on?
2.can i install main operating system in portable hdd... is it safe ?
I'm a recent convert from windows machines to linux. From the first distro I tried I was blown away by how great linux is. But opensuse, while it has taken me a little bit longer to figure a few things out, has by far the best. It even allows me to configure my touchpad so it doesn't drive me insane.On to my actual problem. the portable harddrive placed all my files on to when switching from windows mounts but shows up empty.I know the files are there because they show up when i plug the harddrive into my ps3.
I put the all the files i wanted to save from windows into a folder called portableharddrive (i think) and put that folder on to the portable harddrive.if i do a directory search by running the drive in terminal this is what i get.Can anyone help me find my files or do i have to wait untill my girlfriend gets her computer back?
i was reformatting the hard drive of a laptop & in doing so i accedently deleted the partition of the portable hard drive & now the hard drive dosent show up is there a way to fix this & get the data back
View 9 Replies View RelatedIf I have Ubuntu installed on a USB drive and run it on a PC (not installing to the PC...just running the Live version), is anything at all written to the host PC's hard drive? I don't want the host PC's hard drive to be written to at all for security purposes. I'd be using Firefox, LibreOffice, and other apps that come with the Live USB version.
View 5 Replies View RelatedMy portable hard drive (WD My Passport), which used to work correctly now does not automount on my Ubuntu system. It does work on a Windows machine or even when plugged into WD HD TV, which is a Linux based device. There's one NTFS partition spanning the whole drive.When I plug the disk in, I see the following in dmesg:[269259.504631] usb 1-2.2: new high speed USB device using ehci_hcd and address 20[269259.604674] usb 1-2.2: configuration #1 chosen from 1 choiceHowever it does not mount in GNOME and I don't see it when I type:sudo fdisk -lAny suggestions why this might be? I repaired the partition using chkdsk on Windows, so the issue is probably not filesystem related.
View 4 Replies View RelatedI have installed Kubuntu onto a 1tb portable hard drive and I always have to boot from it and grub. I want to uninstallit and go back to windows 7 that is on my built in hard drive on my hp laptop.
View 2 Replies View RelatedI don't understand this: I did Quote: rsync -avz --delete /media/PPT-WORDS centguy@centos52-64-dell:/media/ while I was at home connecting my portable hard drive to a desktop centos52 machine. On the next day, I came to the office and I connect my portable hard drive to another centos52 machine, do do
[Code]....
Sometimes when I do anything write heavy such as transferring backup or downloading large files from the net, the machine crashes almost completely.
View 8 Replies View RelatedI have an 320GB hard drive with F11 installed. Lately, I got a 1.5TB new hard drive, on which I have installed F12. Now I want to use the 320GB as a second hard drive since I have lots of data on it. My question here is as I boot my desktop, how does it recognize to boot from the 1.5TB and consider the 320GB as a secondary? Is there anything I need to setup in BIOS? My motherboard has one extra SATA connection left for a second hard drive.
View 6 Replies View RelatedI am having issues mounting my non-OS hard drive (/dev/sda).I had the following information in my /etc/fstab file:/dev/sda /mnt/storage auto defaults 0 0This worked as expected; however, I decided the modify this so I can have it automounted to my home directory (/home/jesse/storage)./dev/sda /home/jesse/storage auto defaults 0 0This /mnt/storage remains intact even after rebooting the system.
View 6 Replies View Relatedis their any way to change the mounting location of your hard drives so when you click a certain hard drive in nautilus, it'll go to that location instead of the default one?
View 2 Replies View RelatedI'm trying to mount a hard drive, but I get an error. $Logfile indicates unclean shutdown (0,0) Failed to mount '/dev/sdb1': Operations not supported Mount is deniedbecause NTFS is marked to be in use.it gives me some optionsmount -t ntfs-3g /dev/sdb1 /media/System -0 force (and error not found)/dev/sdb1 /media/System ntsf-3g force 0 0 (i get permission denied) All done as root. I have had no problem before mounting hard drives like this. So I don't know what the problem may be.
View 1 Replies View RelatedI have Red Hat Enterprise Linux 6 installed on my machine. I am unable to mount an External Hard (NTFS). I have tried several options which are as under:
Option 1:After making a dir /media/windows mount /dev/sda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
Option 2: mount -t ntfs /dev/sdb1 /media/windows
I'm trying to get ubuntu 9.04 to recognize a Maxtor One Touch III USB external hard drive. This drive has been formatted and used on a Windows XP. I cleared everything off but am trying to see if I can arrange it so that I can back up from linux and access (if need be) from a Windows machine.
Here is what I get with fdisk -l:
/dev/sda1 * 1 14219 114214086 83 Linux
/dev/sda2 14220 14593 3004155 5 Extended
/dev/sda5 14220 14593 3004123+ 82 Linux swap / Solaris
I added a second internal hard drive to my system.It took a while to figure out how to mount it, and I thought all my problems were over.I want to use this for storage for Transmission since this would keep all the files independent of my other hard drive.One thing that I noticed is that when I restart my computer it doesn't automatically mount the drive (Transmission gives me an error message saying it's not able to access the drive).So I remounted it, and noticed that it restarts all my torrents.One thing that I noticed is that Transmission keeps the .torrent files in /tmp and IIRC there is an option to move them wherever you want to in Deluge (I don't know if this will help anything or not).I don't like Deluge, but if it's somehow easier.
So how can I retain my settings prior to restarting and make this permanent?I do like to turn my computer off from time to time, and I am quad booting with other distros that I like testing out.
I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.
Here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=5d0ed718-2719-4b28-a031-9ab10f9aa740 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
[Code]...
Running 10.10 64bit Kernel 2.6.35-23 I am noticing what I think is a big hiccup in my boot process my drive is mounting at around the 4sec mark then my system pauses for roughly 13 seconds, you can even it see it on the screen a blinking cursor comes up the entire time. Then during the rest of the boot my drive will re-mount at least 4 more times. Then during use of my system there will be random re-mounts throughout the use. Here is the mounting message
[Code]...
I just noticed the pausing recently after an update but have been seeing this re-mounting since install. Are these normal? They dont seem like it to me, and if they are normal why such a long time on the initial mount and every re-mount takes 4-5 seconds. Let me know if I can provide any further info as well.
I have installed Musix distro on my brand new amd 64 dual core computer but for some reason it is not showing in the media folder. Been a while since i mounted a slave and plain ubuntu seems to do it automatically so i forgot what commands i need to see it. Would love some help as the Musix forum is messed up. They have most of their forum in spanish and the parts that are english are not complete. I managed to sign up but that damn thing is really messed up. I signed up as over 18 but it sends you a form to have signed as under 18. Made 2 different users and still the same problem.
View 9 Replies View RelatedI just installed a second hard drive in my desktop. It shows in the BIOS.
I followed the procedure here https://help.ubuntu.com/community/In...gANewHardDrive to install it in Ubuntu, except I formatted the drive to ext4 not ext3.
It mounts automatically without problem once I am in Ubuntu and I can read/write to it.
My issue is that it won't mount at boot. I get past GRUB and a few seconds later receive an error message giving me an option 'S' to skip, or 'M' to manually mount.
What I noticed is that the logical name for the drive (used sudo lshw -C disk to display) seems to change at each boot.
It goes from /dev/sdb to /dev/sdf and vice versa.
So, I'm thinking this is the problem since I can only add it to /etc/fstab according to what I last saw.
I recently installed Damn Small Linux using unetbootin. Booting Linux from unetbootin seems a lot like booting from a liveCD, so I'd like to mount my hard drive and see what I can do. Unfortunately it looks like Damn Small Linux has not mounted it automatically, and I'm having trouble finding my drive and mounting it from the /dev directory. There are several devices named /dev/*da* and I don't know which is my hard drive. My computer is an HP Mini netbook, so the drive is probably one of the new "solid state" drives if that affects anything.What can I do to find and mount my hard drive from unetbootin?
View 3 Replies View RelatedI have been running a computer under Windows XP for years, and recently it stopped booting unexpectedly. It tries to load windows, but partway though loading a BSOD flashes and it shuts down. To remedy this and hopefully fix this, my frined lent me some Knoppix CDs that I could boot from. He also lent me some external hard drives. I want to be able to access my files on my old hard drive.
Here's the problem: (in Knoppix 6) When I try to mount my main partition of my hard drive, which shows as sda2 (sda1 is an old recovery partition left over from when I ran vista), the following message pops up: "A job is pending on dev/sda2" A little later another error window pops up: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." I want to be able to mount my hard drive in Knoppix 6.
I just installed a new clean copy of Ubuntu 11.04 onto a Dell XPS M1710 laptop. I believe it has a generic Texas Instruments Firewire controller. Plugging in a standard Firewire disk does nothing. If I boot with the device and run �dmesg|grep firewire�, I get:
Code:
[ 1.327138] firewire_ohci 0000:03:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 1.388103] firewire_ohci: Added fw-ohci device 0000:03:01.0, OHCI v1.10, 4 IR + 4 IT contexts, quirks 0x1
[ 1.888144] firewire_core: created device fw0: GUID 354fc0001a369961, S400
[code]...
How can I install the necessary modules to make this work?
I am looking for a guide for Fedora 13 that tells me how to:
1. Create an encrypted partition on an an external USB hard drive
2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive
3. Automounts the hard drive to a set location
The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.
I just moved from ubuntu to fedora 14 and I'm having an issue with a portable USB hard drive. When the hard drive is connected at startup it mounts at /dev/sda and my other 3 internal hard drives are mounted at /dev/sdb, /dev/sdc and /dev/sdd; of course this is an issue with my FSTAB file since i mount some of the partitions in the first hard drive (/dev/sda) at some special points in my file system, so i need to restart my computer and unplug the USB hard drive to get things working, however when i was working with ubuntu this didn't happen. I need that the USB hard drive mounts at /dev/sdd at startup so my FSTAB could work.
View 3 Replies View RelatedI'm using Ubuntu 9.04, and I can't seem to get my ACOMDATA external hard drive to work. It is plugged into the PC using a USB cable, and it is read as a removable storage device on both Win. XP and Win. 7. On Ubuntu, it is read for a split-second, then disappears. All of my USB ports are functioning perfectly. Are there any commands to mount this device?
View 9 Replies View Related