LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting and permission trouble. (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-and-permission-trouble-306839/)

spitfire999 03-27-2005 10:10 PM

Mounting and permission trouble.
 
I have a 74gb hard drive, on which i mounted a 250gb hard drive. After i mount it onto to the other hard drive, i have no permission to do anything on it. I tried creating custom permissons and even giving myself root permissions, but noting will work.

How do i fix this problem???

spitfire999 03-27-2005 10:19 PM

Adding hard drives
 
I have tried mounting my 250gb hard drive on a 74gb hard drive. I have formated the whole 250gb hard drive with and ext3 file system. When i reboot, i find that it can not boot. I thought it might be the bootloader, but i checked and it is on the 74gb hd where it should be. I am wondering if i need to add a linux swap partition or anything.
Any help???
Thanx

sgrayban 03-28-2005 12:25 AM

uhh you dont mount a hard drive within a hard drive. you mount it with 'mount' which mounts the drive as hd'x'.

read up on fstab

huibert.alblas 03-28-2005 04:08 AM

What do you mean by "givving myself root permissions?"
Because you did not give any details on what you did exactly I will show you how I do this:


Code:

in /etc/fstab I have following line
/dev/sda2      /mnt/BIG_DISK  auto    rw,user,noauto  0      0

Then:
Code:

su - {give password}
mount /mnt/BIG_DISK
cd /mnt/BIG_DISK
mkdir USER_DIR
chown username.users USER_DIR

Or something similar.
This works.

If you still have problems you must give more detail in what you did exactly,
what mount parameters did you use, and such things.

harken 03-28-2005 04:25 AM

It's a bit unclear to me how have you mounted a harddisk onto another one. Each harddisk, when mounted, gets attached to the file hierarchy and that's all.
Anyway, please post back the exact options used with the mount command and the filesystem type present on the "other" HD.

Please don't post twice in the same forum. You already posted at http://www.linuxquestions.org/questi...hreadid=306842

Mara 03-28-2005 04:53 PM

Two threads have been merged. Together they show the situation in more detail and, after all, the questions are closely related.

1. Have you moved the disks? The smaller one should be primary master, because it has bootloader installed.

2. How do you mount the other partition? Plase show the command you use.


All times are GMT -5. The time now is 06:14 PM.