You are not logged in.

#1 2008-10-04 11:19:46

Zack89
Member
Registered: 2008-09-24
Posts: 170

Installed Arch on second partition, cannot choose which OS to boot in

Hello. I setup Arch on a second partition and installed everything and installed grub on my root partition, but when I rebooted the system, I wasnt given a boot menu.. it Just defaulted to windows. Heres my setup:

/dev/sda1 Windows
/dev/sda2 Swap
/dev/sda3 Root

Now.. I didnt flag Root as bootable and Im thinking thats it.. is it? and there was one other thing.. in my /mnt/boot/grub/menu.lst file.. I edited the windows XP entry as such:

# Windows XP
title Windows XP
rootnoverify (hd0,0)
chainloader +1

there was a line "makeactive" inbetweee rootoverify ad chainloader.. that wasnt part of the wiki so i deleted it.. is there something else im missing?


Registered User number: 496613. Show your Tux Pride!
http://counter.li.org

Offline

#2 2008-10-04 11:27:46

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Installed Arch on second partition, cannot choose which OS to boot in

Did you install GRUB to MBR or a partition? It needs to be in the MBR to work.

Alternatively, you can use winfailure's boot.ini file to specify that you want to chainload from NTLDR to GRUB, which will work, but you'll need to know exactly where you installed GRUB to do that method.

Also, you were wise to remove that "makeactive" - that'd set the winfailure partition to bootable, negating GRUB on futher boots.

Lastly, GRUB doesn't require that disks be made "active" - the GRUB MBR code is "hardwired" with what partition to chainload to, it's a smart little application.

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#3 2008-10-04 13:06:30

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Installed Arch on second partition, cannot choose which OS to boot in

Grub doesn't HAVE to be on the mbr, although thats usually the simplist option.  If you want to keep grub on your root partition then you need to swap the boot flag from the windows partition to the arch root partition.

Offline

#4 2008-10-04 21:46:05

Zack89
Member
Registered: 2008-09-24
Posts: 170

Re: Installed Arch on second partition, cannot choose which OS to boot in

So if I make Arch bootable and make windows non bootable, I will be able to choose which one to boot into? And this wont screw with windows? I need to keep my windows partition


Registered User number: 496613. Show your Tux Pride!
http://counter.li.org

Offline

#5 2008-10-05 00:01:44

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Installed Arch on second partition, cannot choose which OS to boot in

Zack89 wrote:

So if I make Arch bootable and make windows non bootable, I will be able to choose which one to boot into? And this wont screw with windows? I need to keep my windows partition

Correct.  The boot flag is basically a signal to the BIOS to tell it where to go next to continue the boot process, it won't harm windows if its partition doesn't have the boot flag.

Offline

#6 2008-10-05 04:02:53

Zack89
Member
Registered: 2008-09-24
Posts: 170

Re: Installed Arch on second partition, cannot choose which OS to boot in

Awsome.. and I kinda learned That one the hard way lol.. I went into arch live setup, and I flagged /root as bootable, but windows was still flagged boot.. it said improper partition table but i didnt think it wrote it.. tried to reboot windows hrs later.. and it wouldnt boot! I almost fainted.. But I remembered I did something in Arch Live so I went in and apparantly it Wrote the partition table, so I deflagged /root and it fixed it.. But thanks! Ill do that so I can start setting up arch.


Registered User number: 496613. Show your Tux Pride!
http://counter.li.org

Offline

#7 2008-10-07 19:44:59

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Installed Arch on second partition, cannot choose which OS to boot in

Actually my windows partition is set to bootable and my arch is not.
also it has the makeactive option in grub, but everything works fine ( Grub in MBR)

I think the bios look first in the MBR to know what to boot from.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

Board footer

Powered by FluxBB