LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2004, 07:07 AM   #1
astano
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
Unhappy Gentoo Linux don't boot....


I,ve just installed Gentoo Linux 2004.1 (kernel 2.4.25) following the gentoo handbook. But when Itry to boot to linux, i get an attempt to access beyond the end of device, and after this a kernel panic....
Is it possible that my /boot partition is too small?? I create a /boot in the beginning of the disk, with 40 MB....
 
Old 06-21-2004, 07:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it would sound like your partitions are not set up correctly, and it is trying to read a point on the hard drive, as defined in the FAT, that doesn't physically exist. That'd be my interpretation of the error at least. if you boot back up using the install cd until such a point as you can access the hard drive, recheck the values entered there.
 
Old 06-21-2004, 07:35 AM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Yeah, agreed. Likely just an incorrect parameter set when you boot. One's bootloader is more powerful than one thinks, but its not completely intuitive. Before you go in and change a lot of things, if you're booting with grub, you might want to check the boot line to see if there's a parameter that you entered with a typo in your grub.conf (menu.list) file.

Why its happened to me:

-wrong "append=" (LILO) or extra params on the kernel line(GRUB)
-filesystem type which my partition was on not compiled into the kernel (reiserfs - was a module, if I remember correctly)
-using the "compact" switch with LILO on one certain drive of mine
-booting with an initrd and not pointing to it or not having "ramdisk support" in the kernel

Its likely something silly-small. Did you compile in support for your filesystem? Is your /boot partition listed properly in your /etc/fstab file? Try booting with no extra options listed in your "kernel" line of grub or "image=" like of lilo.
 
Old 06-21-2004, 08:00 AM   #4
astano
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, i double check the parameters on grub, and everything seems to be ok. Iīm using initrd, and thereīs a line /dev/ram0.... do I have to use always 0 or does it change? And i also have windows installed. With fdisk thereīs two partitions marked as bootable partitions (one for linux and another for windows). is that correct?
 
Old 06-21-2004, 07:04 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Can yo post your grub config? You don't need to have both partitions bootable. I always have the one linux one I am working with (the main one if I have several distros on the drive) the bootable flag. Windows doesn't deserve such priority It can be booted without te flag. Try unflagging it.
 
Old 06-23-2004, 07:14 AM   #6
astano
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
Searching the net I found other people that are having the same problem with gentoo 2004.1. And the solution they found is to add the option ramdisk_size=8192 in the grub or lilo config file. It appears that the "regular" ram0 size isnīt good enough for gentoo!!!
Iīll give it a try........
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
dual boot xp/gentoo (selecting boot for each partition) saif__r Linux - Newbie 8 08-13-2005 10:23 AM
GRUB won't boot Gentoo Linux :( shane25119 Linux - Software 29 02-15-2004 04:41 PM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration