[Grml] bloody raid

Michael Prokop mika at grml.org
Tue Mar 6 18:58:14 CET 2007


* my <yazdzik at nyct.net> [20070302 20:15]:

> 1.  When using debian pure on a partition I can merely
> chroot /thatpartition and apt-get, install, and so.  I am never able to
> do this in a grml install, which means that if I want to install grml on
> partition /blah, I have to be running it in order to work in it, which
> is a waste of time.

Huh?! What does not work when running 'chroot /partition-with-grml-on-it'
and executing something like 'apt-get update' inside then?

> 2.  More importantly,  I need fast boot times on the laptops.  I built
> kernel no raid, no shit,  in other words, the hardware for the laptop,
> plus any conceivable thing that one could plug in.  Got rid of every
> reference in autoconfig and runlevel.conf that I can imagine, and it
> still seeks the raid array, and, since I had no modules, boot up takes
> just as long, with the result that the modules are not found.    I want
> to make it so that there is no reference anywhere to any possible raid
> issue, and get rid of that ten second lilo delay as well, as I do not
> need it, since I am always able to boot into grml.  Likewise, most
> laptops have had no floppy drive for at least two years.  fd0 does not
> exist, never did, never will, why load the module, or if blacklisted,
> why seek to seek it?

Loading this kernel module does not take any noteworthy time. If you
really want to avoid loading of some special kernel modules just run
"blacklist $MODULE" on your grml system and it won't be loaded any
more. Regarding the "why seek to seek the floppy drive": even though
your laptop might not have a floppy *drive* you might have a
connector/connection for it on your motherboard.

To get rid of the raid stuff:

* Deactivate dmraid, mdadm-raid and mdadm in your
  /etc/runlevel.conf. This means it should look like:

  # grep -e mdadm -e dmraid /etc/runlevel.conf
  03      -       -               /etc/init.d/dmraid
  25      -       -               /etc/init.d/mdadm-raid
  25      0,1,6   -               /etc/init.d/mdadm
  50      -       0,6             /etc/init.d/mdadm-raid
  51      -       0,6             /etc/init.d/dmraid

  Notice: there's something related to this on our todolist, see
  http://bts.grml.org/grml/issue89

* Remove the sleep delay in the initrd:

  # apt-get --reinstall install initramfs-tools
  # update-initramfs -c -t -k $(uname -r)
  # lilo                                     # if you use it

  If you do not need the initrd at all just deactivate it in your
  lilo.conf/menu.lst.

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20070306/eb3ed715/attachment-0004.pgp>


More information about the Grml mailing list