Linux reset

Solved
jean -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -
Hello,
I have Windows 8 and Linux Mint on my Toshiba.
I would like to reset Linux without touching Windows.
Thank you for your advice.
Linux version 19.3

<config>Windows / Firefox 81.0</config>

13 answers

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Hello,
    • First of all, back up any documents that matter to you on an external drive (USB stick, CD...).
    • I recommend taking the time to read a Linux installation tutorial that covers partitioning, such as this one. I also suggest reporting your partitioning to us (result of the command
      sudo parted -l
      ) and asking us your questions if something is unclear regarding the partitioning.
    • Next, download Mint and prepare {your CD/USB stick} for installation. More details on this page.
    • When partitioning, make sure not to touch the Windows partitions. The safest way to do this is to perform a manual partitioning. Reassign your partitions
      /
      ,
      /home
      , and swap to their current roles. Format
      /
      and swap, but there's no need to format
      /home
      (this way, you should keep your documents).


    Good luck
    0
    1. jean
       
      I have 7 partitions. How can I report the result of sudo? I can't send an attachment like with mail. Then which partition will need to be formatted?
      0
      1. jns55 > jean
         
        Hello,
        How to copy the result of sudo?

        By simply copying and pasting. You select the text in the terminal and then right-click/Copy...
        0
  2. jean
     
    Partitions 1 3 4 6 7 ntfs basic data partition
    partition 2 fat32 basic data partition
    partition 5 ext4
    (I don't know how to copy/paste a screenshot).
    Which partitions need to be formatted?
    I cannot partition an already partitioned disk.
    0
    1. jns55
       
      Partition 5 ext4.
      Be careful, under Linux it will likely be called sdaX where X is a number but not necessarily a 5! Use the size as a reference.
      0
      1. jean > jns55
         
        the partition 4 size 232GB - the partition 5 235GB. What to do?
        0
      2. jns55 > jean
         
        Normally, the Linux Mint installer detects the operating systems present on the partitions.
        Choose "Something else"
        https://linuxmint-installation-guide.readthedocs.io/en/latest/_images/installer-install.en.png
        Which will result in, for example:
        https://linuxmint-installation-guide.readthedocs.io/en/latest/_images/installer-partitions.en.png

        If you already have a Mint installation on the disk, it will see it and you will know which partition to install on.
        0
  3. jean
     
    Thank you for your patience.
    I deleted a large volume (and not two as you advised me, I would have destroyed the C: drive) and I reinstalled Linux. Everything was fine but upon restart I can only access Windows and no longer Linux.
    0
    1. jns55
       
      I deleted a large volume (and not two as you advised me, I would have destroyed the disk c:)

      I never advised you to delete two partitions! Reread the thread of the discussion.

      Boot from your installation media and run a boot-info report
      tutorial here:
      https://doc.ubuntu-fr.org/tutoriel/boot-info
      0
    2. jean > jns55
       
      This tutorial is for Ubuntu. So is it applicable to Linux Mint? I've already entered shell commands that are valid for Ubuntu and it messed up my Linux.
      0
    3. jean > jean
       
      When starting the computer with my Unix disk, I get the following messages and it stops.
      failed to open \EFI\Boot\mx64.efi not found
      failed to load image \EFI\Boot\mx64.efi not found
      failed to start Mokmanager not found
      something has gone seriously wrong: import_moke_stat() failed
      not found
      0
    4. jns55 > jean
       
      This tutorial is for Ubuntu. Is it therefore valid for Linux Mint?

      Yes: no danger, Linux Mint is derived from Ubuntu (it's 99.9% Ubuntu)
      In any case, you will perform the manipulation in the live USB session, not on the installed system on the hard drive. The program will simply retrieve information from your hard drive and the installation that has been made. That is the only way to understand what is wrong.
      0
    5. jean > jns55
       
      As you saw my message from October 30th at 11 am? I meant with my Unix DVD and not with my Unix disk.
      0
  4. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    @jns55, I wonder if Jean accidentally deleted his EFI partition.
    @Jean, does your Windows still boot?
    0
    1. jns55
       
      @mamiemando
      The information he's providing is fragmented and imprecise. It's hard to know exactly what he's done. Without the boot-info report, it's impossible to get a clear view of the situation. We don't even know which version of Mint he wants to reinstall.
      A search online with the message
      failed to open \EFI\Boot\mmx64.efi not found
      yields a lot of responses. The solution would be to rename the file grubx64.efi to mmx64.efi on the installation media... but I find that strange: booting from Mint installation media doesn't usually pose any particular problems; so is it damaged media? Malconfigured BIOS?
      0
  5. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Let's wait for their boot-info then :-)
    0
    1. jean
       
      I reset Windows. jns55 is no longer responding to my messages.
      0
    2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940 > jean
       
      Hello Jean,

      Don't worry, he might be busy. Where do we stand?

      If I understood correctly, you have secure boot, and Windows is starting.
      • Is Linux Mint installed?
      • If so, have you prepared a disk (USB or CD) with a Mint installer suitable for secure boot / UEFI (i.e. a recent version)?
      • What is the current error message? If you are still blocked by the error message
        EFI\BOOT\mmx64.efi not found
        , check this discussion .


      Good luck
      0
    3. jean > mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention  
       
      It’s getting a little better. On startup, I have Windows 8.1. If I hold Shift and restart, I can enter the BIOS. I choose to use a device and then Ubuntu. I then see the screen I had before that allows me to choose Linux or Windows.
      0
    4. jean > mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention  
       
      Linux is reinstalled. I don't have it at startup. If I enter the BIOS, I choose to use a device and then Ubuntu. I then get the screen I had at the beginning allowing me to choose Linux or Windows. I have Windows 8.1 and Linux 19.3.
      I managed to get the boot-info report: http://paste.ubuntu.com/p/hHWCJZ8ypc/
      0
    5. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940 > jean
       
      The repair suggested by
      boot-repair
      seems promising.
      0
  6. jns55
     
    Hello,
    The solution is found at the end of your boot-info report:
    Final advice in case of suggested repair: ______________________________________

    Please do not forget to make your UEFI firmware boot on the currently used OS - Linux Mint 19.3 Tricia CurrentSession entry (sda2/efi/****/shim****.efi (**** will be updated in the final message) file)!
    If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

    If your UEFI firmware does not allow you to change the boot order, change the default boot entry of the Windows bootloader.
    For example, you can boot into Windows, then type the following command in an admin command prompt:
    bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)
    paste2.org ko (http://paste2.org/


    You need to go into the BIOS (UEFI) to set the boot to Mint.
    0
  7. jean
     
    The BIOS does not allow me to change the boot order.
    I want to type the administrator command (bcdedit), but what should I put in place of ****?
    Moreover, I have no sound on Linux. It's tough for a music lover. (while I have it with Windows).
    0
    1. jns55
       
      I want to type the administrator command (bcdedit), but what should I put in place of the ****?

      I can't give you the answer from a distance, it depends on what's in the efi partition.

      I also want to draw your attention to the fact that this type of command is considered "sensitive": if you mess up and don't provide the correct parameters, Windows will no longer boot. So if you manage to boot into both OSs through a small workaround, it's a lesser evil, right?
      0
  8. jean
     
    You are right. I will settle for what you told me. I can see that I bothered you with my nitpicking. I'm sorry.
    While snooping around, I came across this information:
    no boot loader installed on the MBR of /dev/sda. Can't it be useful?
    The most important thing for me is the absence of sound.
    0
    1. jns55
       
      No boot loader installed on the MBR of /dev/sda. Is that of any use?

      No, that's for an installation in MBR mode, you are in UEFI...

      Did the sound work before?
      0
  9. jean
     
    The sound worked once and since then nothing.
    0
    1. jns55
       
      If it worked once, it means the sound card is recognized; it's probably a configuration issue.
      Click on the sound icon and check the output settings; sometimes there are multiple options: Stereo analog, HDMI, etc... Try them one by one.
      0
  10. jean
     
    Unfortunately, there is no other option than analog stereo output.
    0
    1. jns55
       
      https://doc.ubuntu-fr.org/son_problemes
      (Ubuntu or Mint, it's the same base)
      0
  11. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Hello,

    I gather from the discussion that the dual boot with Windows and Linux is now operational, and that there's only a sound issue remaining? If so, you can follow this tutorial and let us know your sound card model. Also, check in
    pavucontrol
    that the levels are not muted and at a reasonable volume (the same goes for your speakers if you have any).

    Good luck
    0
  12. jean
     
    I'm sorry, I had something else to do. I tried running pavucontrol. Here, with Linux Mint, the run command doesn't exist.
    0
    1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
       
      Hello

      ... the run command does not exist.

      The run command? I didn't understand.

      Just install the package
      pavucontrol
      using the command
      sudo apt install pavucontrol
      , then launch it with the command
      pavucontrol
      .

      Good luck.
      0
    2. jean > mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention  
       
      I resolved the sound issue in an unconfessable way (booting from a Toshiba recovery DVD).
      Another problem: I have a USB stick (capacity 15.7GB). I want to put an ISO file of 4.4GB on it. It stops at 4.3GB.
      Message: copy error. splicing operation error on the file. file too large
      I don't understand.
      0
    3. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > jean
       
      Hi,

      Your drive is probably formatted in FAT32, a file system that does not accept files larger than 4GB.
      0
    4. jean > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      Thank you, I formatted NTFS. It's working.
      0
    5. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > jean
       
      You're welcome.
      0
  13. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Ok, so I'm closing this issue (you managed to reset via system recovery), and for any other remaining issues, I invite you to open a new discussion for each issue.

    Good luck!
    1