Если у тебя ноутбук с UEFI, то для того, что бы поставить Windows, тебе нужно либо создать установочную флешку с Windows, которая может грузиться в UEFI режиме. И далее подключить её к компьютеру, вызвать загрузочное меню и выбрать пункт загрузки с флешки в UEFI режиме.
Либо создать установочную флешку с Windows, которая умеет грузиться не в UEFI, а в BIOS режиме, опять же подключить её к компьютеру, включить его, вызвать загрузочное меню, в нём выбрать вариант загрузки с флешки не в UEFI, а в bios режиме.
Как вызвать загрузочное меню смотри либо в документации к материнской плате, если это стационарный компьютер, либо в документации к ноутбуку, но обычно это клавиши F8, F12, ещё может быть F6, но ты смотри в документации, у тебя может быть по другому.
Как создать загрузочную флешку с Windows тебе лучше узнать на форумах по поддержке этой операционной системы.
Но скажу лишь, то проще всего создать флешку с Windows 10 для UEFI загрузки, там просто форматируешь её в FAT32 и копируешь на неё все файлы из ISO образа.
Для Windows 7 тоже можно создать флешку с поддержкой UEFI, но там нужно найти UEFI загрузчик.
Про создание флешки с установкой Windows не в UEFI режиме — ищи сам.
anonymous
()
- Ссылка
I wanted to delete Linux from Windows10 dual boot. I deleted the Linux partition, then I fixed windows bootloader by using a windows10 bootable USB: Repair your computer>troubleshoot>Command Prompt > «bootrec.exe /fixmbr». Now, I am stuck at the GNU GRUB version 2.04 screen when I turn my laptop with no response from the keyboard
asked Jan 7, 2022 at 5:31
1
If you know how to get into your BIOS on startup which depends on your model it’s one of the F keys on top. Likely F2 or F8, go to the section titled boot or boot devices and move Windows Bootloader higher than Ubuntu. This should make it where your computer will boot Windows by default and you can use the partitioning tools inside of Windows from there to grow your partition back. Search what key to enter your BIOS for your laptop brand. You can also disable Ubuntu from booting on that menu to prevent GRUB from being able to load at all.
Note that this method will not remove GRUB from your system, it will simply allow Windows to boot again.
answered Jan 7, 2022 at 5:41
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
GNU GRUB (Stands for GNU GRand Unified Bootloader) is a boot loader package. It is a part of the GNU project. It is the reference implementation of the Free Software Foundation’s Multiboot Specification, that provides a user the choice to boot one of multiple operating systems installed on a computer. It also provides the facility to choose a specific kernel configuration available on a specific OS partition. The Minimal BASH Like Line Editing is Supported GRUB Error In Linux looks like as shown below:
Steps to Solve Minimal BASH..GRUB Error
Step 1: Find the partition in which your Linux partition is stored. We can use the ls command to check for available partitions and their filesystem. Linux operating systems usually use ext2/ext3/ext4 filesystems.
grub> ls
This will show us all existing partitions.
Note: If you don’t know which partition has Linux OS then you can check with the ls command as follows:
grub> ls (hdX, Y)
Here, X is disk number and Y is partition name. For Example: grub> ls (hd0, gpt3) or grub> ls (hd1, msdos5)
Step 2: After knowing the partition, set root and prefix variables:
- root: Variable which points where the entire Linux OS is installed.
- prefix: Variable which points where the GRUB is installed.
grub> set root=(hdX, Y) grub> set prefix=(hdX, Y)/boot/grub
Step 3: Install normal module and load it:
normal: Linux mod file (linux.mod) used to load kernal. Command used to install mod : insmod
grub> insmod normal
Run this mod file the setup your GRUB:
grub> normal
Step 4: Update GRUB. After entering your Linux OS, reinstall GRUB and update it. Open the terminal and enter following commands:
sudo grub-install /dev/sdXY sudo update-grub
Here, X is disk number and Y is partition number of EFI partition. If you don’t know which partition is an EFI partition, use Disks or GParted to check.
Restart your PC and the Minimal GRUB error will be solved!!
Last Updated :
11 Nov, 2019
Like Article
Save Article
The other day when I installed Elementary OS in dual boot with Windows, I encountered a Grub error at the reboot time. I was presented with a command line interface displaying this error message:
Minimal BASH like line editing is supported. For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions.
Indeed, this is not an error specific to Elementary OS. It is a common Grub error that could occur with any Linux OS be it Ubuntu, Fedora, Linux Mint etc.
In this article, you’ll see how to fix this “minimal BASH like line editing is supported” Grub error in Ubuntu based Linux systems.
You can read this tutorial to fix a similar and more frequent issue, error: no such partition grub rescue in Linux.
How To Solve: error: no such partition grub rescue in Ubuntu Linux
The other day I was trying to extend my root partition of Ubuntu which I dual boot with Windows 8. The partition extension was successful except that I screwed up the Grub configuration. When I booted in my laptop after the partition changes, I was welcomed by the Death Screen
It’s FOSSAbhishek Prakash
Prerequisites
To fix this issue, you would need the following:
- A live USB or disk of (preferably) the same Linux distribution
- A working internet connection in the live session
Once you ensure you have the prerequisites, let’s see how to fix the black screen of death for Linux (if I can call it that ;)).
Fixing “minimal BASH like line editing is supported” Grub error
The process is simple if you follow the steps carefully (not blindly). You may have to change the partition names as per your system.
Step 1: Boot into the live Linux USB.
Step 2: You need to find out if your system uses EFI or BIOS. To do that, open the terminal and use the following command to list your partitions:
sudo fdisk -l
Look closely at its output because it could be a huge output. If you see something like EFI, it’s an indication that your system has EFI. This information is important in later stages.
Device Start End Sectors Size Type
/dev/sda1 2048 976895 974848 476M EFI System
/dev/sda2 976896 40038399 39061504 18.6G Linux filesystem
/dev/sda3 40038400 79099903 39061504 18.6G Linux filesystem
/dev/sda4 79099904 468875263 389775360 185.9G Linux filesystem
You need to note two things here. The partition where EFI is installed (if it is installed) and the partition where root partition is installed.
Step 3 (for UEFI systems only): Now, what you need to do is to reinstall grub.
Mount the root partition first. I am using /dev/sda2 for root but you should change this with what you have on your system:
sudo mount /dev/sda2 /mnt
If you have EFI system, mount that partition as well:
sudo mount /dev/sda1 /mnt/boot/efi
Now, the next step is to finally install grub for UEFI system like this:
sudo grub-install --boot-directory=/mnt/boot --bootloader-id=ubuntu --target=x86_64-efi --efi-directory=/mnt/boot/efi
Restart Ubuntu Linux using this command:
shutdown -r now
You should have the grub back to normal.
Step 3 (only for non-EFI system): Installing grub on non-EFI system is even easier.
Mount the root partition of Linux:
sudo mount /dev/sda1 /mnt
And then install grub:
sudo grub-install /dev/sd1
Reboot and it should be fine.
Alternate method to fix “minimal BASH like line editing is supported” Grub error in Ubuntu
I know that you might point out that this Grub error is not exclusive to Ubuntu or Ubuntu-based Linux distributions, then why am I emphasizing the world Ubuntu? The reason is that we will take an easy way out and use a tool called Boot Repair to fix our problem. I am not sure if this tool is available for other distributions like Fedora.
Let’s see how to solve minimal BASH like line editing is supported Grub error.
Step 1: Boot in live session
Plug in the live USB and boot into the live session. Make sure to connect to the internet.
Step 2: Install Boot Repair
Once you are in the lives session, open the terminal and use the following commands to install Boot Repair:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair
Step 3: Repair boot with Boot Repair
Once you have installed Boot Repair, run it from the command line using the following command:
boot-repair &
Actually things are pretty straight forward from here. You just need to follow the instructions provided by Boot Repair tool. First, click on Recommended repair option in the Boot Repair.
It will take a couple of minutes for Boot Repair to analyze the problem with boot and Grub. Afterwards, it will provide you some commands to use in the command line. Copy the commands one by one in terminal. For me it showed me a screen like this:
It will do some processes after you enter these commands:
Once the process finishes, it will provide you a URL which consists of the logs of the boot repair. If your boot issue is not fixed even now, you can go to the forum or mail to the dev team and provide them the URL as a reference. Cool, isn’t it?
After the boot repair finishes successfully, shut down your computer, remove the USB and boot again.
For me, it booted successfully but added two additional lines in the Grub screen. Something which was not of importance to me as I was happy to see the system booting normally again.
Did it work for you?
So this is how I fixed minimal BASH like line editing is supported Grub error in Elementary OS.
As with many other troubleshooting cases, patience is the key here.
How about you? Did it work for you? Feel free to ask a question or drop a suggestion in the comment box below.
I’ve newly replaced a motherboard to the below one(shown in the link).
And as I boot the computer I get the following messages with the shell environment.
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
I’ve already inserted the CD which came with the motherboard.
As now, BIOS window can be displayed.
The ssd and other components like USB have been recognized by the computer.
What should I do for next?
The below components are mine.
CPU(i5 10th generation)
Memory(4_GB)
motherboard
graphic card
What I tried after I’ve read the answer shown below.
I located the place where the os has been installed.
But I’ve been struggling to locate where the GRUB has been installed.
I tried «ls (hdX, Y)/boot/grub»
and got
«error:unknown file system»,
«error: /boot/grub
not found»
«themes/ x86_64_efi/ locale/ fonts/ unicode.pf2 grubenv grub.cfg»←place where OS exists.