LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2002, 11:00 AM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Boot Problems :(


I'm experimenting with making my own 'boot ramdisk' and I get
the error message 'Warning: Unable to open initial console' or
something along those lines after the kernel initialises and
attempts to execute init.

I'm loading the kernel w/ loadlin with the following...

loadlin c:\bzImage root=/dev/ram initrd=c:\ramdisk.gz

My kernel is the same kernel I use for 'normal' bootup
(which works btw).

The ramdisk image was created on a loop device using the following...

mke2fs -b 1024 -m 0 ramdisk.img

and contains the following directory structure...

/bin
echo
sleep
ash

/sbin
init
shutdown
halt

/dev

/etc
inittab
rc.sysinit

/lib
libc.2.2.so (not sure if that's the exact filename)
ld-linux-2.0.so (ditto)

/proc

rc.sysinit contains only the following lines...

echo Testing
sleep 3
shutdown -h 0
 
Old 04-16-2002, 01:47 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164

You need to populate /proc (look into howto about bootdisks, it'll help you).
 
Old 04-17-2002, 03:33 AM   #3
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
Re:

Quote:
Originally posted by Mara
You need to populate /proc (look into howto about bootdisks, it'll help you).
isn't /proc populated by the kernel?????????
 
Old 04-17-2002, 12:03 PM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
I found the problem....forgot to create a dev node for /dev/console......
 
  


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
dual boot problems, now no boot loader after fixmbr mipia Debian 2 04-04-2004 10:43 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 10:14 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 07:05 AM
Boot problems, carn't boot Linux anymore Thom_Redhat Linux - General 2 01-01-2004 09:21 AM
Boot problems, NTLDR missing but trying to boot on second hard drive Outabux Linux - Newbie 0 04-09-2003 06:29 PM


All times are GMT -5. The time now is 02:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration