You are not logged in.

#1 2006-10-08 20:10:06

Seb74
Member
Registered: 2006-10-07
Posts: 89

Grub into hda, md0, hda1, or hda2???

It says it should usually be installed in the MBR, but which of all might that be??? I have 4 choises as my topic explains big_smile

hda1 is root and hda2 is swap, at least I think its how they were named during partitioning.
So first alternative, /dev/hda, ought to mean the whole drive, and thats what I'll choose???  Or do I choose /dev/hda1 since thats root?
Or md0, whatever that is?

Oh well, maybe someone can help here quickly and maybe I'll be able to boot my new Arch-installation.....boot into more  troubles I guess wink

Thanks smile

(Didn't have any nameserverns from DHCP in resolv.conf when I checked configuration in step 4 or 5 or whatever it was during install....maybe its because Kernel wasn't installed yet, and network not up really yet? Stupid order checking configs before Kernel if thats the case....)

Offline

#2 2006-10-08 20:12:17

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Grub into hda, md0, hda1, or hda2???

If you want to install it to your MBR it has to be "grub-install /dev/hda" smile

Offline

#3 2006-10-08 20:21:13

Seb74
Member
Registered: 2006-10-07
Posts: 89

Re: Grub into hda, md0, hda1, or hda2???

detto wrote:

If you want to install it to your MBR it has to be "grub-install /dev/hda" smile

What?
Should I choose /dev/hda you mean? I dont have any grub-install/dev/hda :S

EDIT: Again,  have made only two partitions, / first and /swap after it.
My choses for GRUB-install are the following four.

/dev/hda
/dev/md0
/dev/hda1
/dev/hda2

Offline

#4 2006-10-08 21:00:45

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Grub into hda, md0, hda1, or hda2???

'detto' meant ... just use the command ...

grub-install /dev/hda

that will install grub to mrb on the harddrive = hda...

++++++++++++++++++++++++++++

[0] - alternatively, if you can have the grub files installed somewhere else ... ie ..

grub-install --root-directory=/sep_boot_partition /dev/hda

so you'd have grub accessible from the mbr ... (if u don't understand this 'mrb' (master boot record), feel free to ignore it... just install it there - /dev/hda), then you would have the file at whichever partition is mounted at /sep_boot_partition ... that means, instead of editing ur grub menu.lst, in /boot/grub .. it'd be at /sep_~/grub/

+++++++++++++++++++++++++++


[1] - please not the above was simply a tip...

as observed form ur other post.. u'd simply need tyhe first option...'[0]'


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#5 2006-10-08 21:05:30

Seb74
Member
Registered: 2006-10-07
Posts: 89

Re: Grub into hda, md0, hda1, or hda2???

Yeah, it worked on /dev/hda smile

Now the big problem when I boot into the OS is that I dont get my nameservers from DHCP into resolv.conf sad
Every other OS manages it, but Arch for some reason dont get that info from my router. I get my statical IP from DHCP at least, but not the nameservers it seems sad

Ouch, really ouch sad

EDIT: Needed to enter dhcp in rc.conf, works now.
And it should be "dhcp" and not "DHCP" too wink

Offline

#6 2006-10-08 21:22:17

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Grub into hda, md0, hda1, or hda2???

as suggested here://http://bbs.archlinux.org/viewtopic.php?t=24355&highlight=resolv+conf+nameserver
simply add them manually ... or just ad ur router's ip

my resolve is ...

nameserver 194.16.8.100
nameserver 194.16.4.100
search

my router ip is .. 192.16.0.1


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#7 2006-10-08 21:24:10

Seb74
Member
Registered: 2006-10-07
Posts: 89

Re: Grub into hda, md0, hda1, or hda2???

noriko wrote:

as suggested here://http://bbs.archlinux.org/viewtopic.php?t=24355&highlight=resolv+conf+nameserver
simply add them manually ... or just ad ur router's ip

my resolve is ...

nameserver 194.16.8.100
nameserver 194.16.4.100
search

my router ip is .. 192.16.0.1

Yeah I knew that, but feels better to get them automatically, if they would change later on or something.
Anyway, read my recent edit to my above post, I solved it (with some fast help from another forum)

Offline

Board footer

Powered by FluxBB