Re: Doubts regarding /initrd and /linuxrc




hi vivek

Vivek Varghese Cherian wrote:

Can some one provide me with pointers to the funtion of the /initrd
directory in Debian ?

/initrd as with all other distro is used by the initrd.img file during
its bootup ( loading of modules ) during the kernel boot process
- in lilo/grub, if initrd=blah.img is not specified, than /initrd is not needed

Can some one provide me with an explanation of the exact funtion of the
/linuxrc executable in Debian ?

/linuxrc is required inside any blah.img ramdisk file to tell the boot kernel
what to do ...
usually: modprobe e1000
or more complicated things to load besides one module

Can some one explain why the /usr/share/initrd-tools/linuxrc file does not
have the executable flag set on my system ?

/usr/share/initrd-tools is like the man pages and reference only
and is never used

as you note /linuxrc should be root owned and executable

Are /initrd and /linuxrc mutually exclusive ? (The presence of one causes
the other not to be present)

no ... they are concurrcently required... if one initrd.img is used,
than both /initrd and /linuxrc is required
note, that /linuxrc is inside initrd.img
and that /linuxrc is NOT part of the normal system

more boot craziness
Linux-Boot.net

c ya
alvin


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: modifer fstab by mistake,can not boot debian
    ... When I use debian, I modified fstab to let ... the system could not boot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Installing kernel upgrade from 2.4 to 2.6
    ... feel entirely comfortable with Debian, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Dual boot comoputer
    ... I had a dual boot computer, Debian and Windows XP. ... No, lilo is not available, the computer boots into windows. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Classic Gnubie accident
    ... debian for over a year 've managed to lock myself out of my /home ... file has the wrong permissions - permissions should be set to 664 ... If booting in single-user mode doesn't work, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Debian LIVE CD
    ... Bootcd is very simple. ... it will boot to the same machine as it was created from. ... Creating a LIVE CD with Debian Testing ... PXE/TFTP Boot server within a M$ DHCP Environment ...
    (Debian-User)