Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, I am working on embedded platform. I have TI's OMAP processor board and using angstrom 2.6.28-omap1 Linux distribution. At the end of booting Linux distro, I need to type ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15

    How to remove dependency of input giving "root" after kernel bootu


    Hi,
    I am working on embedded platform.
    I have TI's OMAP processor board and using angstrom 2.6.28-omap1 Linux distribution.
    At the end of booting Linux distro, I need to type "root" from the Teraterm ( serial connection ) to enter into root mode on the board. Then it goes to root like
    "root (at the rate) Board:" is displayed. Now I can load my application and execute the program.

    But I would like to remove this dependency of giving input from the user.
    Could you please tell me how should I remove this dependency ?

    Someone suggested to look at /etc/inittab and change
    id:5:initdefault: to id:1:initdefault:

    But it is not worked out.

    For reference I copied the file /etc/inittab attached
    Your help is appreciated.

    TIA
    Attached Files Attached Files

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,244
    Try using sulogin in your rc.local file.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15
    Hazel,
    The distribution does not have the rc.local file.
    Could you pleae suggest me what to do?

    I am new to linux.

    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Should be located at /etc/rc.d/rc.local

    Last file listed here:
    The Slackware Linux Project: Configuration Help

  6. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15
    No.
    It is not having /etc/rc.d/
    But it has /etc/rc5.d/ and no rc.local file in this also.

    in /etc/inittab I have set id:5:initdefault:

    Pls help

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Whoops. Sorry about that. For some reason I thought I saw something about slackware in your post. Might of been thinking of a different post.

    I've never heard of Ångström linux before. I would check with their discussion board or IRC channel.
    Discussions - Beagle Board | Google Groups
    HowToJoinBeagleChatGroup - beagleboard - A cookbook on getting a Windows IM/Chat Client running and connected with the Beagleboard chat group. - Project Hosting on Google Code

    But according to their manual, it is a debian-like distro and Debian doesn't have an rc.local by default. You can make one.
    Destiney's Reality :: Blog Entry :: Debian rc.local howto

  8. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15
    I used mingetty command instaed of getty at

    Old Line :

    S:2345:respawn:/sbin/getty 115200 ttyS2

    New Line:

    S:2345:respawn:/sbin/mingetty --noclear --autologin root ttyS2

    Thank you all for your great support...

  9. #8
    Just Joined!
    Join Date
    Jan 2010
    Posts
    1
    Hi,
    I'm facing the same problem. Do you know how to install mingetty to beagleboard? Thanks.

    Quote Originally Posted by emperor410 View Post
    I used mingetty command instaed of getty at

    Old Line :

    S:2345:respawn:/sbin/getty 115200 ttyS2

    New Line:

    S:2345:respawn:/sbin/mingetty --noclear --autologin root ttyS2

    Thank you all for your great support...

  10. #9
    Just Joined!
    Join Date
    Aug 2009
    Posts
    15
    I took mingetty and have installed it on"ramdisk", which was used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •