LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-20-2004, 01:11 AM   #1
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Rep: Reputation: 15
Question Problems bootig newly installed gentoo


I just installed gentoo Linux on computer. I followed the steps exactly and did alll te steps but when i went to boot my new gentoo system i get an error from grub. On my harddrive, i have win xo installed on the first partition. on the second is the boot. on the third is the swap. on the fourth is the extended partition, and on the fifth is the root.
ie: /dev/hda1 windows xp
/dev/hda2 boot
/dev/hda3 swap
/dev/hda4 extended partition
/dev/hda5 root

my win partition boots fine but when i try to boot gentoo i get this error message:

Booting 'Gentoo Linux'
root (hd0,1)
Filesysem type is ext2fs, partition type 0x83
kernel (hd0,1) /boot/kernel-2.4.20-gentoo-r6 root=/dev/hda5
error1: File name must be either an absolute path name or blocklist
press any key to continue...

can anyone please help me in solving this error so that i can boot into my gentoo installiation. i cant wait to get it to work.
thanks,
 
Old 01-20-2004, 06:55 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
One really neat thing about Grub is that it supports file name completion on the command line using the <tab> key on your keyboard. In this case Grub simply can't find the file you specified as kernel on the command line. When Grub boots and your option is highlighted, press the E key for Edit. Edit the "kernel" line (hit E when that line is highlighted).

Now, you say /dev/hda2 (hd0,1) is mounted at /boot...meaning that /boot actually is the /dev/hda2 partition and under /dev/hda2 there is not /boot directory!

So the first thing I would try is to change the kernel line from:
kernel (hd0,1)/boot/kernel-2.4.20-gentoo-r6 root=/dev/hda5
to
kernel (hd0,1)/kernel-2.4.20-gentoo-r6 root=/dev/hda5.

If that still doesn't work you can use the tab key on your keyboard to find the correct filename - edit the kernel line again and delete the filename and press tab instead:
kernel (hd0,1)/<press tab here>
A list of choices (files in /boot) will be displayed and you can choose the correct one. Then append root=/dev/hda5 to the kernel line, hit enter and then hit B to boot the configuration you just specified.

When you know how it works and you have booted into Gentoo successfully, edit the Grub configuration file /boot/grub/grub.conf and edit it so it matches the configuration you used to succesfully boot. You will have to mount the boot partition first if you followed the Gentoo instructions - mount /boot will do that - otherwise you won't see anything in /boot.


Håkan
 
Old 01-20-2004, 09:47 AM   #3
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Re: Problems bootig newly installed gentoo

ok ial try this. thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newly Installed Apps arpanetguru Linux - Newbie 2 11-25-2005 10:41 PM
Newly installed HDD boot problems using GRUB felixmvg Linux - Laptop and Netbook 1 02-25-2005 07:51 PM
Just installed Gentoo Linux --- Problems during bootup--- Gormless Linux - Newbie 4 10-06-2004 12:07 AM
Hardware problems with newly installed Slackware 9.1.. Elite_Gamer04 Linux - Hardware 1 05-21-2004 08:03 AM
problems writing to newly installed second hard disk ffenics2002 Linux - Hardware 7 02-12-2004 02:16 PM


All times are GMT -5. The time now is 11:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration