You are not logged in.

#1 2007-02-06 22:17:47

dids22
Member
Registered: 2007-01-02
Posts: 251

where to install grub?on another partition?or in the / ?

hi
i'm tring to install arch
where i need to install grub?on the root partition(/)?
because after i finished  the instaltion and rebooted, windows load up normally:/

Last edited by dids22 (2007-02-06 22:30:22)

Offline

#2 2007-02-06 23:26:46

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: where to install grub?on another partition?or in the / ?

Instaling it to the MBR is the most common method....although either CAN work...

to install to MBR, as root

grub-install /dev/h(s)da

More good info on WIKI


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#3 2007-02-07 06:52:29

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: where to install grub?on another partition?or in the / ?

Just don't install it on the same partition where your windows boots from, if you want dual boot - this will corrupt your windows installation.

Offline

#4 2007-02-07 06:56:32

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: where to install grub?on another partition?or in the / ?

jwbirdsong wrote:

Instaling it to the MBR is the most common method....although either CAN work...

to install to MBR, as root

grub-install /dev/h(s)da

More good info on WIKI

so why windows boot up normally and not grub??

Offline

#5 2007-02-07 07:29:41

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: where to install grub?on another partition?or in the / ?

Maybe you first tell us what you did. Then we may be able to tell you why it does not work.

Offline

#6 2007-02-07 15:28:27

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: where to install grub?on another partition?or in the / ?

i installed it in another partition

Offline

#7 2007-02-07 15:38:51

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: where to install grub?on another partition?or in the / ?

I think windows always installs the bootsector to mbr of the same disk its on, so to boot linux you will need to overwrite that by installing grub to the MBR. (the same disk where windows is)

Offline

#8 2007-02-07 17:02:18

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: where to install grub?on another partition?or in the / ?

dids22 wrote:

i installed it in another partition

If you installed it on your root partition it will boot only if you set that partition as bootable.

Use the CD to boot into your installation and use

grub-install /dev/hda 
or
grub install /dev/sda (if you have a SATA disk)

As stated before, you should check the wiki.

Offline

#9 2007-02-07 17:15:32

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: where to install grub?on another partition?or in the / ?

i have only one disk

so i don't need boot partition, just install grub on mbr?

Last edited by dids22 (2007-02-07 17:16:38)

Offline

#10 2007-02-07 18:32:57

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: where to install grub?on another partition?or in the / ?

Yes and then you will have to add a section to /boot/grub/menu.lst for windows to boot...here is mine..It assumes Windows is on 1st partition on the drive.  (Usualy the case)

title Microsoft Windows XP Pro
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#11 2007-02-07 19:20:10

dids22
Member
Registered: 2007-01-02
Posts: 251

Re: where to install grub?on another partition?or in the / ?

the first option in the grub installation is the mbr, right? ("sda" without a number)

Offline

#12 2007-02-08 01:26:48

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: where to install grub?on another partition?or in the / ?

dids22 wrote:

the first option in the grub installation is the mbr, right? ("sda" without a number)

Yes.

Offline

Board footer

Powered by FluxBB