Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, members of the community.
The problem is that: after loading from a flash drive on which the Linux image of Magnaro 17.1.2 (xcfe) is written, I see the following message on the screen:
Error: unknown filesystem.
grub rescue>
I looked for a solution to this problem on the Internet and suggested type ls and set. I saw the following:
ls
(hd0) (hd1) (hd2)
set
prefix=(hd0)/boot/grub
root=(hd0)
Then I should enter the following:
set root=(hd0)
set prefix=(hd0)/boot/grub
grub rescue>insmod normal
grub rescue>normal
This must repair GRUB
But after insmod normal console showed "error: unknown file system"
Apparently, this event is caused by the fact that before that I reinstalled my Windows 10 and formatted all the disks.
I would like to understand what the problem is and how to solve it. Ready to answer your questions.
usually, if you download an ISO image and want to "burn" it on an USB flash drive, you should first look at the website of distro maintainer for informations on how to do that. If you do it right, the system installer should boot from the flash drive without any settings in the bootloader.
Hello, members of the community.
The problem is that: after loading from a flash drive on which the Linux image of Magnaro 17.1.2 (xcfe) is written, I see the following message on the screen:
Error: unknown filesystem.
grub rescue>
I looked for a solution to this problem on the Internet and suggested type ls and set. I saw the following:
ls
(hd0) (hd1) (hd2)
set
prefix=(hd0)/boot/grub
root=(hd0)
Then I should enter the following:
set root=(hd0)
set prefix=(hd0)/boot/grub
grub rescue>insmod normal
grub rescue>normal
This must repair GRUB
But after insmod normal console showed "error: unknown file system"
Apparently, this event is caused by the fact that before that I reinstalled my Windows 10 and formatted all the disks. I would like to understand what the problem is and how to solve it. Ready to answer your questions.
I bolded a line in what you posted for emphasis. If you installed Manjaro FIRST, and THEN installed Windows (and formatted your disks (!!) ), it's not surprising you're having problems. You formatted your disks...and GRUB doesn't know about Windows at this point, and there is no Linux left, since you formatted your disks.
Best course of action for you would be to totally format your disks, and delete ALL the partitions on them, and do a fresh Windows 10 load FIRST. Then follow any of the many dual-booting guides: http://linuxbsdos.com/2016/11/07/how...uefi-firmware/
I bolded a line in what you posted for emphasis. If you installed Manjaro FIRST, and THEN installed Windows (and formatted your disks (!!) ), it's not surprising you're having problems. You formatted your disks...and GRUB doesn't know about Windows at this point, and there is no Linux left, since you formatted your disks.
Best course of action for you would be to totally format your disks, and delete ALL the partitions on them, and do a fresh Windows 10 load FIRST. Then follow any of the many dual-booting guides: http://linuxbsdos.com/2016/11/07/how...uefi-firmware/
No, I firstly reinstalled Win10 and then tried to load Manjaro.
Quote:
usually, if you download an ISO image and want to "burn" it on an USB flash drive, you should first look at the website of distro maintainer for informations on how to do that. If you do it right, the system installer should boot from the flash drive without any settings in the bootloader.
No, I am sure that problem is not in burning the USB flash drive. It can be approved by the fact that I have managed with installation of another distro - Linux Mint.
Anyway, thanks to slacksam and TB0ne for participating.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi Wojak,
I second slacksam's comment - you should be able to boot a distro installation USB regardless of the state of any operating systems or file systems present on the hard disk(s) of the computer you are using to boot.
I would recreate the boot medium, paying particular attention to matching the firmware technology of your computer (BIOS vs. UEFI).
Define "load" Manjaro. Are you trying to boot the flash drive to install Manjaro or have you installed and are trying to boot it. From your post, I expect it is the former? Also, you only posted partial info from the ls command run at the Grub rescue, it should show partitions on drives not just drives which your output shows three. The set root line you posted is also incorrect as it is pointing only to a drive and needs to point to a partition. The same goes for the set prefix command trying to point to /boot/grub, only have the drive and not the partition. If you can boot any Linux (Mint?) from an installed system or Live medium, do that and run this command and post the output: parted -l(Lower CAse Letter L in command) Need to be run as root.
This should also tell use if it is EFI or not. Your information is too minimal to get help.
Define "load" Manjaro. Are you trying to boot the flash drive to install Manjaro or have you installed and are trying to boot it. From your post, I expect it is the former? Also, you only posted partial info from the ls command run at the Grub rescue, it should show partitions on drives not just drives which your output shows three. The set root line you posted is also incorrect as it is pointing only to a drive and needs to point to a partition. The same goes for the set prefix command trying to point to /boot/grub, only have the drive and not the partition. If you can boot any Linux (Mint?) from an installed system or Live medium, do that and run this command and post the output: parted -l(Lower CAse Letter L in command) Need to be run as root.
This should also tell use if it is EFI or not. Your information is too minimal to get help.
Excuse me, where must I enter parted -l?
Under "load", I mean launching the GRUB boot loader from a flash drive, in which the distribution image is recorded.
Well, I`ll try to describe the situation again. I reinstalled Windows 10, formatting all the disks. Then I decided to put Linux Maniaro as the second system. After I ran the installation image of Manjaro from the flash drive, I saw a message on the screen:
Error: unknown filesystem.
grub rescue>
Some guides in Internet advised to enter ls and set in order to see partition and location of root.
ls
(hd0) (hd1) (hd2)
set
prefix=(hd0)/boot/grub
root=(hd0)
These messages were exactly as I noted. This is default partition in Windows 10. Then, following by advices, I entered this:
set root=(hd0)
set prefix=(hd0)/boot/grub
grub rescue>insmod normal
grub rescue>normal
This was supposed to lead to the restoration of GRUB, right? But after insmod normal console showed "error: unknown file system".
Under "load", I mean launching the GRUB boot loader from a flash drive, in which the distribution image is recorded.
I'm not sure why you are trying to launch Grub from the flash drive as you say in the next paragraph that you "ran the installation image of Manjaro from the flash drive". So did you run the manjaro installation flash drive and complete the installation? Are you unable to boot the flash drive with manjaro? I don't use Manjaro but I would be surprised if it used Grub on the installation flash drive.
You would run the command as root: parted -l from a terminal on any Linux system. I don't know if you can boot your Manjaro flash drive.
The output you posted of the ls command shows that you have three physical hard drives with NO partitions on any of them. Did you modify that output?
Windows 10 usually is installed UEFI/GPT, that's pre-installed. Since you installed it maybe you did an MBR install, did you?
The 'set root' line you posted point to a hard drive not a partition which won't work. Examples below, the first would be an MBR boot entry for a system on the first partition of the first drive. The second would be the and entry for a GPT partition on the first partition of the second drive. Notice that partitions are noted in the commands, not just the drive. Most important next step is to identify if you are booting UEFI or not and post the total output of the ls command.
Quote:
set root=(hd0,msdos1)
set root='hd2,gpt1'
With the correct set root line, you should then be able to enter the path to the kernel or the EFI file needed to boot, depends on which you are using.
The output you posted of the ls command shows that you have three physical hard drives with NO partitions on any of them. Did you modify that output?
Windows 10 usually is installed UEFI/GPT, that's pre-installed. Since you installed it maybe you did an MBR install, did you?
The 'set root' line you posted point to a hard drive not a partition which won't work. Examples below, the first would be an MBR boot entry for a system on the first partition of the first drive. The second would be the and entry for a GPT partition on the first partition of the second drive. Notice that partitions are noted in the commands, not just the drive. Most important next step is to identify if you are booting UEFI or not and post the total output of the ls command.
With the correct set root line, you should then be able to enter the path to the kernel or the EFI file needed to boot, depends on which you are using.
No, I am sure that problem is not in burning the USB flash drive. It can be approved by the fact that I have managed with installation of another distro - Linux Mint.
Hi Wojak,
the procedure how to put the ISO image onto an USB flash drive may differ from distribution to distribution. So if you managed to make a Linux Mint USB flash that works, doesn't immediately mean that you can create it the same way for Manjaro Linux. That's why I told you to follow the distribution specific documentation.
I suspect the problem is in what file system Windows 10 use. According to diskmgmt.msc all partitions are created based on GPT system. But I have BIOS on my notebook and BIOS must use MBR structure. How to determine it? Anyway, I tried to burn USB flash drive for both MBR and GPT and result was equal as I described before. I did in Rufus, by the way.
UPD: If it`s necessary, BIOS regime is UEFI in my Win 10 (though it has interface of BIOS)
If somebody want help me personally, this is my mail: c7r73uic@gmail.com
Windows 10 doesn't install on a GPT system unless you use UEFI and you need to install both systems UEFI or you will have problems booting. Most any Linux system can be installed EFI and GPT, just need to create a BIOS boot partition but that doesn't happen with windows AFAIK.
If you have windows 10 UEFI, you should see a Microsoft folder under EFI. If you have manjaro UEFI, you should see a manjaro folder under EFI. If you don't have those files, it won't boot EFI so check to see what you have there.
Windows 10 doesn't install on a GPT system unless you use UEFI and you need to install both systems UEFI or you will have problems booting. Most any Linux system can be installed EFI and GPT, just need to create a BIOS boot partition but that doesn't happen with windows AFAIK.
If you have windows 10 UEFI, you should see a Microsoft folder under EFI. If you have manjaro UEFI, you should see a manjaro folder under EFI. If you don't have those files, it won't boot EFI so check to see what you have there.
You may close this thread, I can`t solve the problem after all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.