You are not logged in.

#1 2005-09-29 19:06:49

fdrebin
Member
Registered: 2005-04-25
Posts: 152

how to install grub to the mbr after win xp installation

when installing win xp it writes itself to the mbr.
now how can i get grub to load again at bootup?

Offline

#2 2005-09-29 19:43:02

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: how to install grub to the mbr after win xp installation

maybe this thread(s) will help:
http://bbs.archlinux.org/viewtopic.php? … ub+windows

personally, I'd first try chrooting and using the grub-install hdx method....

Offline

#3 2005-09-29 20:56:03

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: how to install grub to the mbr after win xp installation

don't get it - there are several people saying different things...
so i boot the arch-cd to the commandline and then i enter what command...?

Offline

#4 2005-09-30 14:20:03

fluke
Member
From: Shaoguan Univ., PRC
Registered: 2005-08-12
Posts: 241
Website

Re: how to install grub to the mbr after win xp installation

you can install a grub_for_dos to boot your arch.
Just down a grub_for_dos, extra GRLDR from it, and add one line to your boot.ini:

c:grldr="Start from grub"

Then you need to will extra the menu.lst file to your first partition, add an option like this:

title Arch Linux
kernel (hdx,y)/boot/vmlinuz26 vga=791 root=/dev/discs/discx/party+1 ro
initrd (hdx,y)/boot/initrd.img

Offline

#5 2005-10-01 11:24:05

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

Re: how to install grub to the mbr after win xp installation

you could install grub to the MBR overwriting the windows loader...

Offline

#6 2005-10-01 13:35:52

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 692

Re: how to install grub to the mbr after win xp installation

Offline

#7 2005-10-02 22:02:34

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: how to install grub to the mbr after win xp installation

doesn't work for me!
how can i boot inot linux konsole to run grub from there ???
what to do then?
would be nice if anyone told me how to do this EXACTLY (step by step)!

Offline

#8 2005-10-02 22:15:39

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: how to install grub to the mbr after win xp installation

boot into the cdrom

mount /dev/hdxy /mnt/

chroot /mnt

grub-install hdx

Offline

#9 2005-10-03 10:08:39

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: how to install grub to the mbr after win xp installation

first 3 steps worked for me
i had to do: mount /dev/discs/disc0/part3 /mnt
so now i have my root partition mount on /mnt
but in the last step i always get something like "unrecognized filesystem"
what do i have to pass here? (i only got one hd)
do i have to run grub and then root (hd0,0) and setup (hd0) after that ?

Offline

#10 2005-10-03 10:51:16

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: how to install grub to the mbr after win xp installation

grub-install should take care of root(blabal) setup(bla) deal. Try passing --no-floppy to grub-install or --root-directory=/mnt/boot/.
Otherwise, forget it and enter "grub" then do the root(blabla) and setup(blabal) thing. "quit" will get out of it.

Offline

#11 2005-10-03 12:55:23

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: how to install grub to the mbr after win xp installation

damn!
i finally ran these commands and when i rebooted there was some flickering and then a smiley and i couldn't boot anything.
i've reinstalled arch now  :evil:

Offline

Board footer

Powered by FluxBB