You are not logged in.
Pages: 1
I have vista in /dev/sda1 and arch on /dev/sda3
my vista boot loader wiped my grub from MBR so when i did the following in grub pompt
grub> find /boot/grub/stage1
(hd0,2)
grub> root (hd0,2)
grub> setup (hd0,2) this was a mistake coz i wanted setup (hd0)
how can i delete grub from my /dev/sda3 and instead have it in my MBR
Thanks
Acer Aspire V5-573P Antergos KDE
Offline
This *should* do it. Of course, it may completely screw it.
dd if=/dev/zero of=/dev/sda2 bs=446 count=1
http://www.cyberciti.biz/faq/linux-how- … tall-grub/
Last edited by fukawi2 (2008-10-16 21:35:26)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
well that does not help can someone confirm is it will not screw my root partition?
Acer Aspire V5-573P Antergos KDE
Offline
That's just a standard disclaimer
If you want a bit of a safe-guard, make a backup of the bytes you're overwriting first to a USB key or another partition:
dd if=/dev/sda2 of=/mnt/usb-key bs=446 count=1
Then if it does screw things up, restore that part of the disk with:
dd if=/mnt/usb-key of=/dev/sda2 bs=446 count=1
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1