LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2004, 01:13 AM   #1
longhairhippy
LQ Newbie
 
Registered: Apr 2004
Distribution: CollegeLinux 2.5
Posts: 4

Rep: Reputation: 0
Question Only root can see second hard drive...


Hello!
I've just dove into the Linux world and I have to say I'm VERY happy to do so...But, College linux is way different that windersME. My problems are these:

1. Only root can see my 2nd hard disk. My user account says access denied. I've tried using the user manager to add me to the 'disk' and even the 'root' group...but to no avail. I'm guessing I don't want to be logged into root all the time...

2. How do I change the screen resolution here?

3. Hmmm....tux racer? Hopefully someone can tell me how to get it! I gotta waste some time to get over this headache

Again from Newbieland!
Brent Pedersen

Oh yea...KDE3.1 College linux 2.5 (slackware based...I think)
 
Old 04-22-2004, 01:27 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
post your /etc/fstab

you need to add a few things so users and see/mount/access that
2nd drive....................

screen res........
you need to edit your /etc/X11/XF86Config file..............
 
Old 04-22-2004, 01:30 AM   #3
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
Well where is your 2 hd is mounted? and what file system is it? if u want to write to this hd, u need to change the file permission on the mount point. I'm assuming u know how to use "chmod" comnnad.

I'm not that familiar with KDE3.1, and not sure if there is resolution change app in KDE, but if you do reconfigure the X and configure for the res u want. I think its Xconfigurator to configure the X.

U should be able to download tux racer from http://tuxracer.sourceforge.net/download.html.

Good luck
D
 
Old 04-22-2004, 01:36 AM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
If your mounting your second hard drive manually, as root, mount your second drive with a umask of 022. This will allow you to view your second hard drive, but will not allow you to write to it.

eg: ' mount -o umask=022 /dev/2ndhdd /mnt/mntpoint '

If possible, post your /etc/fstab

Good Luck, and also read the umask, mount and fstab man pages.

Kristijan
 
Old 04-22-2004, 02:51 AM   #5
longhairhippy
LQ Newbie
 
Registered: Apr 2004
Distribution: CollegeLinux 2.5
Posts: 4

Original Poster
Rep: Reputation: 0
The second hard disk is a 160g windowsME drive partitioned to a primary C: and 2 logical drives (on secondary partion) at D: and E:. To install Linux, I made a CL2.5 CD, and installed it on a 8.4gig HD as 'hda' and made my 136gig 'hdb'. This way, from the bios, I can simply turn off the 8.4 and I've got my windows 136 booting. I kinda figured I wouldn't be able to understand the dual boot thing right off hand...I was right

But I'm gunna get this stuff quick...Heres my fstab from linux:

none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /dev/pts devpts defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda2 swap swap defaults 0 0
/dev/hdd
/mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0

/dev/hda1 /mnt/hda1 auto defaults 0 0

/dev/hdb1 /mnt/hdb1 auto defaults 0 0

/dev/hdb5 /mnt/hdb5 auto defaults 0 0

/dev/hdb6 /mnt/hdb6 auto defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0

/dev/hdd /mnt/cdrw0 iso9660 defaults 0 0

/dev/hdc /mnt/dvdr0 iso9660 defaults 0 0
 
Old 04-22-2004, 07:54 PM   #6
longhairhippy
LQ Newbie
 
Registered: Apr 2004
Distribution: CollegeLinux 2.5
Posts: 4

Original Poster
Rep: Reputation: 0
Allright...I'm starting to get this. After trying some things and seriously messing everything up I had more than a dozen devices in my devices window. Some editing of fstab has taken care of this and I have to say it's not so hard when you make it all nice and pretty. At the end, it remounted hda1 automatically, and this gives me 2 hda's in my devices window. Can I get rid of one? (safely?)

Here is my new fstab:

none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /dev/pts devpts defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda2 swap swap defaults 0 0
/dev/hdb1 /mnt/hdb1 auto defaults 0 0
/dev/hdb5 /mnt/hdb5 auto defaults 0 0
/dev/hdb6 /mnt/hdb6 auto defaults 0 0
/dev/hdc /mnt/dvdr0 iso9660 defaults 0 0
/dev/hdd /mnt/cdrw0 iso9660 defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
# /dev/hdd /mnt/cdrom iso9660 noauto,user,ro 0 0
# /dev/hda1 /mnt/hda1 auto defaults 0 0
# /dev/hda1 //hda1 auto defaults 0 0
# /dev/hdb1 //hdb1 auto defaults 0 0
# /dev/hdb5 //hdb5 auto defaults 0 0
# /dev/hdb6 //hdb6 auto defaults 0 0
/dev/hda1 /mnt/hda1 auto defaults 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hard Drive --No Access as USER only ROOT (10.1) 1kyle Mandriva 1 10-31-2004 10:09 AM
mounted hard drive can only be accessed by root Flutterby Linux - Hardware 3 07-17-2004 04:52 AM
Hard drive problems on root partition atheist Linux - Hardware 8 05-27-2004 07:13 PM
when I mount my usb hard drive, I have to be root to access it? nakedpretzel Linux - Hardware 2 02-27-2004 10:47 PM
Root out of space, and hard drive has none too :/ WH16 Linux - Newbie 14 01-20-2004 07:03 AM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration