Results 1 to 4 of 4

Thread: starting linuxrc and init

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Posts
    1

    starting linuxrc and init

    Hi Folks,
    I try to build my own Knoppix based CD. For this I try to build my own initrd.
    Ok my first problem was that the kernel didn't start my linuxrc. I found the reason. If the
    root-Filesystem (root= parameter from syslinux) is the same as ram0 (in my case the initrd-fs) the kernel didn't execute linuxrc and step over to execute init.
    (this is in do_mounts.c in function "void prepare_namespace(void)" - Linux 2.4.20)

    Ok.. I that this is no problem. I will pass no root boot option (or a wrong) and I'll set this in linuxrc but... in this case the kernel stops because he couldn't load modules and other messages (depending with root-option you give)

    My question: Do you know how knoppix handle this issue?

    Thanks,
    Thomas

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    You are probally best to start off by remastering before trying to build one from scratch.
    see http://www.knoppix.net/docs/index.ph...masteringHowto

    also you may be interested to see how to replace the kernel :
    http://www.knoppix.net/docs/index.ph...tomKernelHowto

  3. #3
    Guest
    Hi eadz,

    thx for posting a reply. I read the both Webpages, but they didn't cover my questions.

    It would be cool if someone has an idea how to solve this prob.


    Thanks,
    Thomas

  4. #4
    Senior Member registered user
    Join Date
    Dec 2002
    Posts
    196

    Re: starting linuxrc and init

    Quote Originally Posted by thomas
    Hi Folks,
    I try to build my own Knoppix based CD. For this I try to build my own initrd.
    Ok my first problem was that the kernel didn't start my linuxrc. I found the reason. If the
    root-Filesystem (root= parameter from syslinux) is the same as ram0 (in my case the initrd-fs) the kernel didn't execute linuxrc and step over to execute init.
    (this is in do_mounts.c in function "void prepare_namespace(void)" - Linux 2.4.20)

    Ok.. I that this is no problem. I will pass no root boot option (or a wrong) and I'll set this in linuxrc but... in this case the kernel stops because he couldn't load modules and other messages (depending with root-option you give)
    Okay, i'll give it a shot. If i understand correctly, you are trying to boot your initrd filesystem with the root= option. However, to load a filesystem into ram to boot with (as root), you need the initrd= kerneloption instead. Then, linuxrc should be executed like usual.

    Hope this helps,

Similar Threads

  1. Replies: 0
    Last Post: 09-01-2004, 06:20 PM
  2. Replies: 1
    Last Post: 08-11-2004, 11:36 AM
  3. linuxrc: how to edit?
    By bongski55 in forum The Lounge
    Replies: 2
    Last Post: 05-11-2004, 11:56 AM
  4. linuxrc changes
    By darthczyz in forum Customising & Remastering
    Replies: 0
    Last Post: 04-08-2004, 01:15 PM
  5. Replies: 12
    Last Post: 08-18-2003, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express picture

IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express

$595.00



IBM xSeries 206m Server 1x Pentium 4 3.2 GHz 1 GB Ram No OS No HDD picture

IBM xSeries 206m Server 1x Pentium 4 3.2 GHz 1 GB Ram No OS No HDD

$109.95



IBM 3837-AC1 X3850 X6 CTO SERVER picture

IBM 3837-AC1 X3850 X6 CTO SERVER

$400.00



IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives picture

IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives

$100.00



IBM Power S824 8286-42A 2x Power8 CPU  2x 32gb memory No HDD 12Bay 4U Server picture

IBM Power S824 8286-42A 2x Power8 CPU 2x 32gb memory No HDD 12Bay 4U Server

$400.00



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM Power8 Server S822 - 6-core 3.89GHz 384GB 93ZZ 2x PSU P8 Systems 8284-22A picture

IBM Power8 Server S822 - 6-core 3.89GHz 384GB 93ZZ 2x PSU P8 Systems 8284-22A

$549.97



IBM SYSTEM X3200 M3 7328AC1 Server INTEL XEON X3450 8GB SEE NOTES picture

IBM SYSTEM X3200 M3 7328AC1 Server INTEL XEON X3450 8GB SEE NOTES

$46.55



IBM 7063-CR1 Power7 CPU 01HL709 32GB RAM Hardware Management Console Server picture

IBM 7063-CR1 Power7 CPU 01HL709 32GB RAM Hardware Management Console Server

$552.49



Lenovo IBM X3650 2x Intel Xeon  E5-2620 v4 2.1GHz 128GB RAM NO HDD NO OS Good picture

Lenovo IBM X3650 2x Intel Xeon E5-2620 v4 2.1GHz 128GB RAM NO HDD NO OS Good

$199.99