Debian :: Restore User Directory After Trying To Mount A SATA Drive

Jan 21, 2011

This is on Debian Lenny 5.0.7 with a LXDE desktop. Using Root Terminal I have just been trying to mount a SATA drive NTFS file system using the command: mount -t ntfs /dev/sdb1 /dev/

unfortunately the /sdb1 should of been 'sdc1', I think, and what's happened is that my username and files have been moved somewhere else. PCMan File manager has ceased to work and open applications have ceased to be able to save files.

How do I discover where they went, and how do I restore them back to the original place of debian:/home/username/ ?

I'm about 8 hours in to learning Linux/Debian and desperately trying leave behind about 15 years of Windows use for something better. I'm used to troubleshooting electronics/hardware/all manner of things but the syntax here is, at the moment, a slippery slope.

View 2 Replies


ADVERTISEMENT

Hardware :: SATA Hard Drive Will Not Mount

Aug 2, 2011

I have a number of drives that I am setting up for friends who wish to switch/alternate from Windoze. So far several completed. One particular drive is being a bit difficult. When checked on my system[10.10] by Sata/USB wire it reads OK and gives the following info. 200GB, 768kb used, file sys Ms-Dos

When installed on the Mobo as main drive and machine booted set to boot from HD it sometimes reports 'No Drive Found' Reset the BIOS to boot from CD and Load Ubuntu from DVD- it goes through load routine then reports 'Error- cannot Mount drive[or words to that effect] Tried installing frm CD/DVD drive to the disk via the SATA/USB wire But that failed also with CD Auto load error So the disk seems to need setting up in some way to suit Linux presumably just like FDisk in Dos/Windoze

View 8 Replies View Related

Ubuntu Installation :: Ubunto 8.04 Cannot Detect Sata Hard Drive Or Sata Drive Cdrw?

May 28, 2011

ubuntu 8.04 server can not detect seagate sata hard drive 2tb or sata Lg dvdrw x22 sata drive .is it possible to install it without buying a pci ide sata card?is it possible to get a driver for sata driver and sata drive that can be recognise by ubunto 8.04 server ?or to get the files for 1.44 floppy diskdoes the late edition of unbutu recognise sate hdd and sata cdrw drive automaticly during the installation of the unbutu?

View 1 Replies View Related

Debian :: Add New Sata Drive Without Reboot

Feb 4, 2011

We have an external raid box connected to a debian squeeze server.Every new volume set I have created will be detected (as /dev/sdx) after a reboot. As this is our file-server I cannot reboot the server every-time a new volume set is created.Is there a way to make this new device visible.I tried already 'partprobe' and restarting udev didn't work eather.What is a good way to do this?

View 3 Replies View Related

Networking :: Mount Windows Directory As Non Route User?

Sep 19, 2010

I've a redhat server and a windows 2003 server. The windows box has a shared directory on it that I want to mount on the linux box. This I can do no problem using the following command:

mount -t cifs -o username=windowsuid,password=mypass //winservername/directory /mnt/directory

This all works perfectly however I need to mount this as a non root user. This is where I'm having difficult. I constantly run into "only root can do that". I've edited the fstab and added the entry in there for the mount with the flag user or users and neither makes a difference. I've also tried editing the sudoers file and still the same.

View 4 Replies View Related

Debian :: SATA DVD Drive Not Detected During Lenny Install?

Nov 17, 2010

I am trying to install Debian 5.0 "Lenny" on a PC with a very new hardware config (i3 processor, DDR3 RAM,LG SATA DVD drive, and Seagate SATA HDD). During the hardware detection phase of installation, I get a message saying the driver for my CD drive is not known, and asking me to select one manually. The options I get are only 'devcdrom', which does not work, and my installation cannot proceed.

I tried the following:

1. I read in a similar query that to use SATA DVD drives, I will have to set some boot options, so tried entering install libatapi_enabled=1 as an install option. This showed 'unknown parameter' error followed by same problem.

2. My Intel m/b BIOS has an option to set the DVD drive to "Native" or "Legacy", default is Native. I also tried changing this to "Legacy". Still same problem.

3. Read that I have to point to different drivers, but don't know how to do this during the installation.

View 1 Replies View Related

Software :: Limit Mount Points Of SSHFS To Just User's Home Directory

Apr 21, 2010

We recently had a serious loss of data because of SSHFS mounting. A user in our group mounted the entire home directory of our server (/home). This was so they could easily move between user folders to read/write data from other people involved in the same project. They then deleted several folders that were not in there home directory.

