error : no such device:… Entering rescue mode… grub rescue [duplicate]
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 :)
dual-boot grub2
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.
add a comment |
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 :)
dual-boot grub2
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
add a comment |
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 :)
dual-boot grub2
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
dual-boot grub2
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
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
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
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
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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
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
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
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
add a comment |
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.
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
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
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
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
add a comment |
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.
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
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
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
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.
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
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
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
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
add a comment |
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
add a comment |
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