R4 system file error, please please please help for my son x. Discussion in 'Nintendo DS' started by hmallon, Feb 25, 2009. I mistakenly erased one the vmlinuz files in my /boot directory. However, I made a backup of /boot inside /tmp, just to be sure. Consequently, I cannot boot up, as I get the missing vmlinuz file e.
Active1 year, 11 months ago
I mistakenly erased one the
vmlinuz files in my /boot directory. However, I made a backup of /boot inside /tmp , just to be sure.
Consequently, I cannot boot up, as I get the missing vmlinuz file error. So I booted up using a live USB, but when I got into the
/boot dir in my hard drive (sda5), it's completely empty. If I copy the files from /tmp/boot to that /boot directory, I still cannot boot up.
How can I restore those files to the appropriate directory?
LiveWireBT
22.5k1919 gold badges7373 silver badges162162 bronze badges
NVaughanNVaughan
1 Answervmlinuz is the Linux kernel image itself (the z indicates that it is compressed).
Reinstalling the kernel package that is currently referenced by linux-image-generic (or your HWE kernel) and probably linux-singed-image-generic in UEFI secure boot environments should solve your issue.
Preferably boot live media of the same version and mount the partition of your installation (you can do that with Nautilus, it will be something like
/media/ubuntu/… then) or your /boot Saints row the third pc complete r. partition (this will be a bit more complex). This will be ${my_installation} in the following instructions.
Look into
/lib/modules/ of your installation (${my_installation}/lib/modules/ ) for the particular kernel versions that were installed and pick the latest version number you can find, this is referenced as ${kernel_ver} in the following instructions, in my test VM it was 3.16.0-46.
As I stated in a comment before, the procedure is very similar to reinstalling Grub in chroot, so let me quote this answer with some slight modifications:
![]()
![]()
Now reinstall your kernel (the
signed package is for UEFI secure boot):
Check the
/boot directory if the initrd for this kernel is still missing. To generate it manually run:
My example:
Nds R4 System File Is Missing
Then run
update-grub like in the quoted answer so that you can be sure that the 'new' kernel and initrd are included.
If you need to reinstall Grub too you can follow the the remaining steps. Remember that these instructions were written for MBR, if you have UEFI (where bootloaders from different OSes shouldn't overwrite each other) you need to check that
grub-efi-amd64-bin Microeconomics a modern approach andrew schotter pdf download. is installed install before reinstalling Grub.
Acekard 2i System File Is Missing
Community♦
LiveWireBTLiveWireBT
R4 Sdhc System File Is Missing
22.5k1919 gold badges7373 silver badges162162 bronze badges
Not the answer you're looking for? Browse other questions tagged bootkernelrestore or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |