|
楼主 |
发表于 2022-5-20 11:25
|
显示全部楼层
root@aml:~# apt-get install abootimg
Reading package lists... Done
Building dependency tree
Reading state information... Done
abootimg is already the newest version (0.6-1+b2).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
root@aml:~# dd if=/dev/boot of=boot_old.img
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 2.8278 s, 11.9 MB/s
root@aml:~# abootimg -u boot_old.img -k /boot/uImage -r /boot/init.img-3.10.108
reading kernel from /boot/uImage
reading ramdisk from /boot/init.img-3.10.108
/boot/init.img-3.10.108: No such file or directory
root@aml:~# dd if=boot_old.img of=/dev/boot
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 6.73273 s, 5.0 MB/s
希望得到您的指点,特别感谢 |
|