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: LiveCDs dont work
    ... I guess a bug should be open for Debian with a reference to Ubuntu bug #153702. ... failed when I tried to boot from it on my new PC (Dell Inspiron 530). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How do I enable UUID in Debian?
    ... UUID in grub to make sure I can boot. ... I've done this before in Gentoo ... and I wonder how this works in Debian. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Lenny is acting screwing after alsa sourcecode install
    ... It probably means that the boot stucked in one of the next steps. ... I did it as that website said. ... Debian isn't Ubuntu, and vice-versa. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • 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: Bootloader
    ... load the Debian based stuff. ... # array will desync and will not let you boot your system. ... ## should update-grub add savedefault to the default options ... # This entry automatically added by the Debian installer for a non-linux OS ...
    (alt.os.linux)