|
楼主 |
发表于 2007-8-13 03:20:27
|
显示全部楼层
i made it ok !
Post by slackit
why nobody reply me ?
#mkdir /temp
#cd /temp
#cp /boot/kernel26.img kernel26.gz
#ls
kernel26.gz
#gunzip kernel26.gz
#ls
kernel26
#cpio -ivd < kernel26
(somthing look like below)
/lib
/lib/modules
/lib/modules/2.6.21-ARCH
/lib/modules/2.6.21-ARCH/kernel
/lib/modules/2.6.21-ARCH/kernel/drivers
/lib/modules/2.6.21-ARCH/kernel/drivers/ata
cpio: /lib/modules/2.6.21-ARCH/kernel/drivers/ata/libata.ko not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/kernel/drivers/ata/libata.ko
cpio: /lib/modules/2.6.21-ARCH/kernel/drivers/ata/pata_via.ko not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/kernel/drivers/ata/pata_via.ko
cpio: /lib/modules/2.6.21-ARCH/kernel/drivers/ata/ata_generic.ko not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/kernel/drivers/ata/ata_generic.ko
/proc
/sys
/dev
cpio: /dev/null not created: newer or same age version exists
/dev/null
cpio: /dev/zero not created: newer or same age version exists
/dev/zero
cpio: /dev/console not created: newer or same age version exists
/dev/console
cpio: /lib/klibc-rOj3PRLKBA9FcF5ZuoqKQLmOWcA.so not created: newer or same age version exists
/lib/klibc-rOj3PRLKBA9FcF5ZuoqKQLmOWcA.so
/bin
cpio: /bin/cat not created: newer or same age version exists
/bin/cat
............
cpio: /lib/modules/2.6.21-ARCH/kernel/fs/ext3/ext3.ko not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/kernel/fs/ext3/ext3.ko
cpio: /hooks/filesystems not created: newer or same age version exists
/hooks/filesystems
cpio: /lib/modules/2.6.21-ARCH/modules.dep not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/modules.dep
cpio: /lib/modules/2.6.21-ARCH/modules.alias not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/modules.alias
cpio: /lib/modules/2.6.21-ARCH/modules.symbols not created: newer or same age version exists
/lib/modules/2.6.21-ARCH/modules.symbols
6439 blocks
#ls
kernel26
(no file tree added ,why)
i want to see the file tree of kernel26 in /temp .can somebody help me? thank !
archlinux(DUKE)
#mkdir /temp
#cd /temp
#cp /boot/kernel26.img kernel26.gz
#ls
kernel26.gz
#gunzip kernel26.gz
#ls
kernel26
#cpio -ivd < kernel26 (this line change as below)
#cpio -ivd --no-absolute-filenames < kernel26
it is ok! |
|