View previous topic :: View next topic |
Author |
Message |
67comet Apprentice
Joined: 29 Oct 2004 Posts: 262 Location: Ogden, UT
|
Posted: Sun May 28, 2006 1:11 pm Post subject: grub fills screen on new install .. {SOLVED} |
|
|
I'm in the process of installing Gentoo again on my server (swaped a BUNCH of hardware, now it's freshen up time).
I did my usually Jackass install, edited grub to fit the hard drives, emerged the basics, and rebooted .. to ..
Code: |
grub grub grub grub grub .. ...... until the screen is full
|
Little fdisk for ya:
Code: |
livecd / # fdisk -l
Disk /dev/hda: 1083 MB, 1083801600 bytes
16 heads, 63 sectors/track, 2100 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 497 250456+ 83 Linux (/boot)
/dev/hda2 498 746 125496 82 Linux swap / Solaris
/dev/hda3 747 2100 682416 83 Linux (/home)
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.
Disk /dev/hdb: 20.5 GB, 20525137920 bytes
255 heads, 63 sectors/track, 2495 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 2495 20041056 83 Linux ( / )
|
Here is my grub.conf
Code: |
timeout 1
default 0
fallback 0
splashimage=(hd0,0)/grub/splash.xpm.gz
title Gentoo Server
root (hd0,0)
kernel (hd0,0)/vmlinuz ro root=/dev/hdb1
|
I've got two more hd's yet to go in (Big storage hds)
I've ran grub a couple times .. grub > root (hd0,0) > setup (hd0) >quit. No errors, just the plain ext2 stuff on boot.
It's been a long time since I had an issue with grub, I've been hammering away with Gentoo on my server for about two years.
Thanks much,
Justin _________________ A Pile of Code (basically dead).
Personal Site (basically useless).
Last edited by 67comet on Sun May 28, 2006 10:22 pm; edited 1 time in total |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun May 28, 2006 8:08 pm Post subject: Re: grub fills screen on new install .. |
|
|
The repeating "GRUB" problem means that the harddrive geometry in your partition table doesn't agree with what the BIOS wants.
Most BIOSes use LBA by default, and set the geometry to 255 heads, but your partition table is setup for 16 heads.
67comet wrote: | Disk /dev/hda: 1083 MB, 1083801600 bytes
16 heads, 63 sectors/track, 2100 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes |
The easiest thing to do is to change the BIOS settings to 16 heads, and then it should boot correctly.
If this is not possible with your BIOS, then you will need to repartition the harddrive, and force the correct geometry (and then restore the harddrive contents from a backup).
Code: | # fdisk -H 255 /dev/hda |
|
|
Back to top |
|
|
67comet Apprentice
Joined: 29 Oct 2004 Posts: 262 Location: Ogden, UT
|
Posted: Sun May 28, 2006 10:21 pm Post subject: |
|
|
Awesome .. thanks .. I did both ways .. eventually I just reformated and re-copied /boot back and walla .. boots like a champ ..
Thanks much,
Justin _________________ A Pile of Code (basically dead).
Personal Site (basically useless). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|