User:Redatim
(→Raw Kernel Commands) |
(→Raw Kernel Commands) |
||
Line 8: | Line 8: | ||
'''Reflash a dumped kernel:''' | '''Reflash a dumped kernel:''' | ||
- | dd if=vmlinuz-xxx of=/dev/mtd3 bs=2048 seek=1 | + | dd if=vmlinuz-xxx of=/dev/mtd3 bs=2048 seek=1 |
Latest revision as of 23:25, 21 July 2010
[edit] Raw Kernel Commands
Get the internal kernel size:
xxd -ps -s 2092 -l 4 /dev/mtd3 | sed 's/\(..\)\(..\)\(..\)\(..\)/0x\4\3\2\1/'
Dump the internal kernel:
dd if=/dev/mtd3 of=vmlinuz-`uname -r` bs=1 skip=2048 count=$((`xxd -ps -s 2092 -l 4 /dev/mtd3ro | sed 's/\(..\)\(..\)\(..\)\(..\)/0x\4\3\2\1/'`))
Reflash a dumped kernel:
dd if=vmlinuz-xxx of=/dev/mtd3 bs=2048 seek=1
- This page was last modified on 21 July 2010, at 23:25.
- This page has been accessed 329 times.