Re: booting w/o initrd

From: Robert Heller (heller_at_deepsoft.com)
Date: 08/31/03


Date: Sun, 31 Aug 2003 14:00:52 +0000


  newstmp@linuxemporium.co.uk (John Winters),
  In a message on Sun, 31 Aug 2003 12:52:36 +0000 (UTC), wrote :

JW> In article <3f51ed7b$0$30261$9b622d9e@news.freenet.de>,
JW> Michael Schmitt <x_fer@web.de> wrote:
JW> >Hi,
JW> >
JW> >I run Debian 3.0. My system does not seem to boot w/o a initrd. I do not see
JW> >why the current kernel configuration should require an initrd (no exotic
JW> >hard drives, etc.), yet when I remove the initrd parameter from my my boot
JW> >loader config (grub), the system does not boot the kernel.
JW> >How can I get rid of the need for an initrd?
JW>
JW> Give more information. Why did you configure an initrd in the first place?
JW> What sort of problems do you get without one?

For example: what does /etc/modules.conf look like. The answer is
*probably* there. And what *other* kernel parameters are listed in your
grub configuration file? Maybe include a copy of your grub config file
as well.

I'm wondering: does your system have an IDE CD-R/RW or IDE DVD-RW/RAM
drive? Most (all?) new computers have one or the other (if not both).
One likely thing is that the Debian 3.0 installer also included the
kernel options to use SCSI emulation for your IDE CD-R/RW or IDE
DVD-RW/RAM drive, which means you need some of the SCSI modules, along
with the SCSI-IDE emulation module. These are probably referenced in
the /etc/modules.conf and are needed when the kernel boots up and deals
with the IDE CD-RW or IDE DVD-RW/RAM. You can eliminate this
dependency (and thus skip the need for an initrd) if you never, ever
want to burn CD-Rs, etc. Linux's CD/DVD burning software is written to
deal with *SCSI* CD/DVD-R/RW/RAM drives and uses the SCSI-IDE to work
with IDE drives.

It is generally not a good idea to randomly second guess what the
*modern* Linux installers are doing for you. Unless you really, really
know what is really, really going on. If the installer thinks you need
an initrd, you probably do.

JW>
JW> John
JW> --
JW> The Linux Emporium - the source for Linux in the UK
JW> See http://www.linuxemporium.co.uk/
JW>
JW> We had a woodhenge here once but it rotted.
JW>

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

                                                            



Relevant Pages

  • Re: booting from ISO image on HD?
    ... bootable ISO image should have exactly the same performances as booting ... That is, kernel image, modules, application programs and so ... >> through customized initrd files for each one. ... you can boot the kernel of your ...
    (comp.os.linux.misc)
  • Re: booting from ISO image on HD?
    ... I'm not going to write the pivot root script, ... > through customized initrd files for each one. ... I have to insmod the loop kernel module(e.g. ... The idea is that either you build what you need to boot into your ...
    (comp.os.linux.misc)
  • Re: booting from ISO image on HD?
    ... >> through customized initrd files for each one. ... > between the loopback device and the underlying file (the iso image). ... I have to insmod the loop kernel module(e.g. ... how can you boot it from an initrd??? ...
    (comp.os.linux.misc)
  • Re: booting from ISO image on HD?
    ... I don't think you can predict every concievably thing a distro initrd can do. ... the only purpose of the initrd is to 1) find out what kernel modules are ... there is a hard disk where that iso image resides. ... The normal boot mechanism starts with the bios loading a boot loader ...
    (comp.os.linux.misc)
  • Re: [SOLVED] incredible solution Re: install of fedora FC4 with ASUS mobo
    ... after it tells u it cant find an image just press enter to boot normally ... The message you told about is the initrd that is being loaded. ... that, the kernel has been loaded, but not yet started. ... The CD too has a boot loader, ...
    (comp.os.linux.setup)