Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: /dev/tty[1-4]: Permission denied on ro-CF card, unable to open a console< Next Oldest | Next Newest >
crschaef Offline





Group: Members
Posts: 3
Joined: Aug. 2006
Posted: Aug. 22 2006,10:33 QUOTE

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?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 22 2006,13:40 QUOTE

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?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
crschaef Offline





Group: Members
Posts: 3
Joined: Aug. 2006
Posted: Aug. 22 2006,14:14 QUOTE

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?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 22 2006,18:23 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
crschaef Offline





Group: Members
Posts: 3
Joined: Aug. 2006
Posted: Aug. 23 2006,06:57 QUOTE

ok i think i've messed up some terms about the frugal install

i 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.
Back to top
Profile PM 
4 replies since Aug. 22 2006,10:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: /dev/tty[1-4]: Permission denied on ro-CF card

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code