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
  •  


Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server picture

Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server

$249.99



Tyan GT86C-B5630 12x 3.5

Tyan GT86C-B5630 12x 3.5" Storage Server Wholesale Build Your Own Server

$244.99



Dell Poweredge R730xd 24SFF  2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 24SFF 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$204.99



DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$399.00



Dell PowerEdge R630 Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails picture

Dell PowerEdge R630 Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails

$278.45



Dell PowerEdge R730 Server w Trays 128Gb 2x12c=24c CPUs 80Gb SSD/2x4Tb Proxmox picture

Dell PowerEdge R730 Server w Trays 128Gb 2x12c=24c CPUs 80Gb SSD/2x4Tb Proxmox

$400.00



HP ProLiant MicroServer Gen8 Server 12gb RAM I3-3240 NO HDD/OS picture

HP ProLiant MicroServer Gen8 Server 12gb RAM I3-3240 NO HDD/OS

$174.99



Supermicro CSE-825 2U Server Chassis 8 x 3.5

Supermicro CSE-825 2U Server Chassis 8 x 3.5" Backplane & 3x Chassis Fans

$149.99



Supermicro 1U Server X10DRG-HT 2x E5-2680 v4 128GB 4x Trays 3x GPU AI Crypto picture

Supermicro 1U Server X10DRG-HT 2x E5-2680 v4 128GB 4x Trays 3x GPU AI Crypto

$389.99



Lenovo RS160 Xeon E3-1230 V5 16GB Rack Server – Powerful, Scalable, Reliable picture

Lenovo RS160 Xeon E3-1230 V5 16GB Rack Server – Powerful, Scalable, Reliable

$179.70