Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2005.0 Install, Grub fails, repeats "loading stage 1.5.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
octanez
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 149
Location: Washington DC Metro, USA, Earth

PostPosted: Tue Mar 29, 2005 10:15 pm    Post subject: 2005.0 Install, Grub fails, repeats "loading stage 1.5. Reply with quote

Apologies if this has been answered before but it was not in the grub error docs, and many searches with google and lots of reading in the forums did not turn up the error. This has happened with a 2004.3 and a 2005.0 install. I have tried both grub and grub-static, following the metheod from the Technotes. I am using a MSI Neo2 Platinum (nForce3) and SATA disc.

Everything else appears to work, however when grub loads at reboot; instead of the usual menu I get:
Code:
loading stage 1.5.
loading stage 1.5.
loading stage 1.5.

repeating endlessly

/etc/fstab
Code:

/dev/sda2               /boot         ext2            noauto,noatime   1 1
/dev/sda3               /               reiserfs        noatime              0 0
/dev/sda1               none         swap            sw                     0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro    0 0

none                    /proc               proc            defaults             0 0
none                    /dev/shm        tmpfs           defaults             0 0


/boot/grub/grub.conf
Code:

timeout 30
default 0
fallback 1

# For booting GNU/Linux
title Gentoo Linux 2.6.11
root (hd0,1)
kernel /kernel-2.6.11-gentoo-r1 root=/dev/sda3
#initrd /initrd.img

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,1)
setup   (hd0)


has anyone encountered this?


Last edited by octanez on Thu Mar 31, 2005 4:14 pm; edited 3 times in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Mar 29, 2005 11:09 pm    Post subject: Reply with quote

What messages did you get when installing GRUB ?
Did you try to install it manually ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Wed Mar 30, 2005 12:25 am    Post subject: Reply with quote

Did you emerge grub-static?
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
octanez
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 149
Location: Washington DC Metro, USA, Earth

PostPosted: Wed Mar 30, 2005 1:18 am    Post subject: Reply with quote

I've used grub and grub-static.

grub install goes fine; don't have a copy of the actual text from the grub install on hand at the moment, but can post it tomorrow.
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Wed Mar 30, 2005 2:47 pm    Post subject: Reply with quote

I tried installing grub-0.96 because I wanted to use the grub-save-default function. It never worked. Then I installed grub-static again. I had to re-partition the disk, use dd, and all that. I think your problem may be due to that. Different versions of GRUB will mess up your MBR-style.

I suggest killing the first few K of the disk with dd.

Code:
# dd if=/dev/zero of=/dev/drivename bs=1024 count=1


bs is the blocksize of the drive, count is how many blocks. I used 1024 and 4, just to make sure. I think if you have the blocksize wrong, it doesn't matter, since you are just trying to wipe it. Then I cfdisk'ed it and mke2fs'ed it, then GRUB'ed it. Finally works for me, but only with grub-static.:evil:
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
octanez
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 149
Location: Washington DC Metro, USA, Earth

PostPosted: Thu Mar 31, 2005 3:14 pm    Post subject: Reinstalled again. Reply with quote

DD'd the MBR and went about a fresh install with 2005.0.

using grub-static, here is the ourput from the install
Code:
grub> root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,1)/boot/grub/stage2
/boot/grub/grub.conf"... succeeded
Done.


Yet I still get the "loading stage 1.5." repeating...
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Thu Mar 31, 2005 4:36 pm    Post subject: Reply with quote

Well, check yourself against these mistakes I have made:

1. Make sure that your boot device is mounted during the grub install, the embedding part (if it is a seperate device)

2. Check where the emerge is putting the stage* files at. When there is a separate device, there is a question there.

3. Investigate the /boot, /boot/boot ->. etc. situation. If you aren't looking, it can be tricky.
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
octanez
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 149
Location: Washington DC Metro, USA, Earth

PostPosted: Thu Mar 31, 2005 5:33 pm    Post subject: Reply with quote

petlab wrote:
1. Make sure that your boot device is mounted during the grub install, the embedding part (if it is a seperate device)


yes, when I am installing grub, /boot (/dev/sda2) is mounted and appears to embed:
Code:
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.


petlab wrote:
2. Check where the emerge is putting the stage* files at. When there is a separate device, there is a question there.

not sure what you mean here

petlab wrote:
3. Investigate the /boot, /boot/boot ->. etc. situation. If you aren't looking, it can be tricky.


/boot/boot is symlinked properly.
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Thu Mar 31, 2005 7:27 pm    Post subject: Reply with quote

petlab wrote:
2. Check where the emerge is putting the stage* files at. When there is a separate device, there is a question there.


I had my /boot on a separate disk. When you emerge grub, it puts files like stage1, stage1_5, stage2, etc into your /boot directory.

I suggest checking that these files are really in /boot, rather than say, /boot/boot/ or somewhere else.

That is what I did before by accident. I had /boot not mounted, since it is set noauto. When I emerged grub, it put the stage* files into /boot on the wrong disk..
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
octanez
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 149
Location: Washington DC Metro, USA, Earth

PostPosted: Thu Mar 31, 2005 8:47 pm    Post subject: Reply with quote

petlab wrote:
When you emerge grub, it puts files like stage1, stage1_5, stage2, etc into your /boot directory.

I suggest checking that these files are really in /boot, rather than say, /boot/boot/ or somewhere else.


The stages files are in the correct locations. I am now also recieving this same error with grub built from CVS (figured I'd give it a shot too).
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Fri Apr 01, 2005 12:46 am    Post subject: Reply with quote

Ewwww.

That shoots it for me, I don't have any more suggestions, darn. :evil:

I suppose you have double-checked the forums here - there is some grub doc "based on a 16 page post" that is supposed to be good. You could try that, or..

I hate to mention it, but you could try lilo. (no, not the flames!!)

I just read yesterday, that grub supposedly "doesn't work with all systems."

Good Luck, I know you'll get there.
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
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