我正在尝试在 Acer aspire e11 上安装 16.4,但安装后无法启动。它从实时 USB 驱动器运行正常,请提供任何建议。
答案1
在我的 Acer Aspire 上,fstab 文件 (/etc/fstab) 中缺少一行,即 EFI 系统分区!运行:
$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: LABEL="ESP" UUID="30AB-667B" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="623e7385-ee5d-49b8-bc18-dbde551f5067"
/dev/sda3: LABEL="Acer" UUID="8A1EAD321EAD1869" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8ae7090d-3565-438e-9146-073ec0670de3"
/dev/sda4: LABEL="Recovery" UUID="2CD2AF55D2AF2256" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e337e795-6016-4fdc-a552-3d3cf469b6c9"
/dev/sda5: UUID="b81dd225-11b1-4783-81ff-1572f8058c23" TYPE="swap" PARTLABEL="Swap area" PARTUUID="71233eb1-916f-4bc1-bcfa-dd62f662c81a"
/dev/sda6: LABEL="MintXfce" UUID="05130fba-7126-4d1c-8bfa-bde9f2a79ea9" TYPE="ext4" PARTLABEL="Linux Mint" PARTUUID="e38142cd-8120-4764-bd17-8a8fae6a2aa3"
/dev/sda7: LABEL="Voyager" UUID="3068f167-88f1-44bb-8b5d-628681dd9536" TYPE="ext4" PARTLABEL="Vouager" PARTUUID="73b60fe3-bc04-40a4-aeee-ff4cdb3cf5db"
/dev/sda8: LABEL="Ubuntu" UUID="53942c96-b474-4589-9d0f-239b39dcd39a" TYPE="ext4" PARTLABEL="Xubuntu" PARTUUID="ec9949ad-ac5d-4d97-906b-d3963010e6f9"
/dev/sda9: LABEL="Security" UUID="62e607e2-6539-416d-b323-46ca4f5543e2" TYPE="ext4" PARTLABEL="Kali" PARTUUID="d4004d4f-0896-4184-ae85-cc2d1746b0ba"
/dev/sda10: LABEL="Hjem" UUID="7dc71844-bb39-4e9b-83c9-472f7d94b16d" TYPE="ext4" PARTLABEL="Data" PARTUUID="f4be90c7-c698-432c-8b08-175fd5c02c69"
/dev/sda11: LABEL="wmlive" UUID="009713f7-0c5a-485f-9a9b-ab59037765b9" TYPE="ext4" PARTLABEL="WMlive" PARTUUID="52e8749e-eb56-4132-abe9-77f1aa82c528"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="e09f4516-a38d-4564-ac2e-1fdfdaef6d83"
我们正在寻找的行是:
/dev/sda1: LABEL="ESP" UUID="30AB-667B" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="623e7385-ee5d-49b8-bc18-dbde551f5067"
然后您必须在 fstab 文件中输入该信息(使用您自己的系统 UUID):
# /etc/fstab: static file system information
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda8 during installation
UUID=53942c96-b474-4589-9d0f-239b39dcd39a / ext4 errors=remount-ro 0 1
# /boot/efi was Missing on /dev/sda1 during installation
UUID=30AB-667B /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda5 during installation
UUID=b81dd225-11b1-4783-81ff-1572f8058c23 none swap sw 0 0
# Hjem was not loaded at installation /dev/sda10: LABEL="Hjem" UUID="7dc71844-bb39-4e9b-83c9-472f7d94b16d" TYPE="ext4"
UUID=7dc71844-bb39-4e9b-83c9-472f7d94b16d /mnt/hjem ext4 relatime 0 2
这是以# /boot/efi
忘记最后两行,这是我的设置 - 保存文件(您需要使用 sudo 权限进行编辑 - 否则您无法保存更改!
现在重新启动并且它应该可以正常启动了!
答案2
比赛有点晚了,但是BIOS 未显示 Acer Aspire ES1-132 上安装的 Ubuntu。可以通过 grub cli 启动有什么用处吗?
(适用于 Acer Aspire ES1)
答案3
如果您在 UEFI BIOS 上安装时遇到问题(不确定此问题是否只针对 Acer 笔记本电脑),这里有一个主题可以帮助我解决此问题。
如果它消失,我会复制命令,但所有功劳都归功于 Acer 社区论坛的 Pueseso。
启动 Ubuntu Live USB
打开终端
sudo -s
ubiquity -b
安装结束后按继续测试。
现在我们将返回到 CLI( https://wiki.debian.org/GrubEFIReinstall )
sudo mount /dev/sda2 /mnt #sda2 is the root partition
sudo mkdir /mnt/boot/efi
sudo mount /dev/sda1 /mnt/boot/efi #sda1 is the efi partition
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
modprobe efivars # make sure this is loaded
- 注意 bootx64 文件
efibootmgr --verbose
- 我们将重新安装 64 位版本的 grub-install
apt-get install --reinstall grub-efi-amd64
grub-install -no-nvram --root-directory=/mnt
chroot /mnt
update-grub
cd /boot/efi/EFI
cp -R ubuntu BOOT
cd BOOT
cp grubx64.efi bootx64.efi
- 完成后,重新启动系统。