LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2004, 10:06 AM   #1
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Rep: Reputation: 30
Slow booting ramdisk (isolinux)


Heya.. After alot of running around I figured most of the things out needed to build a ramdisk (for a later distro project). I made a 16mb file (16384kb to be exact) and I put these options in isolinux.cfg:
Code:
default NORMAL
timeout 300
promt 1
display message.txt
F1 message.txt
F2 f2.txt
F3 f3.txt

label NORMAL
   KERNEL kernel
   APPEND initrd=initrd.gz acpi=off root=/dev/ram init=/linuxrc
   
label NORMAL2
   KERNEL kernel2
   APPEND initrd=initrd.gz ramdisk_size=16384 rw root=/dev/ram init=/linuxrc
Now here's problem nr 1. When i pop the disk in. It doesn't sit there waiting for me to input which choice I want. It boots straight away off the NORMAL selection.

But the real problem is that the system kinda hangs after the kernel finishes with a "Freeing unused kernel memory: ???k freed {depending on which kernel I compiled})

Usually it wakes up after I hit enter or (more often: CTRL + C) then busybox kicks in and things seem to be progressing although not too quickly.

I've looked over and over and I can't really find out what this is.. I use approx 49% of the kernel image I made. To make the empty image I used the instructions from here:
http://www.lissot.net/partition/ramdisk.html
under "Making a generic ramdisk image"

only change was that count was set to 16 instead of 4.

Busybox is statically compiled and I made sure to include the libs and additional programs I needed mostly by compiling the programs and throwing them in, a few things where copied off my host system (1 or 2 libs I think).

The initrd image itself: http://spido.dk/initrd.gz

The kernels I checked with was 2.6.9 with ck-sources 1 and with ck-sources 3 (currently using this)

Oh and to finish off, if you for some reason use my image for some sort of distro or stuff.. Then mention me *and* the creator of slackware (since his scripts are in there right now, going to replace some of them).

I *really* hope some of you can help, I got homework too so it's kinda limited how much time I should use fiddling with this thing :P

-J
 
Old 11-09-2004, 04:07 PM   #2
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
Well I found my own solution (seems like I always ask for something people don't know for some reason .. or maybe I don't post enough for others ? No idea.. Anyways no flames, just a thought...)

I'll leave the file up 'till I get around to cleaning my site.. All you gotta do is replace the /dev dir with a working one.. copied off the basics from my own system (gotta learn how to make one from scratch) and woop we got a boot...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkisofs: Error - boot image './isolinux/isolinux.bin' has not an allowable size. ogross74 Red Hat 3 05-05-2016 02:22 AM
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
creating a ramdisk runtime from another ramdisk code123 Linux From Scratch 0 10-11-2004 08:59 AM
ISOLINUX 1.75 2002-06-14 isolinux failed to get sector size tihe Linux - General 13 12-16-2002 04:55 AM
Slow booting.... nutshell Linux - General 1 03-15-2002 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 AM.

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