Am 2004-10-05 13:23:51, schrieb Andreas Pakulat: > On 05.Oct 2004 - 09:27:14, Ulrich Mietke wrote: > > Nein, ein > > chroot /mnt/install/ apt-get install kernel-image-2.2.20-idepci > > funktioniert auch ohne das vorher ein Kernel installiert war. > > Det hatte ich uebersehen, da noch nie benoetigt... Hast Du schon mal auf die Ausgabe von LILO gesehen ? apt-get install kernel-image-... Das postinst Script führt LILO aus... Interesant wie Du das in einem CHROOT anstellen willst. Du kannst es ja mal selber ausprobieren... ____ ( 'stdin' ) _____________________________________________________ / | > mkdir /home/chroot | > apt-get install debootstrap=0.2.41-0.1.backpoerts.org.1 | > debootstrap sarge /home/chroot ftp://ftp.de.debian.org/debian | > chroot /home/chroot /bin/bash | > mount -t proc none /proc | > df | Filesystem 1K-blocks Used Available Use% Mounted on | /dev/hda3 474474 8240 441735 2% /tmp | /dev/hda7 2354268 8239 2223134 1% /usr/src | samba3.private.tamay-dogan.net:/home 70226888 58002896 10797040 85% /home Irgendwie fehlt da /proc obwohl ich es sehen kann | > mount | none on /proc type proc (rw) | /dev/hda3 on /tmp type ext3 (rw) | /dev/hda7 on /usr/src type ext3 (rw) | samba3.private.tamay-dogan.net:/home on /home type nfs (rw,bg,hard,intr,tcp,vers=3,rsize=8192,wsize=8192,addr=192.168.1.69) Ups... das ist es doch da... | > apt-get install kernel-image-2.4.27-1-k7 | Reading Package Lists... | Building Dependency Tree... | Suggested packages: | kernel-doc-2.4.27 kernel-source-2.4.27 kernel-pcmcia-modules-2.4.27-1-k7 | The following NEW packages will be installed: | kernel-image-2.4.27-1-k7 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | Need to get 0B/12.1MB of archives. | After unpacking 31.0MB of additional disk space will be used. | Selecting previously deselected package kernel-image-2.4.27-1-k7. | (Reading database ... 7606 files and directories currently installed.) | Unpacking kernel-image-2.4.27-1-k7 (from .../kernel-image-2.4.27-1-k7_2.4.27-2_i386.deb) ... | | You are attempting to install an initrd kernel image (version 2.4.27-1-k7) | This will not work unless you have configured your boot loader to use | initrd. (An initrd image is a kernel image that expects to use an INITial | Ram Disk to mount a minimal root file system into RAM and use that for | booting). | | As a reminder, in order to configure LILO, you need | to add an 'initrd=/initrd.img' to the image=/vmlinuz | stanza of your /etc/lilo.conf | | I repeat, You need to configure your boot loader -- please read your | bootloader documentation for details on how to add initrd images. | | If you have already done so, and you wish to get rid of this message, | please put | `do_initrd = Yes' | in /etc/kernel-img.conf. Note that this is optional, but if you do not, | you'll continue to see this message whenever you install a kernel | image using initrd. | Do you want to stop now? [Y/n] | Setting up kernel-image-2.4.27-1-k7 (2.4.27-2) ... | /usr/sbin/mkinitrd: Cannot determine root device | Failed to create initrd image. | dpkg: error processing kernel-image-2.4.27-1-k7 (--configure): | subprocess post-installation script returned error exit status 9 | Errors were encountered while processing: | kernel-image-2.4.27-1-k7 | E: Sub-process /usr/bin/dpkg returned an error code (1) | \______________________________________________________________________ Tja, wie soll es auch, wenn kein / in einem CHROOT ist. > > Ich bin ja schon dabei. Dazu dient ja diese Diskussion. > > ?? Die Diskussion hoerte sich mehr danach an das du was willst was es > schon gibt und nicht selber schreiben.. Aber nunja dann koennen wir ja > nun EOT beschliessen oder? :-) > Andreas Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature