- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I want to come in linux prompt directly without input login name and password.How can I do?Ken is here?Pls help me? Tony ZhuLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want to use single user boot, you can also create a file (empty is fine I think) /etc/singleboot to force init to go into single user boot without passing command line args to the kernel. If you go this route you just need to add that file to the FileSystem project in the NIOS IDE and flash a new filesystem image to the board.
Tuck- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at this thread
problems with busybox (http://www.niosforum.com/forum/index.php?act=st&f=2&t=396&hl=busybox) Let me know if it helps...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ken,
I am so sorry to renew you too late,because now in my term only have one board,we have to use it by turns. Yes,the busybox filesystem can bypass the login,and can come into linux prompt:"#".But there are two questions waiting for your answer ,pls help: The first:How can I let the linux system autorun without input "nios2-termal" in the console? And the second:How can I bypass "Please press Enter to activate this console",before come into linux prompt:"#"? Thanks again! Tony Zhu- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at thread:
booting the linux (http://www.niosforum.com/forum/index.php?act=st&f=2&t=589&hl=serial,and,jtag) It has a basic answer to your first question. As for the booting straight to a shell prompt, according to the busybox documentation, you can switch::askfirst:-/bin/sh
with ::respawn:-/bin/sh
and that should send you straight to the prompt. For more information, please take a look at the busybox documentation (http://www.busybox.net/downloads/busybox.html) There are other methods, but the above is my own personal preference.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page