|
今天更新内核的时候断了次电,结果来电的时候重启的时候进不了系统了,说是找不到文件,在ubuntu里把arch的分区挂起来看了一下结果发现vmlinuz没有了。 怎么才能再装一次内核,chroot过去的时候pacman -Syu 无果。。- bash-3.2# pacman -S kernel26
- Targets: kernel26-2.6.20.6-3
- Total Package Size: 19.6 MB
- Proceed with upgrade? [Y/n] y
- checking package integrity... done.
- loading package data... done.
- checking for file conflicts...
- error: the following file conflicts were found:
- kernel26: /boot/kconfig26: exists in filesystem
- kernel26: /etc/mkinitcpio.d/kernel26.preset: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.alias: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.ccwmap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.dep: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.ieee1394map: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.inputmap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.isapnpmap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.ofmap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.pcimap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.seriomap: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.symbols: exists in filesystem
- kernel26: /lib/modules/2.6.20-ARCH/modules.usbmap: exists in filesystem
- errors occurred, no packages were upgraded.
复制代码 已经搞定了,把上面的那几个文件rm掉再pacman -S kernel26就ok啦 |
|