You are not logged in.

#1 2015-02-01 09:26:16

Killer0227
Member
Registered: 2014-10-29
Posts: 4

reinstalling /boot

Need some help. I failed with mounting and now I have blank /boot. How can I download it again without reinstalling system?
Sorry for bad English.

Offline

#2 2015-02-01 09:50:16

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: reinstalling /boot

Why does the mounting fail; with what error-message? You could repopulate /boot on your current root-fs, but it might be easier to fix the mount instead

Offline

#3 2015-02-01 10:00:10

Killer0227
Member
Registered: 2014-10-29
Posts: 4

Re: reinstalling /boot

Spider.007 wrote:

Why does the mounting fail; with what error-message? You could repopulate /boot on your current root-fs, but it might be easier to fix the mount instead

I mean, on mounted /dev/sda1 (uefi) on /boot does not exist vmlinuz-linux and initramfs-linux.img. Where I can get it?

Offline

#4 2015-02-01 11:47:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: reinstalling /boot

Killer0227 wrote:

I mean, on mounted /dev/sda1 (uefi) on /boot does not exist vmlinuz-linux and initramfs-linux.img. Where I can get it?

% pacman -Qo /boot/vmlinuz-linux
/boot/vmlinuz-linux is owned by linux 3.18.5-1

% pacman -Qo /boot/initramfs-linux.img 
error: No package owns /boot/initramfs-linux.img

Just reinstall the linux package and regenerate your images via `mkinitcpio -p linux` to get them back.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2015-02-01 12:54:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,572
Website

Re: reinstalling /boot

Even better, mount sda1 to /mnt, move everything from /boot/* to /mnt/, unmoun /mnt, remount sda1 to /boot, done.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB