Tag: initramfs

引导期间Initramfs错误

Boot from (hd0,0) ext3 238ac8ca-9576-443d-8e23-8dd836cd2683 Starting up … mount: mounting /dev/disk/by-uuid/238ac8ca-9576-443d-8e23-8dd836cd2683 on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn’t have requested /sbin/init. […]

update-initramfs卡住了

今天我想在Ubuntu 12.10中安装virtualbox(4.2)并进入软件中心。 单击USC中的“安装”按钮后,正在下载并安装虚拟机。 我等了五分多钟但没有发生任何事情,进度条没有变化。 经过大约一个小时的等待,我关闭了USC并重新启动了PC。 现在我遇到的问题是,每当我想通过sudo apt-get install 我都会收到以下错误: quantal@Flubuntu:~$ sudo apt-get install E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 在终端( sudo killall dpkg )中杀死dpkg或重启后我得到下一个错误: quantal@Flubuntu:~$ sudo apt-get install E: dpkg was interrupted, you must manually run […]

initrd.img(grub的“正在加载初始ramdisk ……”)是否会降低我的启动速度?

我在SSD上,文件碎片无论如何都不重要,但我注意到grub中的“加载初始ramdisk …”消息需要更长的时间,我认为应该这样做。 它在普利茅斯跑步前持续约7秒。 普利茅斯本身只需要大约3秒钟(如果它早点开始并持续更长时间会很好)。 然后lightdm / greeter屏幕出现2到3秒钟。 所以我做了一点实验并运行了filefrag -v /boot/init*并注意到我的内核4.4.0-53似乎过于分散: File size of /boot/initrd.img-4.4.0-53-generic is 49027703 (11970 blocks of 4096 bytes) ext: logical_offset: physical_offset: length: expected: flags: 0: 0.. 3: 4351562.. 4351565: 4: 1: 4.. 4095: 2334720.. 2338811: 4092: 4351566: 2: 4096.. 8191: 2330624.. 2334719: 4096: 2338812: 3: 8192.. 10239: 2355200.. 2357247: 2048: 2334720: 4: […]

根文件系统需要手动fsck

每当我打开Ubuntu时,我总会看到这条消息。 (Initramfs): /dev/sda1 contains a file system with errors, check forced. Inodes that were a part of a corrupted orphan linked lost found. /dev/sda1 : UNEXPECTED INCONSISTENCY; RUN fsck manually.(Ie ., without -a or -p options). fsck exited with status code 4. The root filesystem on /dev/sda1 requires a manual fsck

Ubuntu 15.10 – 每次启动时都有“BusyBox内置shell(initramfs)”

每次我们重新启动Ubuntu PC时,它都会显示此屏幕,即使我们输入退出也不会去任何地方。 如何永久摆脱这场噩梦,永远不会发生? BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) built-in shell (ash) Enter ‘help’ for a list of built-in commands (initramfs)

为什么在使用dpkg删除内核时会出现update-initramfs错误?

通过dpkg –purge删除内核时,我得到以下输出: 删除linux-headers-3.13.0-112-generic(3.13.0-112.159)… 删除linux-image-extra-3.13.0-112-generic(3.13.0-112.159)… run-parts:执行/etc/kernel/postinst.d/apt-auto-removal 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts:执行/etc/kernel/postinst.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs:生成/boot/initrd.img-3.13.0-112-generic W:TMPDIR挂载noexec,不会缓存运行脚本。 gzip:stdout:设备上没有剩余空间 E:mkinitramfs失败cpio 141 gzip 1 update-initramfs:/boot/initrd.img-3.13.0-112-generic with 1失败。 run-parts:/etc/kernel/postinst.d/initramfs-tools退出,返回码为1 dpkg:error handling包linux-image-extra-3.13.0-112-generic(–purge): 子进程安装后删除脚本返回错误退出状态1 删除linux-image-3.13.0-112-generic(3.13.0-112.159)… 检查/etc/kernel/postrm.d。 run-parts:执行/etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs:删除/boot/initrd.img-3.13.0-112-generic run-parts:执行/etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic 生成grub配置文件… 警告:不再支持在设置GRUB_HIDDEN_TIMEOUT时将GRUB_TIMEOUT设置为非零值。 找到linux映像:/boot/vmlinuz-4.4.0-71-generic 找到initrd映像:/boot/initrd.img-4.4.0-71-generic 找到linux映像:/boot/vmlinuz-4.4.0-67-generic 找到initrd映像:/boot/initrd.img-4.4.0-67-generic 找到linux映像:/boot/vmlinuz-4.4.0-66-generic 找到initrd映像:/boot/initrd.img-4.4.0-66-generic 找到linux映像:/boot/vmlinuz-4.4.0-64-generic 找到initrd映像:/boot/initrd.img-4.4.0-64-generic 找到linux映像:/boot/vmlinuz-3.13.0-115-generic 找到initrd映像:/boot/initrd.img-3.13.0-115-generic 找到linux映像:/boot/vmlinuz-3.13.0-113-generic 找到initrd映像:/boot/initrd.img-3.13.0-113-generic 找到memtest86 + image:/memtest86+.elf 找到memtest86 + image:/memtest86+.bin 没有找到卷组 DONE […]

损坏/启动分区:输入/输出错误

问题 我面临的问题是,在GRUB中选择Ubuntu之后,我在启动时遇到以下错误: Error: File “/vmlinuz-3.13.0-24-generic.efi.signed” not found. unaligned pointer 0xd0a26c68 Aborted. Press any key to exit. 我已经在这里发布了一个关于这个问题的问题,但是随着很多事情发生了变化,我设置了这个问题。 我的设置 如果在安装过程中我遇到了一些不同的麻烦,因为我有一个完全加密的root设置。 此外,UEFI和GPT存在问题,尤其是要使所有function都能与Windows配合使用。 由于安装很久以前,我不记得任何细节。 在我的Ubuntu硬盘上,我有三个主要分区: / dev / sda1:fat32,引导标志。 这应该是EFI分区(/ boot / efi,不是吗?) / dev / sda2:ext2 应该是/ boot / dev / sda3:crypt-luks 加密容器,包含root和swap 故障排除 在我从USB启动的实时系统中,我发现了以下问题: 鹦鹉螺出错 单击nautilus中挂载的引导分区(/ dev / sda2)会出现以下错误: Sorry, could not display all the contents […]

Macbook Pro Ubuntu安装在grub菜单后冻结

我正试图在我的2009 Macbook Pro 5,2上安装Ubuntu 14.10(也试过14.04.1 LTS)。 我已经安装了rEFInd,我按照Ubuntu网站的指示制作了可启动的USB。 我可以进入grub屏幕。 但是,当我选择尝试Ubuntu或安装它时,我收到错误说i8042: No Controller Found并且进程冻结。 我必须使用电源按钮关闭机器。 我用google搜索过,似乎它可能与键盘或触控板有关,也许? 我尝试过使用rEFInd和grub引导命令编辑器中的nomodeset引导选项,但我仍然得到相同的结果。 我也尝试使用这些启动选项: i8042.nopnp noacpi nolapic atkbd.reset 。 结果相同。 为了它的价值,我已经用第二个硬盘取代了我的光驱,这是安装的预定目的地。 任何帮助入门将不胜感激! 谢谢! 编辑:此外,我的主硬盘是一个SSD,并运行OS X Mavericks与磁盘加密。 请注意,我不是尝试在此磁盘上安装Ubuntu,而是在第二个内部HDD上安装。 不确定磁盘加密是否重要。 更新 :我取得了一些进展。 通过编辑grub加载器中的引导选项,我有了新的信息。 我删除了quiet和splash参数并添加了acpi = off。 这个过程现在更加冗长。 此外,它最终会通过闪烁的光标进入Busy Box终端。 但我无法输入任何东西,键盘根本没有响应。 任何帮助都将非常感谢!

update-initramfs缺少/lib/modules/4.4.0-13-generic

我刚刚升级了linux-firmware软件包,之后我使用了$ sudo update-initramfs -u -k all但是我遇到了一些错误: $ sudo update-initramfs -u -k all [sudo] password for piotrek: update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic Warning: No support for locale: en_US.utf8 update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic Warning: No support for locale: en_US.utf8 update-initramfs: Generating /boot/initrd.img-4.4.0-13-generic WARNING: missing /lib/modules/4.4.0-13-generic Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open […]

Ubuntu 12.04将无法加载 – 挂起在Busybox v1.18.5 / initramfs

我想首先说我是Linux新手(大约1个月使用它)。 到目前为止我没有遇到任何问题。 我在东芝笔记本电脑上运行Ubuntu 12.04,配备250 GB硬盘和3 GB内存。 昨天一切正常。 我做的唯一改变是我下载了Banshee作为Rhythmbox的替代品,并做了一些推荐的更新。 今天早上我试着启动,花了很长时间,我终于得到了这个错误: mount: mounting /dev/disk/by-uuid/02bc41cc-1e21-4700-a179-be2805a658c4 on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn’t have requested […]