我有一个挑战,以清洁引导驱动器,是100%满。
我列出以前的版本:
dpkg -l linux-映像*
会得到12个版本的清单,
rc linux-image-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-47-generic 4.4.0-47.68 amd64 Linux kernel image for v
我目前正在尝试将我的Linux内核从4.4.0-63升级到4.10.12。我已经完成了以下步骤(使用手册):make -> make modules -> make modules_install
尽管一旦我尝试执行"make install“,我会得到以下错误:
user@thiscomp:/usr/src/linux-4.10.12$ sudo make install
sh ./arch/x86/boot/install.sh 4.10.12 arch/x86/boot/bzImage \
System.map "/boot"
如何移除12.x机器中不需要的内核
sudo update-grub
Generating grub.cfg ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-96-generic
Found initrd image: /boot/initrd.img-3.13.0-96-generic
Found linux image: /boot/vmli
我尝试通过今天出现的更新通知从Ubuntu15.04升级到15.10,但是在运行dpkg --configure时它被卡住了。以下是最后一条消息:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.2.0-18-generic
Found initrd image: /boot/initr
我刚跑了:
sudo apt-get update && sudo apt-get dist-upgrade
这是我从第二个命令中得到的输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed
linux-headers-4.4.0-38 linux-headers-4.4.0-38-gen
我以前读过几个问题,但没有找到解决办法。在运行update-grub命令时,它给出了以下输出:
root@Agustin-Ubuntu:/home/agustin# update-grub
Generating grub.cfg ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.5.0-45-generic
Found initrd image: /boot
我在Xubuntu 18.04遇到了一个很奇怪的问题.我在sudo apt update之后运行了以下命令:
sudo apt upgrade
但它会导致一个错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out
每当我尝试安装任何东西时,我都会收到以下消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not go
我的/boot是100%。当我运行aptitude search ~ilinux-image时,我会得到大量未使用的图像。当我尝试删除其中一个(在通过执行uname -r检查当前正在使用的一个)之后,例如apt-get autoremove linux-image-3.2.0-44-generic,我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install'
就像在askubuntu上的几个人一样,我在使用sudo dpkg --configure -a时遇到了一些问题。我正试图用apt-get install安装一个包时,终端告诉我:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
当我使用这个命令时,我能读到的最后一个信息是:
Found linux image: /boot/vmlinuz-3.19.0-59-generic
Found initrd image: /boot/in
我试图在系统中安装java,方法是按照页面中的说明:Java安装Instr Oracle
现在,当我输入java -version时,它给了我以下消息:
The program 'java' can be found in the following packages:
* default-jre
* gcj-5-jre-headless
* openjdk-8-jre-headless
* gcj-4.8-jre-headless
* gcj-4.9-jre-headless
* openjdk-9-jre-headless
Try: sudo apt inst
The following packages will be REMOVED:
linux-image-3.2.0-79-generic-pae
0 upgraded, 0 newly installed, 1 to remove and 144 not upgraded.
3 not fully installed or removed.
After this operation, 114 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 525879 files and
我现在在Arch上,Gentoo在一个单独的分区中。grub-mkconfig -o /boot/grub/grub.cfg (on Arch)返回:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.
我有一个基于MIPS的主板(MediaTek mt7620),它有一个专有的封闭式引导加载程序(u-boot),切断了很多功能,比如booting a standalone application。(我不允许更改/重新刷新这个引导加载程序,因为很多客户都在使用这个主板,如果我们更新引导加载程序失败了,我们将面临很多问题:) (引导加载程序支持boot over tftp协议) 我正在尝试将一个由线路板制造商提供的启动顺序: ROM bootloader --> flash bootloader (u- boot ) --> linux kernel更改为: ROM bootloa
我希望能够在启动时选择内核。我已经安装了arch默认值和lts内核。我使用systemdboot作为引导加载程序。
但当我启动我的笔记本,它直接启动,没有显示任何菜单。当我运行uname -r时,我得到:
5.9.0-arch1-1
在/boot/loader/entries/中,我有两个文件:
arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root="LABEL=arch_os" rw
和拱形
title A
我假设我使用syslinux,因为我的USB引导盘上有一个syslinux.cfg文件。
syslinux的配置如下:
UI /linux/boot/vesamenu.c32
TIMEOUT 140
MENU ROWS 4
MENU CLEAR
MENU BACKGROUND /linux/boot/bootlogo.png
LABEL default
MENU LABEL Run Linux
KERNEL /linux/boot/vmlinuz
APPEND vga=769 initrd=/linux/boot/initrfs.img load_ramdisk=1 prompt_ram
shady@shady:~$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-76-generic
Found initrd image: /boot/initrd.img-3.13.0-76-generic
Found linux image: /boot/vmlinuz-3.13.0-74-generic
Found initrd image: /boot/initrd.img-3.13.0-74-generic
Found linux image
今天,我在我的ubuntu服务器20.04版本上运行了通常的更新程序。
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-57-generic
Found initrd image: /boot/initrd.img-5.15.0-57-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd imag
root@sites:~# apt-get update
Reading package lists... Done
root@sites:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-module