Trying to dual-boot Aspire E5-575G-31LP, but...

nusunttoni
nusunttoni Member Posts: 8

Tinkerer

edited September 2023 in 2019 Archives
Hi!
I tried to dual-boot Windows 10 and Linux Mint 19 on my Aspire E5-575G-31LP using a program(I think it's name is wubi).
I rebooted the computer to complete the installation.The installation was good until the laptop rebooted again and it showed:
error: no such device: .....
error: unknown filesystem
Entering rescue mode. . .
grub rescue>


What sould I do?
Are there any solutions without needing of a DVD or USB?
Thanks,
Toni.

P.S:sorry for my english.
P.S.2:I found some videos in which the author said to write the 'ls' command and then another command.I wrote ls and appears only (hd0) and in the videos I saw there were more things.

Best Answer

  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Answer ✓
    To recover grub, perform the following procedures:

    The first step is to have at your disposal a live DVD or Ubuntu live pen drive.

    Boot normally, as if you were to format the computer with Ubuntu, however, start the system in live mode, the same way you do when you want to test the system before installing.
    Once on the desktop in live mode look in the system menu terminal, in it we will give 3 commands to recover grub.
    The first command is for you to identify on which partition you have Ubuntu installed.

    sudo fdisk -l

    The answer will look something like the image below, however, NTFS partitions should appear too:

    https2bpblogspotcom-sbAUuB_6ipEVcEYPtiNxuIAAAAAAAAQ60ZV2Jrhle1gcs640Captura2Bde2Btela2Bde2B2015-08-042B16253A53253A01png

    Notice the partition table that is shown in the bottom half of the image (above), on the right side it informs that the partition / dev / sda1 contains Linux, that is, in that partition the system is installed, this step is important because it can vary (probably goes) from computer to computer.

    The second step is to mount the partition that you identified in the previous step, so run this command by modifying the partition that matches your computer's partition.

    sudo mount -t ext4 / dev / sda1 / mnt

    Where the text in red is part you should put according to the partition where Ubuntu is installed on your computer, in my case it was / dev / sda1 but could be / dev / sda2 (sda3, sda4 ..., etc.). )

    In blue we have the file system, which is usually Ext4, in case you have installed Ubuntu with another file system modify this session, otherwise it will not work. If you "just" installed Ubuntu, the system will be Ext4.

    Now comes the comado that will reinstall GRUB itself:

    sudo grub-install --root-directory = / mnt / dev / sda

    With this your GRUB will be back, restart your computer and run the tests.

    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              

Answers

  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Good afternoon nusunttoni !

    What procedure did you perform to install dual-boot?
    Did you use the same Bios system (example: both, WIndows and Mint in UEFi)?
    Are you knowledgeable in Linux distributions?
    Can you work with commands in Terminal?
    Is the Grub home screen displayed?


    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • nusunttoni
    nusunttoni Member Posts: 8

    Tinkerer

    MaClane said:
    Good afternoon nusunttoni !

    What procedure did you perform to install dual-boot?
    Did you use the same Bios system (example: both, WIndows and Mint in UEFi)?
    Are you knowledgeable in Linux distributions?
    Can you work with commands in Terminal?
    Is the Grub home screen displayed?


    Thanks for your reply @MaClane!
    1.I simply opened wubi and selected the partition and clicked install.I entered the BIOS and saw it's Legacy, not UEFI(I think the program changed automaticaly the settings).
    2.I don't know to much about Linux distros.
    3.I can write them if i see them.
    4.All what I see is what I mentioned.
    I don't think is Grub home screen.
  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    For a Linux system, few things are as bad as WUBI, an ill-done attempt to write Unix systems on Micosoft.

    The most effective and correct way to do dual boot would be the following steps:

    1- Remove all unnecessary files from the HDD;
    2. Defragment Windows;
    3- Use the Disk Manager to create a partition on which Linux is installed;
    4- Download a distro of greater compatibility and ease for beginners, like Ubuntu;
    5- Install in the same standard Bios mode that Windows is using (if Windows is Legacy, Linux should be the same, and vice versa);
    6 - After installation in the partition created, Grub 2.0 would already automatically recognize both Windows and Linux.

    In your case, either you can carry out the whole process again, from the more supportive fomra, or you can try to recover the Grub.

    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Answer ✓
    To recover grub, perform the following procedures:

    The first step is to have at your disposal a live DVD or Ubuntu live pen drive.

    Boot normally, as if you were to format the computer with Ubuntu, however, start the system in live mode, the same way you do when you want to test the system before installing.
    Once on the desktop in live mode look in the system menu terminal, in it we will give 3 commands to recover grub.
    The first command is for you to identify on which partition you have Ubuntu installed.

    sudo fdisk -l

    The answer will look something like the image below, however, NTFS partitions should appear too:

    https2bpblogspotcom-sbAUuB_6ipEVcEYPtiNxuIAAAAAAAAQ60ZV2Jrhle1gcs640Captura2Bde2Btela2Bde2B2015-08-042B16253A53253A01png

    Notice the partition table that is shown in the bottom half of the image (above), on the right side it informs that the partition / dev / sda1 contains Linux, that is, in that partition the system is installed, this step is important because it can vary (probably goes) from computer to computer.

    The second step is to mount the partition that you identified in the previous step, so run this command by modifying the partition that matches your computer's partition.

    sudo mount -t ext4 / dev / sda1 / mnt

    Where the text in red is part you should put according to the partition where Ubuntu is installed on your computer, in my case it was / dev / sda1 but could be / dev / sda2 (sda3, sda4 ..., etc.). )

    In blue we have the file system, which is usually Ext4, in case you have installed Ubuntu with another file system modify this session, otherwise it will not work. If you "just" installed Ubuntu, the system will be Ext4.

    Now comes the comado that will reinstall GRUB itself:

    sudo grub-install --root-directory = / mnt / dev / sda

    With this your GRUB will be back, restart your computer and run the tests.

    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • nusunttoni
    nusunttoni Member Posts: 8

    Tinkerer

    edited March 2019
    MaClane said:
    To recover grub, perform the following procedures:

    The first step is to have at your disposal a live DVD or Ubuntu live pen drive.

    Boot normally, as if you were to format the computer with Ubuntu, however, start the system in live mode, the same way you do when you want to test the system before installing.
    Once on the desktop in live mode look in the system menu terminal, in it we will give 3 commands to recover grub.
    The first command is for you to identify on which partition you have Ubuntu installed.

    sudo fdisk -l

    The answer will look something like the image below, however, NTFS partitions should appear too:

    https2bpblogspotcom-sbAUuB_6ipEVcEYPtiNxuIAAAAAAAAQ60ZV2Jrhle1gcs640Captura2Bde2Btela2Bde2B2015-08-042B16253A53253A01png

    Notice the partition table that is shown in the bottom half of the image (above), on the right side it informs that the partition / dev / sda1 contains Linux, that is, in that partition the system is installed, this step is important because it can vary (probably goes) from computer to computer.

    The second step is to mount the partition that you identified in the previous step, so run this command by modifying the partition that matches your computer's partition.

    sudo mount -t ext4 / dev / sda1 / mnt

    Where the text in red is part you should put according to the partition where Ubuntu is installed on your computer, in my case it was / dev / sda1 but could be / dev / sda2 (sda3, sda4 ..., etc.). )

    In blue we have the file system, which is usually Ext4, in case you have installed Ubuntu with another file system modify this session, otherwise it will not work. If you "just" installed Ubuntu, the system will be Ext4.

    Now comes the comado that will reinstall GRUB itself:

    sudo grub-install --root-directory = / mnt / dev / sda

    With this your GRUB will be back, restart your computer and run the tests.
    Thanks again for your reply.
    At the moment I am unable to test this method, as I don't have where to install Ubuntu on a dvd/stick.

    If you or someone who see this post can help me I would appreciate.
    Thanks.
  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Because you performed a "Microsoft" installation, the correct and safe way to fix Grub is that way.
    You need an ISO via CD / DVD or flash drive that contains the reconfiguration files to update the Grub.
    It does not necessarily have to be an Ubuntu distro.
    Help is offered.
    Just perform the procedures.

    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • nusunttoni
    nusunttoni Member Posts: 8

    Tinkerer

    MaClane said:
    To recover grub, perform the following procedures:

    The first step is to have at your disposal a live DVD or Ubuntu live pen drive.

    Boot normally, as if you were to format the computer with Ubuntu, however, start the system in live mode, the same way you do when you want to test the system before installing.
    Once on the desktop in live mode look in the system menu terminal, in it we will give 3 commands to recover grub.
    The first command is for you to identify on which partition you have Ubuntu installed.

    sudo fdisk -l

    The answer will look something like the image below, however, NTFS partitions should appear too:

    https2bpblogspotcom-sbAUuB_6ipEVcEYPtiNxuIAAAAAAAAQ60ZV2Jrhle1gcs640Captura2Bde2Btela2Bde2B2015-08-042B16253A53253A01png

    Notice the partition table that is shown in the bottom half of the image (above), on the right side it informs that the partition / dev / sda1 contains Linux, that is, in that partition the system is installed, this step is important because it can vary (probably goes) from computer to computer.

    The second step is to mount the partition that you identified in the previous step, so run this command by modifying the partition that matches your computer's partition.

    sudo mount -t ext4 / dev / sda1 / mnt

    Where the text in red is part you should put according to the partition where Ubuntu is installed on your computer, in my case it was / dev / sda1 but could be / dev / sda2 (sda3, sda4 ..., etc.). )

    In blue we have the file system, which is usually Ext4, in case you have installed Ubuntu with another file system modify this session, otherwise it will not work. If you "just" installed Ubuntu, the system will be Ext4.

    Now comes the comado that will reinstall GRUB itself:

    sudo grub-install --root-directory = / mnt / dev / sda

    With this your GRUB will be back, restart your computer and run the tests.
    I tried this but it does not appear any OS installed.
    What i have to do?Thanks!
  • nusunttoni
    nusunttoni Member Posts: 8

    Tinkerer

    NEVERMIND, a Ubuntu install from USB resolved the problem.
  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Ubuntu has greater compatibility with hardware.
    Accept the answer and mark as resolved to help others in the forum!

    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • 09975669107
    09975669107 Member Posts: 1 New User
    MaClane said:
    To recover grub, perform the following procedures:

    The first step is to have at your disposal a live DVD or Ubuntu live pen drive.

    Boot normally, as if you were to format the computer with Ubuntu, however, start the system in live mode, the same way you do when you want to test the system before installing.
    Once on the desktop in live mode look in the system menu terminal, in it we will give 3 commands to recover grub.
    The first command is for you to identify on which partition you have Ubuntu installed.

    sudo fdisk -l

    The answer will look something like the image below, however, NTFS partitions should appear too:

    https2bpblogspotcom-sbAUuB_6ipEVcEYPtiNxuIAAAAAAAAQ60ZV2Jrhle1gcs640Captura2Bde2Btela2Bde2B2015-08-042B16253A53253A01png

    Notice the partition table that is shown in the bottom half of the image (above), on the right side it informs that the partition / dev / sda1 contains Linux, that is, in that partition the system is installed, this step is important because it can vary (probably goes) from computer to computer.

    The second step is to mount the partition that you identified in the previous step, so run this command by modifying the partition that matches your computer's partition.

    sudo mount -t ext4 / dev / sda1 / mnt

    Where the text in red is part you should put according to the partition where Ubuntu is installed on your computer, in my case it was / dev / sda1 but could be / dev / sda2 (sda3, sda4 ..., etc.). )

    In blue we have the file system, which is usually Ext4, in case you have installed Ubuntu with another file system modify this session, otherwise it will not work. If you "just" installed Ubuntu, the system will be Ext4.

    Now comes the comado that will reinstall GRUB itself:

    sudo grub-install --root-directory = / mnt / dev / sda

    With this your GRUB will be back, restart your computer and run the tests.