LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-20-2005, 10:23 AM   #1
caljjc
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Where is FC4 bootCD init source code?


I expanded initrd on the FC4 bootCD (Rescue CD) and discovered that the init file is binary (compiled code). This file used to be the linuxrc file and is used to direct the behavior of the FC4 boot. I have installed FC4 on a USB external drive and I want the CD to boot directly to FC4 on the USB drive without prompts. I want to remove the boot prompt and let the rest of init do its magic.

Does anyone know where I can find the source code to init on the FC4 bootCD?
 
Old 10-21-2005, 04:53 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
I want to remove the boot prompt and let the rest of init do its magic.
Why don't you just edit the /isolinux/isolinux.cfg ?
Change timeout 600 or maybe even remove that line completely.
 
Old 10-24-2005, 04:09 PM   #3
caljjc
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
The isolinux is used as the bootloader for vmlinuz. It also contains the options for the five function keys. I removed all but the linux (default) option and made a boot disk. However, the boot menu is still displayed because it is also in the binary init file, which you can see by using the strings command on it.

As I understand it, the boot CD first boots isolinux, which is totally controlled by isolinux.cfg. Subsequently it loads the initrd, which runs init. init displays the boot prompt and information messages from the boot CD and finally loads and is replaced by the Linux on the USB or IEEE-1394 hard drive.

I have edited the isolinux.cfg and removed the boot prompt code and that part works well. My problem is when init runs, the boot fails. Therefore, I need something of which I am not aware in the init file.
 
  


Reply



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
FC4 installation error: no init found ign_handoko Fedora - Installation 1 11-12-2005 10:52 PM
Problem Compiling C code on FC4 BBPS Programming 4 09-30-2005 11:23 AM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
Source code hey_joe Linux - Newbie 1 03-14-2004 01:06 PM
Source code for init? sourceman Linux - General 3 02-19-2002 09:07 AM

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

All times are GMT -5. The time now is 03:31 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