Lỗi grub2 không cài được linux mint

lỗi không vào được linux mint

tình hình là mình có boot mint vào usb 8gb của mình ,cài vào laptop.khi cài đặt không thấy vấn đề gì cả ,sau đó nó bảo restart thì mình restart thì nó lại không vào được mà báo lỗi như dưới hình ạ 😔[
mọi người ai biết lỗi gì giúp mình với ạ 😆 mình cảm ơn [ảnh hơi mờ ạ ]

Ubuntu and many other Linux distributions use the GRUB2 boot loader. If GRUB2 breaks — for example, if you install Windows after installing Ubuntu or overwriteyour MBR — you won’t be able to boot into Ubuntu.You can easily restore GRUB2 from a Ubuntu live CD or USB drive. This processis different fromrestoring the legacy GRUB boot loader on older Linuxdistributions.

Graphical Method – Boot Repair

Boot Repair is a graphical tool that can repair GRUB2 with a single click. This isthe ideal solution to boot problems for most users.If you have the media you installed Ubuntu from, insert it into your computer andrestart. If you don’t,download a Ubuntu live CDand burn it to a disc or install it on a USB flash drive. You can also download adedicated Boot Repair live CD. After booting into the live Ubuntu environment, open a terminal from the Dash andrun the following commands to install Boot Repair:

sudo add-apt-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install -y boot-repair  boot-repair

The Boot Repair window will appear after you run the boot-repair command. After it scans your system, click the Recommended repair button to repair GRUB2 witha single click.You can also click the Advanced options header to customize GRUB2’s optionswithout learning its command-line syntax.

Restart your computer after using the Boot Repair tool. Ubuntu should boot upnormally.

Terminal Method

If you’d rather get your hands dirty, you can do this yourself from a terminal.You’ll need to boot from a live CD or USB drive, as in the graphical methodabove. Ensure the version of Ubuntu on the CD is the same as the version of Ubuntu installed on your computer — for example, if you have Ubuntu 12.04installed, ensure you use a Ubuntu 12.04 live CD.Open a terminal after booting into the live environment. Identify the partitionUbuntu is installed on using one of the following commands:sudo fdisk -lsudo blkidHere’s the output of both commands. In the fdisk -l command, the Ubuntu partitionis identified by the word Linux in the System column. In the blkid command, the partition is identified by its ext4 file system.

Run the following command to mount the Ubuntu partition at /mnt, replacing/dev/sdX#

with the device name of your Ubuntu partition from the abovecommands:

sudo mount /dev/sdX#/mnt

For example, use /dev/sda1

for the first partition of the first hard disk device.

Important: If you have a separate boot partition, skip the above command andmount the boot partition at /mnt/boot. If you don’t know whether you have aseparate boot partition, you probably don’t.Run the following command to reinstall grub from the live CD, replacing/dev/sdX with the device name of the hard disk above. Omit the number. For example, if you used /dev/sda1 above, use /dev/sda here.

sudo grub-install –boot-directory=/mnt/boot /dev/sdX

Restart your computer and Ubuntu should boot properly

Sau khi cài song song 02 hệ điều hành Linux và Windows trên cùng 01 máy tính, nếu bạn cài lại Windows thì chắc chắn Menu Boot thường được tạo bằng Grub2 Boot sẽ không còn. Vậy làm sao khắc phục lỗi mất Menu Boot Linux sau khi cài lại Windows?

Lúc này, cách khắc phục nhanh nhất là sử dụng phần mềm EasyBCD thêm menu boot Linux ngay trên Windows.

  • Sửa lỗi không vào Windows sau khi cài Linux
  • Cài GNS3 trên Linux không dùng GNS3 VMWare
  • Chọn Linux Mint hay Ubuntu cho lần đầu dùng Linux?
  • Tối ưu và tăng tốc sử dụng VMware Workstation
  • Cài đặt nhiều phiên bản PHP trên cùng Server
  • Cài đặt ASAv trên GNS3 và kết nối bằng Telnet, ASDM

1. EasyBCD là gì? Tải phần mềm ở đâu?

EasyBCD là phần mềm được NeoSmart Technologies phát triển để  cấu hình và tinh chỉnh Boot Configuration Data [hay thường gọi là bảng khởi động – menu boot]. Bảng khởi động được giới thiệu lần đầu tiên trong Windows Vista và được sử dụng trong tất cả các bản phát hành Windows tiếp theo.

Bạn có thể tải EasyBCD tại trang chủ của Neosmart: //neosmart.net/EasyBCD/

EasyBCD hoàn toàn miễn phí cho người dùng cá nhân.

Sau khi tải về và cài đặt phần mềm, lần đầu chạy EasyBCD sẽ cung cấp cho các bạn về Menu boot hiện hữu đang sử dụng [View Settings].

Để thêm Menu boot vào Menu boot có sẵn bạn chọn vào Tab Add New Entry – tiếp tục chuyển qua Tab Linux và cài đặt với các thông số:

– Type: Boot loader của Linux, thường là GRUB hoặc GRUB 2.

– Name: Tên hệ điều hành [bạn nhập thông tin].

– Drive: Phân vùng đang cài đặt Linux trên máy bạn.

Bạn nhớ bấm vào dấu [+] để thêm menu boot nhé.

Sau cùng, bạn vào mục Edit Boot Menu để tinh chỉnh lại Menu Boot

– Default: Lựa chọn mặc định của Menu Boot.

– Count down from: Số giây đếm ngược trước khi tự động boot.

Kết luận

EasyBCD còn một số tính năng hữu ích khác mà bạn có thể tự khám phá như:

– Backup / Restore Bootloader giúp bạn sao lưu phục hồi Menu Boot.

– BCD Deployment hỗ trợ tạo Menu Boot cho USB hoặc phục hồi Master Boot Record.

Theo kinh nghiệm cá nhân thì đây có lẽ là phần mềm tinh chỉnh Boot Menu dễ sử dụng nhất. Hy vọng bài viết sẽ giúp được bạn.

How4VN.com

BÀI VIẾT TƯƠNG TỰ:

  • Sửa lỗi không vào Windows sau khi cài Linux
  • Cài GNS3 trên Linux không dùng GNS3 VMWare
  • Chọn Linux Mint hay Ubuntu cho lần đầu dùng Linux?
  • Tối ưu và tăng tốc sử dụng VMware Workstation
  • Cài đặt nhiều phiên bản PHP trên cùng Server
  • Cài đặt ASAv trên GNS3 và kết nối bằng Telnet, ASDM

5 1 vote

Đánh giá bài viết

Bài Viết Liên Quan

Chủ Đề