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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



WD4000FYYZ Western Digital 4TB SATA 3.5 Hard Drive  picture

WD4000FYYZ Western Digital 4TB SATA 3.5 Hard Drive

$149.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Western Digital WD5000LPLX 500GB 2.5

Western Digital WD5000LPLX 500GB 2.5" SATA 32MB 6Gb/s 7200RPM Laptop Hard Drive

$7.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5

HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5" HDD HUH721010ALE604

$43.74