geninitrd z rootfs na lvm2
Adam Gołębiowski
adamg w biomerieux.pl
Pią, 15 Paź 2004, 04:38:05 CEST
Chwilowo bawie sie z lvm2, na ktorym to postawilem rootfs. Chcialbym
wygnerowac initrd, ale napotykam na powazne problemy - jakbym nie
probowal, powstaly initrd jest niezdatny do uzytku.
W /etc/fstab mam nastepujacy wpis:
/dev/mapper/ankh-rootfs / reiserfs defaults 1 1
Initrd generuje:
[root w pldmachine /]# geninitrd -v -f /boot/initrd 2.6.8-3.5smp
Using modules: kernel/fs/reiserfs/reiserfs.ko
`/lib/modules/2.6.8-3.5smp/kernel/fs/reiserfs/reiserfs.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/fs/reiserfs/reiserfs.ko'
/bin/initrd-busybox -> /tmp/initrd.7mD6uu/bin/sh
Loading module [reiserfs] without options.
`/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_core.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_core.ko'
`/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_text.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_text.ko'
`/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_lzf.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_lzf.ko'
`/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_block_io.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_block_io.ko'
`/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_swap.ko' ->
`/tmp/initrd.7mD6uu/lib/modules/2.6.8-3.5smp/kernel/kernel/power/suspend_swap.ko'
Loading module [suspend_core] without options.
Loading module [suspend_text] without options.
Loading module [suspend_lzf] without options.
Loading module [suspend_block_io] without options.
Loading module [suspend_swap] without options.
Adding rootfs finding based on root= option support.
[root w pldmachine /]#
W wynikowym initrd brak jest jakichkolwiek sladow obslugi lvm. Dodanie
--preload dm-mod do geninitrd w niczym nie pomaga.
Co robie zle? Jaki jest The Right Way (tm) na zrobionie initrd?
--
http://www.mysza.eu.org/ | Everybody needs someone sure, someone true,
PLD Linux developer | Everybody needs some solid rock, I know I do.
Więcej informacji o liście dyskusyjnej pld-users-pl