1 |
> |
2 |
> |
3 |
> Back to Gentoo. And battling my own errors... |
4 |
> |
5 |
> |
6 |
|
7 |
LOL |
8 |
|
9 |
Perhaps I shouldn't have written that :) |
10 |
|
11 |
I have a problem, I can't do "ls /" as that produces the error: ls: .: |
12 |
Permission denied |
13 |
I can however, cd to the root directory and I can list all other directories |
14 |
(that I've tried anyway). So I got the "brilliant" idea of adding "user" to |
15 |
the root directory in fstab. |
16 |
|
17 |
For those with similar inclinations I can now, from my own hard earned |
18 |
experience, tell you: don't. It is *not* a good idea! The box won't boot... |
19 |
|
20 |
I got "cannot execute /sbin/agetty" and "Id "cN" respawning too fast" (where |
21 |
N is number 1-6) and the boot process is stuck. Not even ctrl-alt-delete |
22 |
works. |
23 |
|
24 |
BUT, the problem remains: how do I fix ls-right to the root? My fstab look |
25 |
OK |
26 |
/dev/hda1 / ext3 noatime 0 1 |
27 |
/dev/hda2 none swap sw 0 0 |
28 |
/dev/hda3 /home ext3 noatime 0 2 |
29 |
/dev/hda4 /stuff reiserfs noatime 0 2 |
30 |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0 |
31 |
#/dev/fd0 /mnt/floppy auto noauto 0 0 |
32 |
|
33 |
# NOTE: The next line is critical for boot! |
34 |
proc /proc proc defaults 0 0 |
35 |
|
36 |
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for |
37 |
# POSIX shared memory (shm_open, shm_unlink). |
38 |
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will |
39 |
# use almost no memory if not populated with files) |
40 |
shm /dev/shm tmpfs |
41 |
nodev,nosuid,noexec $ |
42 |
|
43 |
I did a search on the forums, but haven't found anything really relevant. |
44 |
|
45 |
Regards, |
46 |
|
47 |
Martin S |