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
DELL XPS 1640 with ATI Mobility Radeon HD 3670. Arch Linux KDE Minimal Install
Offline
This *should* do it. Of course, it may completely screw it.
dd if=/dev/zero of=/dev/sda2 bs=446 count=1http://www.cyberciti.biz/faq/linux-how- … tall-grub/
Last edited by fukawi2 (2008-10-16 21:35:26)
Offline
well that does not help
can someone confirm is it will not screw my root partition?
DELL XPS 1640 with ATI Mobility Radeon HD 3670. Arch Linux KDE Minimal Install
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=1Then if it does screw things up, restore that part of the disk with:
dd if=/mnt/usb-key of=/dev/sda2 bs=446 count=1Offline
Pages: 1