Problem after installing LMDE
Posted: Tue Apr 23, 2013 7:33 pm
Hi! I just installed LMDE 201303, everything is OK, but i broke Grub to boot Windows.
The thing is that I accidentally installed Grub on sda1. After that Grub didnt work at all: I wasn't able to boot Mint or Windows. I solved this installing Grub from LiveCD again on sda (without the "1") and now i can boot Mint, but when i choose the Windows start option on Grub, it loads Grub again.. sda1 is a NTFS partition with Windows system files in it)
I was looking for solutions.. I shoud delete the grub installation on sda1 to make it work but i can't find how..
The only thing i found is doing this:
but when i ran the "for" i got an error that /dev/pts /proc /sys folders doesnt exist (why shoud them, its a Windows partition!). After that, i created manually that folders and i coud mount them. Another error came when i tried to chroot, saying "/bin/bash" folder didnt exist, and copying that folder from my Mint didnt solve that =P.
So, how do i delete Grub from sda1? Doing that i will be able to boot Windows again, right?
Thanks in advance.
The thing is that I accidentally installed Grub on sda1. After that Grub didnt work at all: I wasn't able to boot Mint or Windows. I solved this installing Grub from LiveCD again on sda (without the "1") and now i can boot Mint, but when i choose the Windows start option on Grub, it loads Grub again.. sda1 is a NTFS partition with Windows system files in it)
I was looking for solutions.. I shoud delete the grub installation on sda1 to make it work but i can't find how..
The only thing i found is doing this:
Code: Select all
sudo mkdir /mnt/tmp # or any temporary directory
sudo mount /dev/sda1 /mnt/tmp
sudo for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt/temp$i; done
sudo chroot /mnt/tmp
root@asd:/#apt-get purge grub grub-pc grub-common
So, how do i delete Grub from sda1? Doing that i will be able to boot Windows again, right?
Thanks in advance.