Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed Install [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
RJQuackQuack
n00b
n00b


Joined: 17 Oct 2005
Posts: 11

PostPosted: Mon Aug 07, 2006 10:42 pm    Post subject: Failed Install [solved] Reply with quote

After attempting to manually install the 2006 version on gentoo on a thinkpad x60s, compiling my own kernel and using grub, I rebooted to the message "Error loading operating system" after the BIOS splash screen was displayed.

The grub splash screen (or any other grub-related things) never loaded. The partition is bootable and correctly linked in grub.conf as the first primary partition of the only drive "(hd0,0)". The kernel image "2.6.17-gentooo-r4" is also linked without typos. both grub and the kernel image are correctly located in the boot partition.

I have yet to try compiling a kernel with genkernel, and any help is appreciated.


Last edited by RJQuackQuack on Tue Aug 08, 2006 3:16 am; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Aug 07, 2006 11:00 pm    Post subject: Reply with quote

It sounds like grub did not get installed into the MBR of the disk. Boot the live cd and mount your filesystems as you did when installing. Then follow the instructions for manually installing grub to the MBR.

If that doesn't solve your problem, please post the contents of your /boot/grub/grub.conf and the output of "fdisk -l". What the heck, include the contents of /etc/fstab too. :)
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
tomasm
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 104

PostPosted: Mon Aug 07, 2006 11:04 pm    Post subject: Reply with quote

This is a problem with the master boot record ("Failed to load.." message is from the bios). Since grub is never loaded, your kernel is not the problem. Nor are misspellings in the grub config.

How did you install GRUB?
Did you use the installer or the shell?
Did it give any strange messages as you did so?
Did you use the live cd installer or the manual install method?

(EDIT) Looks like yabbadabbadont beat me to it. :wink:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Aug 07, 2006 11:08 pm    Post subject: Reply with quote

RJQuackQuack,

Some BIOSes are very fussy about the bootable flag being set on the partition they are booting from.
Run
Code:
fdisk -l /dev/hda

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       24320   195350368+   7  HPFS/NTFS
and check you have the * under Boot.

Fix it with fdisk if not. This does not affect your install. This example is from a sick drive I have installed just now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RJQuackQuack
n00b
n00b


Joined: 17 Oct 2005
Posts: 11

PostPosted: Tue Aug 08, 2006 3:16 am    Post subject: Reply with quote

Manually installing grub did the trick, thanks to everyone that helped.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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