Now I know this is a bad idea and that there should be a dedicated "projects" folder where everyone collaborates and does their stuff. Such a folder/system exits but I can't make them use it. My question: Is there anyway to configure SSHFS such that the only thing the user's can mount is their home directory? Obviously this won't fix the problem since they can sym-link to other folders but I've got to start somewhere. Perhaps there's a better solution (one that doesn't involve me nagging users about proper form).

View 4 Replies View Related

Fedora :: Mount Nfs Drive As Other User

Nov 19, 2009

This is not a particular Fedora issue, but I take the chance

How can I mount a network (nfs) drive (on a RHEL4 machine) from my FC11, but as another user.

E.g. I would like to mount the folder /home/userA on the network drive. But my local username is userB. Hence I don't seem to have access to mount the drive.

sudo mount -t nfs eda4:/home/userA /mnt/eda4 gives the message: "mount.nfs: access denied by server while mounting (null)"

I have put a broadcast address in /etc/exports and started an nfs daemon on the remote server.

View 3 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

Hardware :: Installing Debian To A Hard Drive That Is Connected To The Computer By A SATA Card

Jun 13, 2010

I have an old computer that I want to turn in to a backup server. I was planning on using a 1 TB drive connected by a SATA card since the motherboard only has PATA. However when looking everything I've found makes it sound like I need to install the card for it to work. I want to know if I can install Debian to the hard drive through the SATA card or not?

View 6 Replies View Related

Ubuntu :: Mount NTFS Drive For Other User ?

May 5, 2010

I have a ntfs-partition that I will use for documents for me and another user. I works fine for me.

The partition is mounted and I can read/write.

However, for the other user the partition is not showing up. What to do?

I've tried changing the permissions from nautilus, but no success.

View 9 Replies View Related

Ubuntu :: Restore Data From Sata Hd Partition

Sep 4, 2010

Ive installed ubuntu for the first time today, i have a hdd of 500gb, that had 65gb occupied with music, movies and games.

What i did during installation:

it asked me where to install it, so i created a new partition of 100gb ext4 type, to install it there, and i was going to leave the rest for the data, but it wont let me do it, so i went back and selected the "exchange type swap linux 0x82 type" for the 400gb partition.

Then installed it, and now i cant find my data, and i have only 100gb of space in the hd, if i use the "disc utility" i can see the other 400gb, and change partition type, but i dont want to lose my data..

View 9 Replies View Related

General :: Unable To Mount A Pen Drive (which Is Formatted In Ext2 Format) With Directory Permission?

Mar 27, 2010

i am not able to mount a pen drive (which is formatted in ext2 format) with directory permission drwxrwxrwx and file permission as -rw-rw-rw.

View 3 Replies View Related

OpenSUSE Network :: User Permissions And Auto-mount On Windows Drive

Feb 11, 2010

I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:

Code:

mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.

I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:

Code:

/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4

[code]....

Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.

View 6 Replies View Related

Software :: Mount Network Attached Hard Drive As Non-Root User

May 1, 2010

I have Kubuntu 10.04 Lucid installed on my new laptop and I'm trying to get my backup script up and running again. I had a script that would connect using smbmount with my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It seems that rsync needs to be run as user account, not root, to work properly.Some of the setup info for getting this running in Kubuntu Karmic was from this article:

However, smbmnt does not exist in *buntu 10.04. Is there any other way to connect NAS drives as non-root user that is relatively secure? I spent all day yesterday struggling with this and still haven't found a solution.

View 2 Replies View Related

Debian :: Check If Mainboard Supports SATA-I Or SATA-II?

Jun 1, 2010

My motherboard supports SATA but I do not know which version: SATA-I or SATA-II. I want to buy a SSD so it would be pointless to buy a fast SSD if my motherboard only suports SATA-I

View 7 Replies View Related

Ubuntu :: Live Disc Mount Hard Drive - Root User Access?

Mar 23, 2009

My wife's XP has crashed and I need to save files. I've discovered the command to mount the hard drive - unfortunately I need to force the mount, but I can't do it because I have to be in root. I can see the root user in the user list, but when I try to switch I can't access it. How I can do it to back up my wife's files. I have Kubuntu 8 and KDE 4.1.

View 2 Replies View Related

Slackware :: USB Flash Drive Mount When Simple User - Can't Open With File Manager

Aug 22, 2010

I always have a problem in simple user mode when I insert a USB key. Can't mount, can't open with file manager. I'm obliged to open a simultaneous root session, to do what I want to manage the usb key.

In my user manager, I don't know wich group I have to add to this simple user (it's me) so I am allowed to manage the usb key.

View 6 Replies View Related

General :: Copy Files From Directory Of One User To Directory Of Another User?

Apr 15, 2011

Is it possible to copy files from directory of one user to directory of another user in linux?

View 7 Replies View Related

Hardware :: Can SATA 3 (SATA III) Hard Disk Be Run On Motherboard Which Only Support SATA II

Aug 13, 2010

Can SATA 3 (SATA III) Hard disk be run on motherboard which only supports SATA II, except sacrificing the speed (throughput)?

View 2 Replies View Related

Ubuntu :: When Went To Mount D Drive (like Usually Do In Windows) Got The Error Message "directory D: Does Not Exist"?

May 7, 2010

i'm running ubuntu 10.04 and windows vista on my laptop and I installed Dos box on ubuntu quite some time ago, when i went to mount my d drive (like i usually do in windows) I got the error message "directory D: does not exist" i tried to fix it myself but i gave up because it wasnt that important. A while later i read on a webpage that "Linux doesnot employ the concept of drive letters" so i thought this must be the reason for this error message but why would there be dosbox for linux if that was the case

View 2 Replies View Related

Debian :: Rename An Existing User And His Home Directory?

Sep 29, 2009

How is the best way to rename an existing user and his home directory under Debian Lenny? BTW I'd like to have the same settings like Desktop Icons, Bookmarks etc.

View 5 Replies View Related

Fedora :: Clone An IDE Drive To A SATA Drive?

Dec 28, 2009

would it be possible to clone an IDE hard disk (on which I installed Fedora 10) on a SATA hard disk, and that programs can succeed

View 10 Replies View Related

Debian :: Administrator Access To Normal User Home Directory

Nov 29, 2015

In my recent installations of Debian stable release (Jessie) with Gnome and Cinnamon respectively, I added my wife as a normal user. A home directory was created automatically for her.

In these installations, I am able to access her home directory, while, in the past, I was not allowed to access her home directory on previous Debian releases.

View 1 Replies View Related

Debian Configuration :: Restrict FTP Access To User's Home Directory Only

Jan 18, 2011

2 of us have been googling all morning trying to find out how we can restrict ftp logins to their own home directories only but nothing we've found so far has worked. We've tweaked sshd_config so that they default to their home directory but they are able to navigate up/across/down to everything. This is a "straight-out-of-the-box" debian 5.0.5 Netinst. Just a basic system with Apache/MySql/PHP/SSH and no desktop.

View 6 Replies View Related

Debian Configuration :: Limit All Users To Use Only Their Own / Home / User Directory

Feb 1, 2011

I need to add another user besides the one set up during the installation procedure but I also need to limit all users to use only their own /home/user directory.

View 4 Replies View Related

Debian Configuration :: Change Homedir In Active Directory User?

Feb 2, 2011

I followed these steps to add a client to my active directory domain, everything is working as expected except that when a username has whitespace it creates a directory in /home with whitespace and gconf fail to access his config dir in the user's home. KDE also fails to start but I don't know what's failing yet. I found that the easiest way to fix these issues is to replace whitespaces by underline in homepaths so I changed the pam_mkhomedir source to replace the whitespaces and save it using the usermod command. It should work but is not... the reason is that I can't change the user data using the usermod because domain users are not in /etc/passwd.

View 5 Replies View Related

Debian Multimedia :: How Does Gnome Mount Partitions As Normal User

Sep 2, 2010

When I mount a USB partition from the console, I need to execute mount as root unless I add a line in /etc/fstab. However, Nautilus mounts my USB stick automatically without asking for root permissions and without any entry in/etc/fstab. How does it do this?

View 6 Replies View Related

Debian :: How To Mount A Hard Drive

Dec 11, 2010

I am using KDE 4.5 and I am unable to mount a hard drive in Dolphin.

I get the error message:org.freedesktop.Hal.Device.Volume.PermissionDenied: Refusing to mount device /dev/sdb1 for uid=1000

The filesystem for the drive that I want to mount is ext4 and the label is "repo"

View 2 Replies View Related

Debian :: Cannot Mount Second Hard Drive?

May 22, 2010

I have a secondary NTFS hard drive in which i can not mount. Here is the output for fdisk -l:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved