Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page grub error after installing gentoo minimal
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 03-05-2008   #11 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,583
OK Neon427 ...
First run mount on its own and check no partitions are mounted to /mnt/gentoo
Code:
mount
Next mount your root partition to /mnt/gentoo using
Code:
mount /dev/hda3 /mnt/gentoo
then use
Code:
cd /mnt/gentoo
ls
and check a boot directory exists
Next mount the boot partition to /mnt/gentoo/boot using
Code:
mount /dev/hda1 /mnt/gentoo/boot
You should now be able to list the contents of fstab using
Code:
cat /mnt/gentoo/etc/fstab
and the contents of the grub menu.lst file using
Code:
cat /mnt/gentoo/boot/grub/menu.lst
You can check the kernel name using
Code:
ls /mnt/gentoo/boot
If you post the fstab, menu.lst and kernel name then we should be able to help suggest modifications required.

Ed: you should have used the mount commands during the install process - handbook section 4e
Jonathan183 is offline   Reply With Quote
Old 03-06-2008   #12 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 7
alright that worked here's my fstab, menu.lst and kernel name.

Fstab:

/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/Fd0 /mnt/floppy auto noauto 0 0

Menu.lst:

default 0
timeout 30
title=Gentoo Linux 2.6.23-r9
root (hd0,0)
Kernel /boot/kernel-2.6.23-gentoo-r9 root=/dev/hda3
title=Gentoo Linux 2.6.23-r9 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.23-gentoo-r9 root=/dev/hda3 init=/bin/bb

Kernel name:

kernel-2.6.23-gentoo-r9

Preciate the help

~neon~

P.S. Sorry its hard to read... it doesn't seem to want to line up right...
Neon427 is offline   Reply With Quote
Old 03-06-2008   #13 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,583
Neon427 ...

First of all you have the default fstab so you will need to modify this using nano ... if you still have the partitions mounted as before you can edit fstab using
Code:
nano /mnt/gentoo/etc/fstab
you should change the root, swap and boot entries to ...

Code:
/dev/hda1         /boot        ext2         noauto,noatime 1 2
/dev/hda3         /              ext3         noatime            0 1
/dev/hda2         none         swap       sw                   0 0
I think if you make the changes to fstab, umount the partitions and reboot you should start Linux from your hard disk.

Ed: Let us know how it goes.
Jonathan183 is offline   Reply With Quote
Old 03-06-2008   #14 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 7
ok good thanks! we got through that, but now,

"*Starting eth0
*configuration not set for eth0 - assuming DHCP
** No DHCP client installed
**ERROR: cannot start netmount as net.eth0 could not start
*starting vixie-cron...
*starting local ...

This is localhost.(none) (Linux i686 2.6.23-gentoo-r9 17:32:42
localhost login:


and i don't know what the login name or password is.
was i supposed to set that somewhere?
Neon427 is offline   Reply With Quote
Old 03-06-2008   #15 (permalink)
Linux Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Posts: 132
It appears that you did not completely follow the Gentoo Installation Handbook.

You should not skip reading anything in the Handbook, unless you are already familiar with Gentoo installations. Too many newbies run into problems with Gentoo because of that.

You did not complete the section in the Gentoo Handbook about setting the root user's password and emerging the dhcpcd client.
__________________

Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.

Winston Churchill


... then the Unix-Gods created "man" ...
dxqcanada is offline   Reply With Quote
Old 03-06-2008   #16 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,583
Probably not what you want to hear ... but Gentoo works if you follow the handbook to install. You should have set a root user password, so should be able to login as root and then add a user. For the DHCP client bit you need to have followed the section on network setup. If you did not emerge dhcpcd in section 9.e of the manual you will need to boot from the cd again and work through parts of the install process.

I ended up printing out the manual and working through it step by step because I made mistakes a few times.
Jonathan183 is offline   Reply With Quote
Old 03-06-2008   #17 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 7
Well it isn't what i wanted to hear, but the whole reason i'm doing this is to learn so it doesn't make much difference. Thanks again for the help! And i think i will print out the manual, that way i don't need both my PC's to install it...
Neon

I should be able to just set the password and emerge the DHCP client without redoing the whole thing though? Is that correct?
Neon427 is offline   Reply With Quote
Old 03-06-2008   #18 (permalink)
Linux Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Posts: 132
My first time installing Gentoo, I had to go back from the beginning twice after I could not get my laptop to boot.
I had realized that I did not pay attention to everything the Handbook stated.

Now after installing Gentoo on 6 laptops and 4 desktop units ... I still read everything in the Handbook when doing an install.

If you read the Handbook you will actually learn more about Linux than most people will know ... as most Linux distro's set all this stuff up for you automatically.

Start from the beginning again ... try to read everything and work on understanding what is being stated so you can understand why something might not work as expected.
__________________

Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.

Winston Churchill


... then the Unix-Gods created "man" ...
dxqcanada is offline   Reply With Quote
Old 03-06-2008   #19 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 7
Alright lets do it again!
Thanks bro!
Neon427 is offline   Reply With Quote
Old 03-06-2008   #20 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,161
Quote:
Originally Posted by Neon427 View Post
Well it isn't what i wanted to hear, but the whole reason i'm doing this is to learn so it doesn't make much difference. Thanks again for the help! And i think i will print out the manual, that way i don't need both my PC's to install it...
Neon

I should be able to just set the password and emerge the DHCP client without redoing the whole thing though? Is that correct?
Just boot from your livecd, mount all the partitions and chroot as explained in the handbook, then emerge the dhcp client and set the root password.

And try to stick to the handbook strictly until you are familiar with the installation process. The first time you install Gentoo it can be a bit challenging for a newcomer.

Best of luck with that.
i92guboj is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB for diskette download? Nerderello Comments / Feedback / Suggestions 13 09-11-2007 12:42 PM
Solving Boot Problems with Grub - 2nd Edition Nerderello Linux Tutorials, HOWTO's & Reference Material 4 02-06-2005 11:44 AM
Minimal Linux with Grub fin SuSE Linux Help 1 05-29-2004 10:21 AM
Howto solve boot problems with Grub Nerderello Linux Tutorials, HOWTO's & Reference Material 0 02-15-2004 10:38 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 11:46 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0