title Ubuntu, kernel 2.6.10-5-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda8 ro vga=791
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot[/code]
kada probam boot-ati ovaj 2.6.10 pođe malo i onda:
[code]Uncompresing Linux…, OK, booting kernel
prođe malo i onda:
VFS: Cannot open root device “hda8” or unknovn-block (0,0)
Please append a correct “root=” boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)[/code]
čudno mi je ovo (0,0)
pitanje: da li je ovo izvodljivo (na ovaj način) znači bez standardnog kompajliranja “nižeg” kernel source-a
mislio sam da ovo nije važno ali kada sam vidio da se ponavlja odlučio sam da “okačim”…
aldin@ubuntu:~$ sudo apt-get install linux-image-2.6.10-5-386
.
.
Setting up linux-image-2.6.10-5-386 (2.6.10-34) ...
cpio: (0xffffe000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f09000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f14000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f2c000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f2f000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f4e000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f68000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f84000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f97000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7fbb000): No such file or directory
.
.
Updating /boot/grub/menu.lst ... done
…
…
.
evo ubacio sam ext i reiser
[code]# /etc/mkinitrd/modules: Kernel modules to load for initrd.
This file should contain the names of kernel modules and their arguments
(if any) that are needed to mount the root file system, one per line.
Comments begin with a `#’, and everything on the line after them are ignored.
You must run mkinitrd(8) to effect this change.
Examples:
ext3
reiserfs
wd io=0x300[/code]
probao po uputstvu sa mkinitrd, ali…
aldin@ubuntu:~$ sudo mkinitrd -k -o /boot/initrd.2.6.10-5-386 2.6.10-5-386
/usr/sbin/mkinitrd: The working directory /tmp/mkinitrd.1Uu2ci will be kept.
cpio: (0xffffe000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7eec000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7ef7000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f1e000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f45000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f56000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f5d000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f64000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f99000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7fad000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7fd8000): No such file or directory
aldin@ubuntu:~$ ls /boot/
abi-2.6.12-9-386 initrd.2.6.10-5-386 System.map-2.6.10-5-386
config-2.6.10-5-386 initrd.img-2.6.10-5-386 System.map-2.6.12-9-386
config-2.6.12-9-386 initrd.img-2.6.12-9-386 vmlinuz-2.6.10-5-386
grub memtest86+.bin vmlinuz-2.6.12-9-386
dobio istu “kernel paniku” prilikom boot-anja novog initrd-a…
mislim da je bitan ovaj dio (koji se ponovio i kod mkinitrd-a)
Setting up linux-image-2.6.10-5-386 (2.6.10-34) ...
cpio: (0xffffe000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f09000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f14000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f2c000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f2f000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f4e000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f68000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f84000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f97000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7fbb000): No such file or directory
hehe, ali izgleda da sam ga “izradio”…
evo kako:
instalirao ubuntu 5.04 na drugu particiju, kopirao njegov initrd a ostavio vmlinuz (koji je prethodno automatski snimljen), na ubuntu 5.10 particiju i radi!
title TEST Ubuntu, kernel 2.6.10-5-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.kopija
savedefault
boot
ps:
volio bih znati zašto je ovo “cpio: /lib/ld-linux.so.2”…
snimio 5.10, uradio apt-get update
1.1 probao mkinitrd - međutim komande nije bilo
1.2 malo apt-cache search…ovdje mi se “upalila lampica” da je možda do starije verzije mkinitrd-a
…ustanovio sam da je problem bio zbog toga što na 5.10 CD-u ne dolazi paket initrd-tools (mkinitrd), a dolazi na 5.04 CD-u, pa je initrd-tools “pokupljen” sa 5.04… da sam prvi put, prije instaliranja linux-image-a uradio “update” vjerovatno mi se ovo nebi desilo… tj. skinuo bi ove initrd sa neta a image sa disc-a, a ne oba sa 5.04 CD-a…
Setting up linux-image-2.6.10-5-386 (2.6.10-34) ...
cpio: (0xffffe000): No such file or directory
cpio: /lib/ld-linux.so.2 (0xb7f09000): No such file or directory