Martin S wrote:
Back to Gentoo. And battling my own errors...
LOL
Perhaps I shouldn't have written that :)
I have a problem, I can't do "ls /" as that produces the error: ls: .:
Permission denied
I can however, cd to the root directory and I can list all other
directories (that I've tried anyway). So I got the "brilliant" idea of
adding "user" to the root directory in fstab.
For those with similar inclinations I can now, from my own hard earned
experience, tell you: don't. It is *not* a good idea! The box won't
boot...
I got "cannot execute /sbin/agetty" and "Id "cN" respawning too fast"
(where N is number 1-6) and the boot process is stuck. Not even
ctrl-alt-delete works.
BUT, the problem remains: how do I fix ls-right to the root? My fstab
look OK
/dev/hda1 / ext3
noatime 0 1
/dev/hda2 none swap
sw 0 0
/dev/hda3 /home ext3
noatime 0 2
/dev/hda4 /stuff reiserfs
noatime 0 2
/dev/cdroms/cdrom0 /mnt/cdrom iso9660
noauto,ro,user 0 0
#/dev/fd0 /mnt/floppy auto
noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc
defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs
nodev,nosuid,noexec $
I did a search on the forums, but haven't found anything really relevant.
Regards,
Martin S
This is my fstab:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot reiserfs noatime,notail 1 1
/dev/hda5 swap swap defaults 0 0
/dev/hda6 / reiserfs defaults 0 1
/dev/hda7 /home reiserfs defaults 0 1
/dev/hda8 /usr reiserfs defaults 0 1
/dev/hda9 /usr/portage reiserfs defaults 0 1
/dev/hdc /media iso9660
noauto,ro,users 0 0
/dev/fd0 /media auto
noauto,users 0 0
/dev/hda10 /mnt/data reiserfs defaults,rw 0 1
#/dev/hda12 /distfiles reiserfs defaults,rw 0 1
Why did you do that? LOL It may have sounded like a good idea at the
time but I bet you learned why not. Me wise, I learned not to do that.
It's better to learn from others than to do it yourself. o_O
Hope that fstab helps, though it is simple as it gets. It works though.
Dale
:-)
--
To err is human, I'm most certainly human.
I have four rigs:
1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two
80GB hard drives.
2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB
drive.
4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB
SCSI drive.
All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.
--
gentoo-user@gentoo.org mailing list