/dev/tty[1-4]: Permission denied on ro-CF cardForum: HD Install Topic: /dev/tty[1-4]: Permission denied on ro-CF card started by: crschaef Posted by crschaef on Aug. 22 2006,10:33
Hi,yesterday i installed my first DSL 3.0.1 on a CompactFlash card. I did this by booting the DSL-CD and choosing Frugal-Install on Harddisk. My CompactFlash card was inserted accessable as /dev/hde (via pcmcia-ide adapter and ide-cs). When i boot DSL from CF (Note: the CF-Card is mounted readonly) i have to enter the PWD for user >root< and >dsl<. Then i get many: /bin/sh: line 1: /dev/tty[1-4]: Permission denied I changed my /dev/tty[0-9]? to 0666 but this does not work. Does anyone know whats wrong here? Is this because my CF is ro? Posted by mikshaw on Aug. 22 2006,13:40
With a frugal install the ttys are running from ram, so i don't think it has to do with the CF.I've seen issues with tty permissions in DSL due to the default settings logging in root automatically, which would mean that root owns the tty and certain things cannot be easily done by user dsl. However, I haven't seen problems that occurred simply from logging in, and changing permmissions or ownership of the tty fixed them. So.....I'm not sure. Could you be more specific about your setup (boot settings, hardware, anything beyond default DSL settings) and the sequence of events up to the point of the error? Posted by crschaef on Aug. 22 2006,14:14
Ok,i plan to use DSL on my CF-card with a NetVista N2200 thin client. I made changes on the /etc/rcS.d/S00<name> script, because the distro said: "I'm installed on a Harddisk". So i forced the script to be INSTALLED="" so it acts like on a liveCD I also had to change the automatically installation-setup in /etc/fstab from /dev/hde to /dev/hda (N2200 uses this IDE-device only) >> With a frugal install the ttys are running from ram, so i don't think it has to do with the CF. << i also do not have a ramdisk and i have static /dev/tty's on the CF (no fstab-entry and nothing in mount's output about the ramdisk) Did i installed it in a wrong way? It feels like ... Is there any way to install DSL on a CF card on another way? Posted by mikshaw on Aug. 22 2006,18:23
So this is apparently not a frugal install. It looks like you might be running a traditional-style harddrive install on your CF, which definitely would be a problem if the disk is mounted read-only (and will wear out your CF quickly if read-write).Simply changing the INSTALLED variable is not going to make a HD install behave like a frugal install. As far as I know, that variable is checked when doing some startup tasks, but if you don't have a ramdisk you don't have frugal. Posted by crschaef on Aug. 23 2006,06:57
ok i think i've messed up some terms about the frugal installi digged a little deeper in this and found that a frugal installation will not work for me (anyway i do not have it on my CF). To boot my N2200 I have to specify the relative kernel location on the CF card. The N2200 will first download the image and then execute it. if i see it right, the frugal installation uses a kernel-image with an initrd. This situation does not work for me because the N2200 needs all (necessary) drivers compiled in (without an additional initrd). So maybe i have to look for another way to get a customized linux so solve my needs. Thanks for your help anyway. |