debian:/usr/src/linux# cd ..
debian:/usr/src# tar xjf linux-2.6.22.tar.bz2
debian:/usr/src# ln -sf linux-2.6.22 linux
debian:/usr/src# cd linux
debian:/usr/src/linux# make menuconfig
scripts/Makefile.build:17: /usr/src/linux-headers-2.6.18-4-686/scripts/basic/Makefile: Adresár alebo súbor neexistuje
make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.18-4-686/scripts/basic/Makefile'. Stop.
make: *** [scripts_basic] Error 2
debian:/usr/src/linux#
skusal som najprv prekompilovať starý ale končilo to tou istou hlaškou ....
Dik za rýchle odpovede :)
ties by sa ti mohlo zist totok
http://linuxos.sk/KnowledgeBase_show_entry/24/index.html
PS.: a navyše sa to už tvári ako vyriešené.
......ako ho mam vytvoriť ?
title Debian GNU/Linux
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault
title Debian GNU/Linux (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault
title= Gentoo 2.6.22-r5
root (hd0,6)
kernel /boot/kernel root=/dev/hda7 ro
savedefault
V debiane je ten subor a v gente nieje...
debian:/boot# update-initramfs
You must specify at least one of -c, -u, or -d.
Usage: /usr/sbin/update-initramfs [OPTION]...
Options:
-k [version] Specify kernel version or 'all'
-c Create a new initramfs
-u Update an existing initramfs
-d Remove an existing initramfs
-t Take over a custom initramfs with this one
-b Set alternate boot directory
-v Be verbose
-h This message
debian:/boot# update-initramfs -c
Create mode requires a version argument
Usage: /usr/sbin/update-initramfs [OPTION]...
Options:
-k [version] Specify kernel version or 'all'
-c Create a new initramfs
-u Update an existing initramfs
-d Remove an existing initramfs
-t Take over a custom initramfs with this one
-b Set alternate boot directory
-v Be verbose
-h This message
debian:/boot#
ked dam update-initramfs naskocí mi menu a ked chcem vytvoriť new initrd v /boot tak dam update-initramfs -c tak naskočí znova menu ....prečo ?
debian:/boot# update-initramfs -c -k 2.6.22
update-initramfs: Generating /boot/initrd.img-2.6.22
debian:/boot#
už to zrejme je :)