error : no such device:… Entering rescue mode… grub rescue [duplicate]












0















This question already has an answer here:




  • How to remove Ubuntu and put Windows back on?

    16 answers



  • Unable to boot into Windows after installing Ubuntu, how to fix?

    17 answers




Ok so I installed Ubuntu dual boot with Windows 7 last year. But I found out I never used it so I decided to wipe the Ubuntu drive from Windows. Next startup I got this error, note the grub partition has been wiped and I have no way to booting into Win 7 now cuz of this grub rescue error. I have a Kali Linux live USB, so I can boot and do some changes (although this is technically not a Ubuntu live USB)



Edit: I can't boot into neither Windows or Ubuntu (It's deleted) now, so commands to run in Ubuntu won't work for me. And btw the grub files are gone.



Any idea how to fix this? Thanks :)










share|improve this question















marked as duplicate by karel, Zanna, Eric Carvalho, Fabby, Charles Green Dec 10 '18 at 16:37


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
    – Law Wen Jun
    Dec 7 '18 at 13:33
















0















This question already has an answer here:




  • How to remove Ubuntu and put Windows back on?

    16 answers



  • Unable to boot into Windows after installing Ubuntu, how to fix?

    17 answers




Ok so I installed Ubuntu dual boot with Windows 7 last year. But I found out I never used it so I decided to wipe the Ubuntu drive from Windows. Next startup I got this error, note the grub partition has been wiped and I have no way to booting into Win 7 now cuz of this grub rescue error. I have a Kali Linux live USB, so I can boot and do some changes (although this is technically not a Ubuntu live USB)



Edit: I can't boot into neither Windows or Ubuntu (It's deleted) now, so commands to run in Ubuntu won't work for me. And btw the grub files are gone.



Any idea how to fix this? Thanks :)










share|improve this question















marked as duplicate by karel, Zanna, Eric Carvalho, Fabby, Charles Green Dec 10 '18 at 16:37


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
    – Law Wen Jun
    Dec 7 '18 at 13:33














0












0








0


1






This question already has an answer here:




  • How to remove Ubuntu and put Windows back on?

    16 answers



  • Unable to boot into Windows after installing Ubuntu, how to fix?

    17 answers




Ok so I installed Ubuntu dual boot with Windows 7 last year. But I found out I never used it so I decided to wipe the Ubuntu drive from Windows. Next startup I got this error, note the grub partition has been wiped and I have no way to booting into Win 7 now cuz of this grub rescue error. I have a Kali Linux live USB, so I can boot and do some changes (although this is technically not a Ubuntu live USB)



Edit: I can't boot into neither Windows or Ubuntu (It's deleted) now, so commands to run in Ubuntu won't work for me. And btw the grub files are gone.



Any idea how to fix this? Thanks :)










share|improve this question
















This question already has an answer here:




  • How to remove Ubuntu and put Windows back on?

    16 answers



  • Unable to boot into Windows after installing Ubuntu, how to fix?

    17 answers




Ok so I installed Ubuntu dual boot with Windows 7 last year. But I found out I never used it so I decided to wipe the Ubuntu drive from Windows. Next startup I got this error, note the grub partition has been wiped and I have no way to booting into Win 7 now cuz of this grub rescue error. I have a Kali Linux live USB, so I can boot and do some changes (although this is technically not a Ubuntu live USB)



Edit: I can't boot into neither Windows or Ubuntu (It's deleted) now, so commands to run in Ubuntu won't work for me. And btw the grub files are gone.



Any idea how to fix this? Thanks :)





This question already has an answer here:




  • How to remove Ubuntu and put Windows back on?

    16 answers



  • Unable to boot into Windows after installing Ubuntu, how to fix?

    17 answers








dual-boot grub2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 7 '18 at 13:35







Law Wen Jun

















asked Dec 7 '18 at 13:09









Law Wen JunLaw Wen Jun

11




11




marked as duplicate by karel, Zanna, Eric Carvalho, Fabby, Charles Green Dec 10 '18 at 16:37


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by karel, Zanna, Eric Carvalho, Fabby, Charles Green Dec 10 '18 at 16:37


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
    – Law Wen Jun
    Dec 7 '18 at 13:33


















  • The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
    – Law Wen Jun
    Dec 7 '18 at 13:33
















The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
– Law Wen Jun
Dec 7 '18 at 13:33




The thing is I can't boot into windows or Linux (cuz it's deleted?) So I can't try that. The only things I can do are through the live usb
– Law Wen Jun
Dec 7 '18 at 13:33










1 Answer
1






active

oldest

votes


















0














This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.



Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.





  1. Run this command to check your disk:



    sudo fdisk -l


    The output tells you the disk information:



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x016c8108

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT



  2. Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.



    sudo apt-get update
    sudo apt-get install syslinux



  3. Once installed, you can fix your Windows bootloader by running the below command in the terminal:



    sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda







share|improve this answer























  • If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
    – karel
    Dec 7 '18 at 14:59


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.



Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.





  1. Run this command to check your disk:



    sudo fdisk -l


    The output tells you the disk information:



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x016c8108

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT



  2. Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.



    sudo apt-get update
    sudo apt-get install syslinux



  3. Once installed, you can fix your Windows bootloader by running the below command in the terminal:



    sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda







share|improve this answer























  • If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
    – karel
    Dec 7 '18 at 14:59
















0














This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.



Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.





  1. Run this command to check your disk:



    sudo fdisk -l


    The output tells you the disk information:



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x016c8108

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT



  2. Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.



    sudo apt-get update
    sudo apt-get install syslinux



  3. Once installed, you can fix your Windows bootloader by running the below command in the terminal:



    sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda







share|improve this answer























  • If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
    – karel
    Dec 7 '18 at 14:59














0












0








0






This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.



Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.





  1. Run this command to check your disk:



    sudo fdisk -l


    The output tells you the disk information:



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x016c8108

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT



  2. Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.



    sudo apt-get update
    sudo apt-get install syslinux



  3. Once installed, you can fix your Windows bootloader by running the below command in the terminal:



    sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda







share|improve this answer














This tutorial shows how to repair your Windows bootloader (MBR) from Ubuntu dual boot or Ubuntu live DVD/USB. This can be useful if you don't have a Windows DVD on hand.



Boot into your Ubuntu operating system. When you're in Ubuntu, open the terminal and follow the below steps.





  1. Run this command to check your disk:



    sudo fdisk -l


    The output tells you the disk information:



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x016c8108

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 39054014 19526976 7 HPFS/NTFS/exFAT



  2. Now run these commands to install syslinux, which is a suite of lightweight IBM PC MBR bootloaders for starting up computers with the Linux kernel.



    sudo apt-get update
    sudo apt-get install syslinux



  3. Once installed, you can fix your Windows bootloader by running the below command in the terminal:



    sudo dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda








share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 10 '18 at 0:16

























answered Dec 7 '18 at 13:44









Law Wen JunLaw Wen Jun

11




11












  • If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
    – karel
    Dec 7 '18 at 14:59


















  • If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
    – karel
    Dec 7 '18 at 14:59
















If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
– karel
Dec 7 '18 at 14:59




If you want an upvoted answer, copy/paste the text from this Ubuntu Pastebin link (it's the same as your answer here) as an answer to Unable to boot into Windows after installing Ubuntu, how to fix? and I'll upvote it.
– karel
Dec 7 '18 at 14:59



Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents