CentOS 5 :: External Usb Hard Driver Mounts Root?
Sep 22, 2010
I have created a 2nd user account on my system and when that user accesses the external hard drive it's permissions are root.
@one ~]$ ls /media -l
total 13 dr-xr-xr-x 1 root root 8192 Sep 19 11:49 External Drive 1TB
View 4 Replies
ADVERTISEMENT
Jan 17, 2011
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
[code]...
View 7 Replies
View Related
Mar 19, 2011
i have ask somebody and told me to download grub to mbr to external drive i find some sudo commands but i found some errors like no mount...i dont understant.
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Lilo is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
[Code].....
View 9 Replies
View Related
Apr 28, 2010
I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.
View 7 Replies
View Related
May 26, 2011
I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.
It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:
Quote:
sudo mount /media/My Data
mount: can't find /media/My Data in /etc/fstab or /etc/mtab
Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).
The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.
View 2 Replies
View Related
Nov 26, 2010
I have a very very insane problem with my ssd sata harddisk. I did fill the harddisk, and Thunderbird complained about "no space left on device". But even if I delete some files from the harddisk, df will still say 0 blocks free. But it will decrease the number of used blocks. So it looks like it is freeing the blocks and deleting the files, but it don't put the blocks back to the free pool.
But here is where things get insane: If I log in with my normal user, I get a "No free space" when I try to write to the harddisk. But If i log in as root I can write to the file system, despite the fact that df is saying 0 blocks free. I did try to run fsck -f but it just run its test and then say that anything is fine. But it run for less then 10 seconds, is this expected on a 40GB ssd partition?.
[Code]...
View 3 Replies
View Related
May 31, 2010
This is Mushtaq here. I am using CentOS 5.3. Everything works fine regarding Hardware Support except of External Hard Disk. I have a HDD Western Digital 80 GB in USB converted case. Its working fine under WinOS, Fedora 10 / 11 / 12 + & RedHat Enterprise Linux. But CentOS is unable to access it even it does not detect it (fdisk -l command is used to verify the connected disks). Can any one please help me in this regard, I am fed-up of this situation.
View 1 Replies
View Related
Dec 28, 2010
Assume I have plugged in an external USB hard disc.
How can I find out (from terminal cmdline) the file system (ext2, ext3, reiserfs,...) of this hard disc?
From Ubuntu I know the two commands:
sudo blkid -c /dev/null
or
sudo fdisk -l
but these are not known in CentOS.
What are the corresponding cmds in CentOS?
View 5 Replies
View Related
Aug 26, 2011
I have a 2TB hard-drive connecting via a usb port on my server for automatic backups. I noticed the backups had stopped working and then I realize I had lost the ability to communicate with the drive.
/sbin/lsusb gives:
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046b:ff10 American Megatrends, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046b:ff01 American Megatrends, Inc.
Bus 001 Device 005: ID 059f:1018 LaCie, Ltd
[Code]...
View 1 Replies
View Related
Nov 13, 2009
I have centos 5.3 installed. I plugged in a WD usb external HD, Icon is showing up on desktop everything is working formatted with ext3. I would like to have an entry for this in my /etc/fstab file, and I need to know how to enable Quotas on some files on it.
View 3 Replies
View Related
Aug 6, 2010
I just got a new WD Studio External USB 2.0/FW800 hard disk drive, it is formatted to HFS+ with Journaling (hfsplus) and I use it for both an iMAC and a PC/Linux. The problem is that on my PC (Linux - Ubuntu 9.10) there is always some kind of read-only error whenever I try to edit, create, delete anything on it. I tried it on my iMAC and I'm able to read and write on it with no problem.
The mount command on Linux gives me: /dev/sdc3 on /media/My Passport type hfsplus (rw,nosuid,nodev,uhelper=devkit) Clearly indicating that it ("My Passport" on /dev/sdc3) is mounted as "rw" (read and write, not read-only). I tried connecting it via Firewire 800 and USB 2.0 and both give me the same results. I also tried fixing it in my iMAC using Disk Utility but it reports on problem and I clearly safely "Ejected" it before unplugging it from my iMAC.
View 1 Replies
View Related
Jan 4, 2016
Trying to go through some old hard drives I'd saved from a Mac we tossed years ago. Using a Sabrent USB adapter (USB-DSC9) I connected it to the Debian box and it mounts as /media. Here's the weird thing: although I can read all the random stuff, the directory with all my actual documents shows up as "you do not have the permissions necessary to view the contents". When I try to fix this with chmod, it tells me that the drive is read-only. Grr.
How do I mount the drive so that it's not read-only?
View 7 Replies
View Related
Jan 14, 2009
I have 2 ubuntu's: 1 on my ineternal hard drive, 1 on my external
When I startup without my ext drive =>GRUB error 21.
And when I plug it in I can choose: the standard ubuntu kernel is the one on my external, and the original one is listed under other...
I'd like to be able to startup without external hard drive and make the ubuntu on my internal drve the standard.
View 14 Replies
View Related
Aug 14, 2009
I'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.
In the %post I have :
%post --log=/tmp/post.log --erroronfail
mkdir /mnt/nfs
mount -o nolock 10.23.1.1:/csc/RemoteHome /mnt/nfs
I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).
Here is the remainder of the KS :
lang en_US.UTF-8
keyboard us
timezone US/Eastern
[Code]...
View 10 Replies
View Related
May 11, 2011
I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. I did a clean install of 10.10 on my primary hard disk (call her HDB) and from there proceeded to the 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive.
When mounting from file browser:
Code:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
The end of dmesg said the following:
Code:
dmesg | tail
[49.853308] wlan0: associated
[50.084874] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[52.859533] Intel AES-NI instructions are not detected.
[52.890955] padlock_aes: VIA PadLock not detected.
[60.710006] wlan0: no IPv6 routers present
[82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks) .....
[96.010858] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
[107.791812] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
[322.758948] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
[516.932403] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
For some reason my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:
Code:
# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
And this is as far as I've got. I'm really hesitant to start fiddling around and experimenting with possible fixes because the backup data on this drive holds a decade's worth of work for me and is extremely valuable (hence why I have a spare drive for backups). I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. Any safest way for me to recover this data? Data preservation is the #1 priority for me here. I need to copy all of this data over to my primary drive where Ubuntu is installed. After that, I can reformat this "broken" backup drive.
View 4 Replies
View Related
Jul 1, 2011
I am making backups and I need to make a cron job that mounts a 2nd local hard drive.
It is not listed in my fstab file and I mount it manually in nautilus (having to type a password). It is designated as /dev/sdb1 and /media/repo when it is mounted. Can I get cron to mount it and then add the password or do I have to add it to fstab?
View 3 Replies
View Related
Dec 13, 2009
I've updated my openSUSE 11.1 to 11.2 using installation DVD. After that, as system boots, I started to get lines like:
Code: FATAL: Module jbd not found
FATAL: Module mbcache not found
FATAL: Module ext3 not found and so on with different modules.. and this exact string several times:
Code: WARNING: All config file need .conf: /etc/modprobe.d/tv, it will be ignored in a future release. Finally I get:
[Code]....
View 4 Replies
View Related
Jul 20, 2010
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
View 6 Replies
View Related
Nov 24, 2010
I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.
Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.
These are the lines in my fstab
I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.
View 2 Replies
View Related
Jun 25, 2010
I am working from RHCE Study Guide 5th Edition by Michael Jang. Lab 1 for Chapter 6 says that I should be able to mount a remote NFS share as an ordinary user under their home directory.
However, mount requires root unless it's defined in /etc/fstab with the appropriate options. So would the following never work for a user?
Code:
I could define it in /etc/fstab, but then I would have to specify a "general" mount point for the mount, like /mnt/nfs and not specific to a user like the lab suggests above.
Is the book wrong on this? Even the answer for the lab makes no mention of using fstab to mount as non-root user and the above command is correct according to the solution.
View 2 Replies
View Related
Apr 9, 2009
Ive seen this a hundred times while searching google but I can't seem to get any of the fixes suggested to work for me.
Here are the specs code...
I have other servers on the same network with the same software/hardware that never loses its mount to the windows share, and nightly backups are run through those mounts. So why does the mount on this machine fail when we do a push? The only conclusion that I can come to is there is some sort of time out on the windows server that causes this. The other servers that have this same type mount use their share every night, where as the share on this server gets used once or twice a week. Once the mount hangs I can not unmount it, I have to reboot the server. Once the server is rebooted the push works fine. But then the next week when a push is tried it hangs. What else can I check?
UPDATE: I've also tried NFS mounts and autofs mounts and they hang as well
I enabled logging by echo 1 > cifsFYI and this is what I see in var/log/message code...
Ive removed the actual file names for security concerns. Any one have ideas as to why this is happening? The only other thing I can think of to try is to swap out the NIC but it's at a remote location so I can't do that right now.
View 5 Replies
View Related
Jan 25, 2010
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
View 2 Replies
View Related
May 14, 2010
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
View 2 Replies
View Related
Jun 3, 2011
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
View 6 Replies
View Related
Sep 11, 2010
I have been trying to install centos on my hp servers and when i get to partitions my hard drives the OS does not detect any harddrives. I have 4 scsi drives and i believe a intergrated smart array controller.
View 1 Replies
View Related
Apr 9, 2010
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
View 1 Replies
View Related
Feb 17, 2010
I am attempting to load CentOS 5 on an Acer 6900 desktop and I'm not even getting out of the starting gate. I am familiar with using linux but not the install procedure which is why I am beginning to dive into this. However, when I bring the system up off the Linux boot disk and go to install it's not even giving me the option of the controller so I can begin installing the os from the dvd-rom. This is what acer lists as the controller for the 6900: ich8 serial ata storage controller 2820 linux driver. I cannot find this driver for linux anywhere.
View 10 Replies
View Related
May 16, 2010
i upgrade a machine running centos 5.4 to 5.5 this morning. After the update the X start i saw the pointer and a black backgroud only the desktop doesn't appear.The machine is a barebone with this configuration
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)[code]....
and i solved the black screen problem changing the driver for i810
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
View 2 Replies
View Related
Feb 20, 2010
I have Centos5.4 loaded on a late 2008 MACBOOK Pro and would like to get wireless working. I've attempted to download the broadcom driver and create a driver module with no luck.
Using these instructions....
[url]
When I make the WLAN driver, I get this:
View 2 Replies
View Related
Nov 4, 2010
if I try to install a linux distro on an external hard drive, while I have windows XP on my primary, will the Linux stlil install a Grub on the Windows MBR. Or have I got that wrong.
View 2 Replies
View Related