LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-28-2007, 10:53 AM   #1
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Fails to boot - rcS /dev/tty1: No such file or directory


Hi,
Me and a friend are trying to install debian on a flash disk which will then be used on a pc104 where it appears as a normal hard drive (since the flash reader is connected on the ide buss). We're using debootstrap to install the os to a dir on our main computer and then chroots into it to install kernel and such and finally we copies it to the flashcard and writes boot loader (grub). In order to make it easier to reproduce we have written scripts to handle it all: http://user.it.uu.se/~lelj1171/, in scripts.
make_full_OS.sh - installs the os in a subdir
make_striped_OS_flash - copies the os to the flash disk, it's also supposed to strip the os to bare minimum of what we need but we haven't got that far yet.

We managed to get it start booting on the pc104 but after a while we get:
/etc/init.d/rcS: line 199: /dev/tty1: No such file or directory

...

INIT: Entering runlevel: 2
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes

We tried modifying /etc/inittab in various ways:

We tried using
1:2345:respawn:/sbin/getty -L 38400 tty1
or (after installing mingetty)
1:2345:respawn:/sbin/mingetty 38400 tty1
instead of
1:2345:respawn:/sbin/getty 38400 tty1

We tried to comment out all of those rows, tried leaving just the first, etc.
We tried changing the run level to 1 and then it seems to boot fine, we get stuck on "Press enter to do maintenance" since we don't have any input options on the pc104 (someone managed to lose the input dongle). But even if it booted fine it wouldn't be an option, we need run level 2 (for obvious reasons).

Anyone that has any suggestions on what might be wrong?

Thanks in advance
Leon Ljunggren
 
Old 03-29-2007, 09:05 AM   #2
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
We managed to get it booting.
What we had to do was first create the nodes while chrooted into the os on our main computer using mknod tty1 c 4 1 (etc) and then use 1:2345:respawn:/sbin/getty -L 38400 tty1 (etc) in inittab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
logs sent to /dev/console appear on /dev/tty1 lfur Linux - General 3 01-08-2008 01:19 PM
2.4 kernel w/ devfs "/dev/tty1-8: No such file or directory" hedpe Linux - Software 0 05-19-2006 05:37 PM
[SOLVED] su - mysql; /dev/tty1 operation not permitted Wim Sturkenboom Linux - Software 6 04-20-2006 11:25 PM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 08:14 AM
/dev/tty1 no longer exists Steerpike Linux - Newbie 3 11-27-2004 11:16 AM


All times are GMT -5. The time now is 04:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration