Results 1 to 3 of 3

Thread: [Bug ?!] Initrd and Linuxrc

  1. #1
    Junior Member registered user
    Join Date
    Jul 2005
    Posts
    13

    [Bug ?!] Initrd and Linuxrc

    Hi!
    I have a little question about booting of knoppix...
    Well, start with theory of booting with Initrd:
    - kernel load into memory initrd image
    - decompress it
    - execute LINUXRC (yes, must be an executable or shell file called linuxrc )
    - after that or linuxrc call /sbin/init or it's called automatically, otherwise kernel panic

    Pratically
    - knoppix put in boot command line a line like init=/etc/init
    After many test that I do, I see the param init (in this case /etc/init) it's execute only if present another param like root=/dev/ram0
    I see /etc/init in INITRD of knoppix contain a small script like
    Code:
    /linuxrc
    exec /sbin/init < /dev/console > /dev/console ...
    Hi!
    I have a little question about booting of knoppix...
    Well, start with theory of booting with Initrd:
    - kernel load into memory initrd image
    - decompress it
    - execute LINUXRC (yes, must be an executable or shell file called linuxrc )
    - after that or linuxrc call /sbin/init or it's called automatically, otherwise kernel panic

    Pratically
    - knoppix put in boot command line a line like init=/etc/init
    After many test that I do, I see the param init (in this case /etc/init) it's execute only if present another param like root=/dev/ram0
    I see /etc/init in INITRD of knoppix contain a small script like
    Code:
    /linuxrc
    exec /sbin/init < /dev/console > /dev/console ...
    I think that script and relative boot parameter is useless, infact knoppix boot correctly without "init" file in /etc and without bootparam "init=/etc/init".

    But..my question is: if it's useless, why is still present?
    I'm forgot something?

    Cheers

  2. #2
    Junior Member registered user
    Join Date
    Jul 2005
    Posts
    13
    I read that knoppix can use INITRAMFS..But minirt.gz isn't an archive of INITRAMFS

  3. #3
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: [Bug ?!] Initrd and Linuxrc

    Quote Originally Posted by Frunktz
    I think that script and relative boot parameter is useless, infact knoppix boot correctly without "init" file in /etc and without bootparam "init=/etc/init".
    Confirmed. Knoppix 4.0.2 will boot just fine without the "init=..."
    But..my question is: if it's useless, why is still present?
    I'm forgot something?
    Probably a vestige. Naturally, you're free to take in out in your own remasters.

    Regards,
    - Robert
    http://www.cwelug.org

Similar Threads

  1. Wo ist die linuxrc in Knoppix 6
    By chris32000 in forum German Forum
    Replies: 0
    Last Post: 08-19-2009, 09:39 AM
  2. linuxrc: how to edit?
    By bongski55 in forum The Lounge
    Replies: 2
    Last Post: 05-11-2004, 11:56 AM
  3. linuxrc changes
    By darthczyz in forum Customising & Remastering
    Replies: 0
    Last Post: 04-08-2004, 01:15 PM
  4. What is this initrd=/boot/initrd.gz
    By alex52 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 02-01-2004, 06:08 AM
  5. starting linuxrc and init
    By thomas in forum Customising & Remastering
    Replies: 3
    Last Post: 01-19-2003, 02:39 AM

Posting Permissions

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


NEW Kingston 8GB DDR4 2666MHz Desktop RAM KCP426NS8/8 PC4-21300 picture

NEW Kingston 8GB DDR4 2666MHz Desktop RAM KCP426NS8/8 PC4-21300

$30.00



Lot of 2 SK Hynix HMAA2GS6AJR8N-XN 16GB DDR4 PC4-3200AA 1Rx8 Laptop SODIMM RAM picture

Lot of 2 SK Hynix HMAA2GS6AJR8N-XN 16GB DDR4 PC4-3200AA 1Rx8 Laptop SODIMM RAM

$354.99



G.SKILL Trident Z Royal 128GB 8x16GB DDR4-3200 C14 RGB RAM F4-3200C14Q2-128GTRS picture

G.SKILL Trident Z Royal 128GB 8x16GB DDR4-3200 C14 RGB RAM F4-3200C14Q2-128GTRS

$1100.00



G.Skill PC RAM kit Ripjaws V F4-3200C16D-16GVGB 16 GB 2 x 8 GB DDR4 RAM 3200 MHz picture

G.Skill PC RAM kit Ripjaws V F4-3200C16D-16GVGB 16 GB 2 x 8 GB DDR4 RAM 3200 MHz

$65.00



SAMSUNG 64GB (16GBX4) 2RX8 PC4-2400T DDR4 M378A2K43CB1-CRC PC TESTED picture

SAMSUNG 64GB (16GBX4) 2RX8 PC4-2400T DDR4 M378A2K43CB1-CRC PC TESTED

$239.99



16GB (2x8GB) Kingston HyperX blu KHX1600C10D3B1/8G PC3-12800U DDR3 1600 picture

16GB (2x8GB) Kingston HyperX blu KHX1600C10D3B1/8G PC3-12800U DDR3 1600

$27.99



AVANT 64GB 2x32GB DDR4-3200 PC4-25600 UDIMM Desktop RAM Memory picture

AVANT 64GB 2x32GB DDR4-3200 PC4-25600 UDIMM Desktop RAM Memory

$279.99



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Lot 5 Samsung 8GB 2Rx8 DDR3-1600 PC3-12800U Desktop RAM M378B1G73QH0-CK0 (5x8GB) picture

Lot 5 Samsung 8GB 2Rx8 DDR3-1600 PC3-12800U Desktop RAM M378B1G73QH0-CK0 (5x8GB)

$60.00



BRAND NEW - PNY XRL8 Gaming 32GB (2x16GB) 3200MHz DDR4 260-PIN (MN32GK2D43200X) picture

BRAND NEW - PNY XRL8 Gaming 32GB (2x16GB) 3200MHz DDR4 260-PIN (MN32GK2D43200X)

$149.99