LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-05-2006, 10:21 AM   #1
Shankarrajus
LQ Newbie
 
Registered: Dec 2004
Location: PA, USA
Distribution: FC2
Posts: 14

Rep: Reputation: 0
deb sarge: /sbin/init 432 dev/console file not found


Hi,

I am having Fedora -3 on my laptop , I want to try debian so I installed debian sarge from DVD, when I try to reboot I am getting the following error:

/sbin/init 432 dev/console file not found
Kernel panic: Attempting to kill INIT !!

I have installed debian on my new SATA harddisk (/dev/sda)and Fedora is in IDE harddisk(/dev/hda) and I have GRUB bootloader to select the OS. Anyone has solution for my issue ?

Thanks and Regards,
Ssr
 
Old 07-05-2006, 01:26 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Somehow, your /dev/console file must have been accidentally deleted. It is pretty easy to fix.

Boot into Fedora.
Then mount /dev/sda1 to somewhere (say /mnt/sda1)
Then, make sure sda1 is the correct partition: An `ls /mnt/sda1' should show Debian's root directory for your debian system (directories for boot, bin, dev, etc, home, lib, etc.). The important one here is dev.
Now, look to see what's on Debian's /dev directory: issue the `ls -l /mnt/sda1/dev'. The expected result is to have either nothing, or have only one or two files (none of which are not /mnt/sda1/dev/console).

Linux requires three `persistent' character files before it boots up. The rest are generated after init has loaded. These files (and their maj/min numbers) are /dev/console (5 1), /dev/null (1 3), and /dev/zero (1 5). You can create them (the ones that don't exist) like so:
Code:
$ mknod /mnt/sda1/dev/console c 5 1
$ mknod /mnt/sda1/dev/null    c 1 3
$ mknod /mnt/sda1/dev/zero    c 1 5
Now Debian should be able to load correctly. If, after restarting Debian, the same thing happens again, then there is a problem in the startup or shutdown scripts somewhere.
 
1 members found this post helpful.
Old 07-05-2006, 11:15 PM   #3
Shankarrajus
LQ Newbie
 
Registered: Dec 2004
Location: PA, USA
Distribution: FC2
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks Osor. I have checked for console file on the /dev/sda harddisk , unfortunately it is present along with zero and null file.

I have created new / partition and /boot partition on the /dev/sda harddisk, so i have two root parition each on /dev/hda and /dev/sda. Is this causing the error? If so what is the best method to install two linux distros in two different harddisk ?

Last edited by Shankarrajus; 07-05-2006 at 11:16 PM.
 
  


Reply

Tags
debian, installation, sarge



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
INIT: open(/dev/console): Input/output error pazkaw Slackware 13 03-25-2008 05:15 PM
432 can't open /dev/console billdlv81 Debian 1 06-23-2006 11:37 AM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 09:16 AM
INIT: no innitab file found behmjose Linux From Scratch 3 12-17-2003 05:17 AM
/sbin/xlogin file not found minor Linux - General 0 05-09-2001 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration