我尝试通过今天出现的更新通知从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
如何移除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
我根据此链接更改了我的macbook上的引导顺序。
但是..。现在我在启动Mac OS X Yosemite时遇到了问题。我收到错误消息:找不到错误文件‘/mach_kernel’。等如何修复它?
提前感谢!
附言:问题可能不在grub.cfg中
这是grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /et
就像在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
我以前读过几个问题,但没有找到解决办法。在运行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
今天,我在我的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
我在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
我在我的MacBook Pro上有一个Ubuntu14.10/MacOSX/Windows 8三引导。
但是,Windows没有出现在grub中,只有MacOS和Ubuntu出现。
我从其他类似的问题中尝试了一些东西,但是没有什么效果,比如运行update-grub或Boot Repair。以下是一些可能有用的程序输出:
fdisk
sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU P
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
我试图在系统中安装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
这是update的输出:
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/initrd.img-4.2.0-18-generic
Found linux image: /boot/vmlinuz-4
我发现自己无法从我的wd中获得linux 19。
我可以用最少的问题启动windows、ubuntu、centos、debian、kali linux和linux 18,但是linux 19就是不能启动。
Curent菜单文件:
DEFAULT vesamenu.c32
PROMPT 0
MENU TITLE PXE Boot Menu
MENU INCLUDE pxelinux.cfg/graphics.conf
## Local Boot ##
LABEL local
menu label ^Boot Normally
localboot -1
Type 0x8
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
我有一个远程VPS,它安装了ubuntu服务器10.04 (出于某种原因,托管公司还没有安装12.04 )
最近,我将硬件从专用机器降级为VPS,并在将其更新到12.04之后,将已安装软件包的列表转移到新的VPS。
问题是VPS仍然在运行,旧内核也在运行,我尝试过更新它,但它似乎不想运行一个较新的内核,我认为这可能是grub的问题,所以我运行了update-grub:
Found linux image: /boot/vmlinuz-3.8.0-39-generic
Found initrd image: /boot/initrd.img-3.8.0-39-generic
/usr/sbin/
我通过apt-get更新了我的内核,但是我的Ubuntu16.04无法引导它。uname -r给了4.8.0-36-generic。sudo update-grub给出
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.8.0-36-generic
Found initrd image: /boot/initrd.img-4.8.0-36-generic
Found linux image: /boot/vmlinuz-4.4.0-98-generic
Found initrd image: /b
我一直在这里搜索,有一个非常类似的问题,在(如何在/中释放更多的空间?)
我遇到的问题是当我尝试解决这个问题的时候。例如: sudo apt-get purge linux-image-2.6.38-11
我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-image-2.6.38-11-server' for regex 'linux-image-2.6.38-11'
You mi
/usr/src/linux-3.2.1 # make install
scripts/kconfig/conf --silentoldconfig Kconfig
sh /usr/src/linux-3.2.1/arch/x86/boot/install.sh 3.2.1-12-desktop arch/x86/boot/bzImage \
System.map "/boot"
You may need to create an initial ramdisk now.
--
/boot # mkinitrd initrd-3.2.1-12-d
我想将我的内核更新到最新的稳定版本,即v5.16.1
我遵循了导游,它展示了如何安装内核5.16。一切都很顺利,直到我收到了这个错误:
dpkg: dependency problems prevent configuration of linux-headers-5.16.1-051601-generic:
linux-headers-5.16.1-851601-generic depends on libc6 (>= 2.34); however:
Version of libc6:amd64 on system is 2.31-8ubuntu9.2.
linux-head
$ sudo apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic
linux-image-4.15.0-29-generic linux-modul
我是Ubuntu的新手,我试着让Ubuntu 20.04来运行我的联想瑜伽7i。
当你开始的时候,声音不起作用。
我在这上找到了ArchWiki教程。我遇到的问题是试图在initrd路径中添加/boot/acpi_重写,所以当我运行sudo update-grub时,我将从以下位置运行:
Found linux image: /boot/vmlinuz-5.11.0-34-generic
Found initrd image: /boot/initrd.img-5.11.0-34-generic
Found linux image: /boot/vmlinuz-5.11.0-27-gener
当我更新的时候,我的互联网掉了。突然之间,我无法安装或升级任何东西。当我执行这个消息循环并吃掉我的RAM时,直到我不得不重置为止:
`update-initramfs: Generating /boot/initrd.img-3/12/0-57-generic`
当我运行sudo apt-get xxxx时,它给了我如下信息:
`E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.`
dpkg --configure -a会导致上面相同的infit
我可以在引导条目中看到3.5.0-36的条目。但是,我无法删除它,因为没有包要删除。
有关详细信息,请参阅下面的命令输出。
1)指挥:
sudo update-grub2
产出:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-75-generic
Found initrd image: /boot/initrd.img-4.4.0-75-generic
Found linux image: /boot/vmlinuz-4.4.0-72-generic
Found initrd imag
对于Ubuntu桌面18:04更新,我使用:
sudo apt更新
数独apt升级
但对后者来说,现在突然出现了这样的情况:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
所以执行我得到的命令:
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-generic-hwe-18.04:
linux-generic-hwe-
我逐字遵循了本指南中的所有说明。我使用了相同的内核源代码Linux3.16等等。我完成了所有步骤,重新启动,当使用uname -r时,它还显示了我的另一个内核版本(3.18.3),我能做什么使内核成为我刚刚构建的3.16内核?
更新输出-grub:
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/vmlin
昨天,我把我的操作系统版本从Kubuntu 20.04升级到22.04,不幸的是,它带来了一系列问题(主要是Grou2.06)。
今天,我在引导Grub时遇到了以下错误:
minimal BASH like line editing is supported (...).
我没有被导向通常的图形界面,而是向我展示了一个CLI,要求我输入。我已经成功地用geeksforgeeks.org的这篇文章上的建议暂时解决了这个问题。
通过执行以下命令:
set root=(hd1,gpt2)
set prefix=(hd1,gpt2)/boot/grub
insmod normal
normal
和
s
在我的系统中,安装了以下内核版本:
Found linux image: /boot/vmlinuz-5.4.0-107-generic
Found initrd image: /boot/initrd.img-5.4.0-107-generic
Found linux image: /boot/vmlinuz-5.4.0-105-generic
Found initrd image: /boot/initrd.img-5.4.0-105-generic
Found linux image: /boot/vmlinuz-5.4.0-104-generic
Found initrd imag