You are not logged in.

#1 2007-11-09 17:08:28

ponto
Member
Registered: 2007-05-15
Posts: 35

grub problem

i've install grub-glx in order to add a splash image to the bootloader, then i restart. and the bootloader was broken.

i've boot with the arch install cd with:

arch root=/dev/sda3

and after i enter my root i removed grub-glx add install grub

then i comment the splash image line at menu.lst and reviewed my menu.list

then i typed:

grub-install /dev/sda

then reboot, still.. not booting..

then i did the same, but i typed grub

and inside grub

i typed:

root (hd0,2)
setup (hd0)

but.. still nothing..

my map partitions ir:

/dev/sda1 - /boot
/dev/sda2 - swap
/dev/sda3 - /
/dev/sda4 - /ftp
/dev/sda6 - /home

Offline

#2 2007-11-09 19:22:01

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: grub problem

can you elaborate more ,,
does it load the menu,, does it drop you into the (grub)command prompt
does it simply display 'GR0UB' after the post and stop
...

Offline

#3 2007-11-10 05:17:02

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: grub problem

Try changing "root (hd0,2)" to "root (hd0,0)". /boot is /dev/sda1 so it can't be (hd0,2)

Offline

#4 2007-11-10 17:05:01

ponto
Member
Registered: 2007-05-15
Posts: 35

Re: grub problem

kumico wrote:

can you elaborate more ,,
does it load the menu,, does it drop you into the (grub)command prompt
does it simply display 'GR0UB' after the post and stop
...

does not even load the menu..

Try changing "root (hd0,2)" to "root (hd0,0)". /boot is /dev/sda1 so it can't be (hd0,2)

i've typed root (hd0,0) but i when i wrote it wrong here.

does anybody got any ideias?

Offline

#5 2007-11-13 19:18:53

loosec
Member
Registered: 2007-03-08
Posts: 134

Re: grub problem

You could try installing grub with:

# grub --device-map=/dev/null
grub> device (hd0) /dev/sda
grub> geometry (hd0) C H S

Where C, H and S are your disks Cylinders, Heads and Sectors. Find these from cfdisk /dev/sda .
If you enter the correct numbers etc grub will show you a list of found partitions and you can continue:

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

If there are no errors you should be fine, if you get some please post them here or if they are really long in Pastebin and link.

Hopefully I made no typo here wink looks fine thou.

Offline

Board footer

Powered by FluxBB