Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ls of /
Date: Fri, 23 Dec 2005 05:54:12
Message-Id: 43AB9001.8040903@exceedtech.net
In Reply to: [gentoo-user] ls of / by Martin S
1 Martin S wrote:
2
3 >
4 > Back to Gentoo. And battling my own errors...
5 >
6 >
7 >
8 > LOL
9 >
10 > Perhaps I shouldn't have written that :)
11 >
12 > I have a problem, I can't do "ls /" as that produces the error: ls: .:
13 > Permission denied
14 > I can however, cd to the root directory and I can list all other
15 > directories (that I've tried anyway). So I got the "brilliant" idea of
16 > adding "user" to the root directory in fstab.
17 >
18 > For those with similar inclinations I can now, from my own hard earned
19 > experience, tell you: don't. It is *not* a good idea! The box won't
20 > boot...
21 >
22 > I got "cannot execute /sbin/agetty" and "Id "cN" respawning too fast"
23 > (where N is number 1-6) and the boot process is stuck. Not even
24 > ctrl-alt-delete works.
25 >
26 > BUT, the problem remains: how do I fix ls-right to the root? My fstab
27 > look OK
28 > /dev/hda1 / ext3
29 > noatime 0 1
30 > /dev/hda2 none swap
31 > sw 0 0
32 > /dev/hda3 /home ext3
33 > noatime 0 2
34 > /dev/hda4 /stuff reiserfs
35 > noatime 0 2
36 > /dev/cdroms/cdrom0 /mnt/cdrom iso9660
37 > noauto,ro,user 0 0
38 > #/dev/fd0 /mnt/floppy auto
39 > noauto 0 0
40 >
41 > # NOTE: The next line is critical for boot!
42 > proc /proc proc
43 > defaults 0 0
44 >
45 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
46 > # POSIX shared memory (shm_open, shm_unlink).
47 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
48 > # use almost no memory if not populated with files)
49 > shm /dev/shm tmpfs
50 > nodev,nosuid,noexec $
51 >
52 > I did a search on the forums, but haven't found anything really relevant.
53 >
54 > Regards,
55 >
56 > Martin S
57
58 This is my fstab:
59
60 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
61 > /dev/hda1 /boot reiserfs noatime,notail 1 1
62 > /dev/hda5 swap swap defaults 0 0
63 > /dev/hda6 / reiserfs defaults 0 1
64 > /dev/hda7 /home reiserfs defaults 0 1
65 > /dev/hda8 /usr reiserfs defaults 0 1
66 > /dev/hda9 /usr/portage reiserfs defaults 0 1
67 > /dev/hdc /media iso9660
68 > noauto,ro,users 0 0
69 > /dev/fd0 /media auto
70 > noauto,users 0 0
71 > /dev/hda10 /mnt/data reiserfs defaults,rw 0 1
72 > #/dev/hda12 /distfiles reiserfs defaults,rw 0 1
73
74
75 Why did you do that? LOL It may have sounded like a good idea at the
76 time but I bet you learned why not. Me wise, I learned not to do that.
77 It's better to learn from others than to do it yourself. o_O
78
79 Hope that fstab helps, though it is simple as it gets. It works though.
80
81 Dale
82 :-)
83
84
85 --
86 To err is human, I'm most certainly human.
87
88 I have four rigs:
89
90 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
91 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
92 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
93 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.
94
95 All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.
96
97 --
98 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ls of / Martin S <shieldfire@×××××.com>