You are not logged in.

#1 2009-04-10 18:59:16

kBang
Member
Registered: 2009-03-20
Posts: 12

Where to place GRUB in this configuration?

I tried a forum search but it seems everyone has a different, specific issue with things like this.

My partition setup is:

sda
sda1 - Vista recovery partition
sda2 - Vista partition
sda 5 - swap
sda 6 - /

Exactly where does GRUB need to go in this config?  I tried sda2 and sda, neither worked.

Offline

#2 2009-04-10 19:09:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Where to place GRUB in this configuration?

sda - you need to give more details about how it didn't work.

Offline

#3 2009-04-10 19:35:07

kBang
Member
Registered: 2009-03-20
Posts: 12

Re: Where to place GRUB in this configuration?

It boots to Vista, I never see GRUB.

I have tried doing:

sudo grub
find /boot/grub/stage1  <-- not found
find /grub/stage1  <-- not found

nothing is found, perhaps GRUB isn't really getting installed?  If not, it is likely an error on my part, what could I be doing wrong?

Last edited by kBang (2009-04-10 19:40:20)

Offline

#4 2009-04-10 19:48:17

JT
Member
Registered: 2009-01-16
Posts: 21

Re: Where to place GRUB in this configuration?

Don't you need to specify the root before searching for the grub menu?

root (hd0,0)

hd0 = sda
hd0,0 = sda1
hd0,1 = sda2

hd1 = sdb

Offline

#5 2009-04-10 20:02:16

kBang
Member
Registered: 2009-03-20
Posts: 12

Re: Where to place GRUB in this configuration?

not when you are at:  grub>

also I meant I was root when I called grub, install CD log in as root.

Offline

#6 2009-04-11 06:32:11

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Where to place GRUB in this configuration?

kBang wrote:

not when you are at:  grub>

you *do* need to specify 'root (hd0,5)' even at the grub prompt.

And please don't double post.

Offline

#7 2009-04-11 06:46:52

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: Where to place GRUB in this configuration?

bender02 wrote:
kBang wrote:

not when you are at:  grub>

you *do* need to specify 'root (hd0,5)' even at the grub prompt.

And please don't double post.

You specify "root(hd#,#)" after "find /boot/grub/stage1", which tells you where "root" is.

Last edited by SkonesMickLoud (2009-04-11 06:49:10)

Offline

#8 2009-04-11 07:21:25

dan.boff
Member
Registered: 2009-04-07
Posts: 42

Re: Where to place GRUB in this configuration?

if you really do not see grub and it just boots into vista, do the following:

boot with arch cd
login with root

mount your linux /:
mount /dev/sda6 -t auto /mnt

install grub on your mbr
grub --root-directory /mnt/ /dev/sda5

(alternativly:
grub (and in the grub promt)
grub> root (hd0,5)
grub> setup (hd0)


You have to edit your /mnt/boog/grub/menu.lst then
uncomment the windows part and change (hd0,0) to (hd0,1) (because hd0,0 is your vista backup)
edit the archpart like this: change (hd0,1) (or whatever) to (hd0,5)

now it should work.

Last edited by dan.boff (2009-04-11 07:23:29)

Offline

#9 2009-05-02 17:33:54

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Where to place GRUB in this configuration?

Hello everyone!.

Well it seems I'm having the same problem. The issue here is whenever I input any command (logged as root on Arch Live CD)

grub
grub> root (hd0,4) // In my case it's (hd0,4)
grub> setup (hd0)

I get

Filesystem type unknown, partition type 0x7

or

whenever I try to install GRUB to hd0 MBR from the Arch Live CD *Tools* I get:

Filesystem type unknown, partition type 0x7

Error 17: Cannot mount selected partition

Any help on this? I'm kinda stuck :s

Thanks.

Last edited by HighD (2009-05-03 18:58:19)


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

Board footer

Powered by FluxBB