Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Grub Error Collection [Part 5]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Locked
Advanced search
355 posts
  • Page 13 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • Next
Author
Message
jmbsvicetto
Bodhisattva
Bodhisattva
User avatar
Posts: 4735
Joined: Wed Apr 27, 2005 4:33 pm
Location: Angra do Heroísmo (PT)

Re: grub error 15 + filesystem corrupt?

Post by jmbsvicetto » Fri Jun 23, 2006 5:06 am

Drone4four wrote:
jmbsvicetto wrote: NeddySeagoon has already told you that you should use grub-install --no-floppy /dev/hda or grub --no-floppy.
I overlooked NeddySeagoon’s response initial post; my bad.
Inputting

Code: Select all

(chroot) livecd grub # grub-install /dev/had –no-floppy
gives me the same errors as before:

Code: Select all

end request: I/O error. dev fd0, sector 0 
end request: I/O error. dev fd0, sector 0 
end request: I/O error. dev fd0, sector 0 
Buffer I/O error, dev fd0, sector 0
Please use the proper syntax. You should use grub-install --no-floppy /dev/hda and not grub-install /dev/hda --no-floppy.
Drone4four wrote: Oh and here is what my /boot looks like:

Code: Select all

(chroot) ls /boot
2.6.16 bzImage grub lost+found
Please post the contents of /etc/fstab and the output of fdisk -l and ls -l /boot.
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Fri Jun 23, 2006 6:13 am

Code: Select all

(chroot) fdisk -1

Disk /dev/hda: 8-GB, 80026361856 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


	Device Boot	Start	End	Blocks		Id	System
/dev/hda1	*	    1	 5	  40131		  83	  Linux
/dev/hda2		    6	 249	 1959930	   83	 Linux
/dev/hda3		  250	9729   76148100	   83	  Linux

Code: Select all

(chroot) ls -l boot
total 4065
-rw-r--r--  1 root root 2064876 Jun 20 18:11 2.6.16
-rw-r--r--  1 root root 2064876 Jun 22 01:07 bzImage
drwxr-xr-x  2 root root    1024 Jun 23 01:27 grub
drwx------  2 root root   12288 Jun 19 18:13 lost+found
Please use the proper syntax. You should use grub-install --no-floppy /dev/hda and not grub-install /dev/hda --no-floppy.
Both syntaxes produce the sam error messages as before.

Regarding my fstab: it's very messy and untidy and I don't know why. The columns don't exist, so it's hard even from me to read. I'm going to type it all out which will take some time. Give me half and hour to type out my fstab. =D
Last edited by Drone4four on Fri Jun 23, 2006 11:06 pm, edited 1 time in total.
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Fri Jun 23, 2006 6:25 am

Here is what my fstab looks like

Code: Select all

tmpfs /newroot tmpfs rw 0 0
/dev/hdc /newroot/mnt/cdrom iso660 ro 0 0 
/dev/loop/0 /newroot/mnt/livecd squashfs ro 0 0
proc /newroot/proc proc rw,nodiratime 0 0
udev /newroot/sys sysfs rw 0 0
devpts /newroot/dev/pts dev[ts rw 0 0
tmpfs /newroot/mnt/livecd/lib/firmware tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/usr/portage tmpfs rw 0 0
/dev/hda3 /newroot/mnt/gentoo ext3 rw,data=ordered 0 0
/dev/hda1 /newroot/mnt/gentoo ext2 rw,nogripid 0 0
/dev/hda3 / ext3 rw, data=ordered 0 0
none /proc proc rw,nodiratatime 0 0
udev /dev tmpfs rw,nosuid 0 0
/dev/hda1 /boot ext2 rw,nogrpid 0 0
Uh, why is it such a disaster?
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Fri Jun 23, 2006 9:47 am

Drone4four,

A few things looking over your recent posts.default 0

Code: Select all

timeout 20
splashimage=(hd0,0)

title=Gentoo Linux 2.6.16
root (hd0,0)
kernel /boot/2.6.16 root=/dev/hda3
Is not correct because you gave no splashinage filemane. That will cause Error 15 too.

Code: Select all

default 0
timeout 20

title=Gentoo Linux 2.6.16
root (hd0,2)

kernel /boot/2.6.16 root=/dev/hda3
Is better, the splashimage line is gone but now your root (hd0,2) is not correct. This statement tells grub where to find its files and is not related to the kernels root=/dev/hda3. Again, you get Error 15 but for a different reason.

Looking at your /boot and your grun.conf together

Code: Select all

-rw-r--r--  1 root root 2064876 Jun 20 18:11 2.6.16
-rw-r--r--  1 root root 2064876 Jun 22 01:07 bzImage
drwxr-xr-x  2 root root    1024 Jun 23 01:27 grub
drwx------  2 root root   12288 Jun 19 18:13 lost+found
there are two issues.
Your /boot is missing a recursive symbolic link

Code: Select all

boot -> .
which is essential to booting from a real partition.

Lets expand your

Code: Select all

root (hd0,2)
kernel /boot/2.6.16 root=/dev/hda3
The hd0,2 is not correct but the second line expanda to be

Code: Select all

kernel (hd0,2)/boot/2.6.16 root=/dev/hda3
Which means on the boot partition look for a direcrory called boot (which you don't have) and inside that dir a kernel file called 2.6.16.

So ... fix your root (hd.... statement.
Fix the recursive symlink, or remove the excess /boot then you can get past your Error 15 to your next problem.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
paulposition
n00b
n00b
Posts: 4
Joined: Thu Jun 22, 2006 4:10 pm

Post by paulposition » Fri Jun 23, 2006 10:18 am

Ciao Neddy
NeddySeagoon wrote: Can you post the output of

Code: Select all

ls -l /mnt/gentoo/boot
taken after booting the live CD and mounting your filesystems please?
Thats your /boot. Providing you have no IDE hard drives nor any USB storage devices attached your grub.conf looks about right.
it's this

Code: Select all

livecd ~ # ls -l /mnt/gentoo/boot
total 4878
-rw-r--r--  1 root root 1095393 Jun 22 16:50 System.map-genkernel-x86_64-2.6.16-gentoo-r9
lrwxrwxrwx  1 root root       1 Jun 22 16:17 boot -> .
drwxr-xr-x  2 root root    1024 Jun 22 17:38 grub
-rw-r--r--  1 root root 1588377 Jun 22 16:56 initramfs-genkernel-x86_64-2.6.16-gentoo-r9
-rw-r--r--  1 root root 2271806 Jun 22 16:50 kernel-genkernel-x86_64-2.6.16-gentoo-r9
drwx------  2 root root   12288 Jun 22 16:13 lost+found
Exactly when do you get the error ?
Before or after the grub splash screen loads?
Before or after you select your kernel to load?
I've got this error after I select my kernel to load
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Fri Jun 23, 2006 1:32 pm

paulposition,

Your grub.conf, from your first post. contains:-

Code: Select all

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.16
root (hd0,0)
kernel /boot/kernel-2.6.16-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd /boot/initramfs-genkernel-amd64-2.6.16-gentoo-r9 
and your /boot contians

Code: Select all

-rw-r--r--  1 root root 1588377 Jun 22 16:56 initramfs-genkernel-x86_64-2.6.16-gentoo-r9
-rw-r--r--  1 root root 2271806 Jun 22 16:50 kernel-genkernel-x86_64-2.6.16-gentoo-r9 
These filenames must be identical in /boot and in grub.conf, although that normally gets you an Error 15.

Please check that the information you are providing is accurate, thats why copy and paste is preferred over copy typing.
If you have changed your grub.conf since your first post, we need to see your /boot and your grub.conf as they both were when your error occured.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Fri Jun 23, 2006 9:25 pm

Code: Select all

default 0
timeout 20

title=Gentoo Linux 2.6.16
root (hd0,0)

kernel /boot/2.6.16 root=/dev/hda3
My grub.conf:
(1) with my root variable set to (hd0,0),
(2) a default 0 variable,
(3) with no splashimage
still produces error 15. NeddySeagoon also suggested I add a symbolic link inside my /boot. It's unclear to me what NeddySeagoon is trying to say. For example in the Handbook, there is talk once of adding a symbolic link while installing Gentoo (at step 6.a code listing 3). I don't know what it means to fix the recursive symlink?
The hd0,2 is not correct but the second line expanda to be
Let's clarify. NeddySeagoon, are you trying to say that I need to add (hd0,2) after kernel but before /boot/2.6.16 in my grub.conf?

NeddySeagoon, could you also please fix some of your grammar because I am really confused. I don't mean to be rude, but I really need to have all this clarified in order to get Gentoo functioning.
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
jmbsvicetto
Bodhisattva
Bodhisattva
User avatar
Posts: 4735
Joined: Wed Apr 27, 2005 4:33 pm
Location: Angra do Heroísmo (PT)

Post by jmbsvicetto » Fri Jun 23, 2006 10:39 pm

Drone4four wrote:

Code: Select all

(
/dev/hda1	*	    1	 5	  40131		  83	  Linux
/dev/hda6		    6	 249	 1959930	   83	 Linux
/dev/hda3		  250	9729   76148100	   83	  Linux
I don't know how well Linux will handle this. Your /dev/hda6 partition doesn't seem to be a valid partition.
Partitions 1-4 must be either primary or extended. You can only have one extended partition. Partitons 5-16/whatever are logical partitions that reside inside an extended partition. Your /dev/hda6 doesn't reside inside any extended partition.
Last edited by jmbsvicetto on Sat Jun 24, 2006 5:42 am, edited 1 time in total.
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Fri Jun 23, 2006 11:08 pm

jmbsvicetto wrote:
Drone4four wrote:

Code: Select all

(
/dev/hda1	*	    1	 5	  40131		  83	  Linux
/dev/hda6		    6	 249	 1959930	   83	 Linux
/dev/hda3		  250	9729   76148100	   83	  Linux

Code: Select all

[/quote]
I don't know how well Linux will handle this. Your [i]/dev/hda6[/i] partition doesn't seem to be a valid partition.
Partitions 1-4 must be either primary or extended. You can only have one extended partition. Partitons 5-16/whatever are logical partitions that reside inside an extended partition. Your [i]/dev/hda6[/i] doesn't reside inside any extended partition.[/quote]jmbsvicetto,  my fault again.  That hda6 is a typo on this message board and not on the i386 I''m owrking whichy is sitting right next to me.  I corrected the error.

=D
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Sat Jun 24, 2006 12:00 am

Drone4four,

Either change your grub.conf like this

Code: Select all

default 0
timeout 20
title=Gentoo Linux 2.6.16
root (hd0,0)

kernel /2.6.16 root=/dev/hda3
Notice the /boot has been removed from the kernel line,

Or, inside your /boot make a symbolic link

Code: Select all

ln -s . boot
Its called recursive because it points to itself. This link allows the /boot to be used inside grub.conf, even if its not needed.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Sat Jun 24, 2006 12:18 am

The

Code: Select all

ln -s boot
sounded good until I rebooted. I now get:

Code: Select all

Error 26: Too many symbolic links
On the Grub website hosted by GNU.org reads as follows for error 26:
This error is returned if the link count is beyond the maximum (currently 5), possibly the symbolic links are looped.
http://www.gnu.org/software/grub/manual ... ge2-errors

I'm now going to remove the /boot/boot symlink and modify my grub.conf accordingly.

Thanks NeddySeagoon for clarifying what you were trying to say.
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
Drone4four
Apprentice
Apprentice
User avatar
Posts: 247
Joined: Tue May 09, 2006 8:07 am

Post by Drone4four » Sat Jun 24, 2006 12:28 am

Wow, removing "/boot" from my grub.conf is the best thing that ever happened to me. Special thanks goes out to NeddySeagoon, jmbsvicetto and filterpunk for their patient guidance through out my lengthy noobish troubleshooting session!
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Top
filterpunk
n00b
n00b
User avatar
Posts: 71
Joined: Sun Jun 18, 2006 5:26 pm
Location: Portland, OR

Post by filterpunk » Sat Jun 24, 2006 1:56 am

Drone4four wrote:Wow, removing "/boot" from my grub.conf is the best thing that ever happened to me. Special thanks goes out to NeddySeagoon, jmbsvicetto and filterpunk for their patient guidance through out my lengthy noobish troubleshooting session!
I don't want to sound insulting, but honestly, read through the handbook more carefully next time. It covers all of this in fairly explicit detail (without going overboard), enough so that any newbie should be able to follow the steps and get Gentoo installed successfully. Case in point: I installed Gentoo for the first time a few days ago. The handbook, coupled with the excellent Gentoo Wiki, have been more invaluable than anything else.

That said, glad your install was finally successful (or so i'm inferring from your post).
Top
ncage
n00b
n00b
Posts: 14
Joined: Wed May 18, 2005 9:05 pm

Grub Problems

Post by ncage » Sat Jun 24, 2006 7:36 am

Ok guys i just got done installing gentoo 2006.0 and grub is not likeing me. When i boot up i just get grub prompt. That is it. I can boot the machine from the grub prompt though. Here is my conf file:

default 0

timeout 10

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux

root (hd0,0)
kernel /boot/firstkern root=/dev/hda2

Yes the boot partition is on /dev/hda1 and the root partition is on /dev/hda2. It really makes no sense because when i get the gurb prompt wheni reboot i can boot up my system using the same commands. I have tried to use what the op posted for this problem but it did not work. Any help would be appreciated.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Sat Jun 24, 2006 10:47 am

Drone4four,

The dot in

Code: Select all

ln -s . boot
is important. Its a reference th the current directory.

Code: Select all

emerge grub
makes this symbolic link, so I don't know why yours was missing.
This link allows the same grub.conf content to be used regardless of wether you have a real boot parttion or not.
The full explaination for that is further up this thread.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Sat Jun 24, 2006 10:54 am

ncage,

Your post suggests that grub cannot find grub.conf. It should be at /boot/grub/grub.conf.
You should also have a symbolic lining in /boot/grub menu.lst -> /boot/grub/grub.conf
The .lst is for .list not for .1st, its a lower case letter "L".

Was your /boot correctly mounted when your instaled grub and the kernel ?
Look in your /boot both with /dev/hda1 mounted and unmounted. /boot should be empty when /dev/hda1 is not mounted.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
ncage
n00b
n00b
Posts: 14
Joined: Wed May 18, 2005 9:05 pm

Post by ncage » Sat Jun 24, 2006 11:49 pm

NeddySeagoon wrote:ncage,

Your post suggests that grub cannot find grub.conf. It should be at /boot/grub/grub.conf.
You should also have a symbolic lining in /boot/grub menu.lst -> /boot/grub/grub.conf
The .lst is for .list not for .1st, its a lower case letter "L".

Was your /boot correctly mounted when your instaled grub and the kernel ?
Look in your /boot both with /dev/hda1 mounted and unmounted. /boot should be empty when /dev/hda1 is not mounted.
Thanks for taking your time in replying. I appreciate your time.

First of all i don't understand why it can't find my grub.conf file. When it boots to the prompt when i reboot my computer i just type
1) root (hd0,0)
2) kernel /boot/firstkern root=/dev/dev/hda2
3) boot

and im able to boot up fine. I checked on the menu.lst symbolic file and its there too. WHen i boot up i use "df" to make sure my boot partition is mounted and it is. I would think if problems with my boot partition being loaded then i wouldn't be able to boot linux. I was going to try to start fresh and i tried a emerge -umerge grub and i got an error when i tried that. Do you have any idea what else i could try?

thanks
Top
jmbsvicetto
Bodhisattva
Bodhisattva
User avatar
Posts: 4735
Joined: Wed Apr 27, 2005 4:33 pm
Location: Angra do Heroísmo (PT)

Post by jmbsvicetto » Sun Jun 25, 2006 2:21 am

Hi.
ncage wrote: First of all i don't understand why it can't find my grub.conf file. When it boots to the prompt when i reboot my computer i just type
1) root (hd0,0)
2) kernel /boot/firstkern root=/dev/dev/hda2
3) boot
and im able to boot up fine.
Please boot your system, mount your /boot partition and post the output of the following

Code: Select all

# ls -l /boot
# ls -l /boot/grub
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Top
ncage
n00b
n00b
Posts: 14
Joined: Wed May 18, 2005 9:05 pm

Post by ncage » Sun Jun 25, 2006 4:47 am

jmbsvicetto wrote:Hi.
ncage wrote: First of all i don't understand why it can't find my grub.conf file. When it boots to the prompt when i reboot my computer i just type
1) root (hd0,0)
2) kernel /boot/firstkern root=/dev/dev/hda2
3) boot
and im able to boot up fine.
Please boot your system, mount your /boot partition and post the output of the following

Code: Select all

# ls -l /boot
# ls -l /boot/grub
/boot directory:
total 2170
lrwxrwxrwx 1 root root 1 Jun 11 18:23 boot -> .
-rw-r--r-- 1 root root 2197826 Jun 20 17:25 firstkern
drwxr-xr-x 2 root root 1024 Jun 24 22:30 grub
drwx------ 2 root root 12288 Jun 11 18:09 lost+found


/boot/grub directory
total 333
-rw-r--r-- 1 root root 197 Jun 24 22:30 default
-rw-r--r-- 1 root root 30 Jun 24 17:29 device.map
-rw-r--r-- 1 root root 8052 Jun 24 22:30 e2fs_stage1_5
-rw-r--r-- 1 root root 7812 Jun 24 22:30 fat_stage1_5
-rw-r--r-- 1 root root 7060 Jun 24 22:30 ffs_stage1_5
-rw-r--r-- 1 root root 149 Jun 24 17:15 grub.conf
-rw-r--r-- 1 root root 1624 Jun 23 18:12 grub.conf.sample
-rw-r--r-- 1 root root 7124 Jun 24 22:30 iso9660_stage1_5
-rw-r--r-- 1 root root 8544 Jun 24 22:30 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Jun 24 17:36 menu.lst -> grub.conf
-rw-r--r-- 1 root root 7252 Jun 24 22:30 minix_stage1_5
-rw-r--r-- 1 root root 9524 Jun 24 22:30 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 Jun 23 18:12 splash.xpm.gz
-rw-r--r-- 1 root root 512 Jun 24 22:30 stage1
-rw-r--r-- 1 root root 105512 Jun 24 22:31 stage2
-rw-r--r-- 1 root root 105512 Jun 23 18:12 stage2_eltorito
-rw-r--r-- 1 root root 7336 Jun 24 22:30 ufs2_stage1_5
-rw-r--r-- 1 root root 6708 Jun 24 22:30 vstafs_stage1_5
-rw-r--r-- 1 root root 9372 Jun 24 22:30 xfs_stage1_5
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Sun Jun 25, 2006 11:25 am

ncage,

That looks good. How did you install grub?
If you gave it the wrong root (hdx,y) It would not find your /boot during the boot process, then it could not read grub.conf.
The fix would be to reinstall grub on the MBR.

The only other thing I can think of is that there is a subtle syntax error very early in grub.conf that does not show here.
rename you grub.conf and make a new one.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
ncage
n00b
n00b
Posts: 14
Joined: Wed May 18, 2005 9:05 pm

Post by ncage » Mon Jun 26, 2006 2:56 am

NeddySeagoon wrote:ncage,

That looks good. How did you install grub?
If you gave it the wrong root (hdx,y) It would not find your /boot during the boot process, then it could not read grub.conf.
The fix would be to reinstall grub on the MBR.

The only other thing I can think of is that there is a subtle syntax error very early in grub.conf that does not show here.
rename you grub.conf and make a new one.
WOOOHOOO I GOT IT WORKING :D. YIPEEEEEEEEEEEEEEEE. THANK YOU FOR ALL YOUR HELP!!!! :)))I have no idea why this worked but i just deleted grub.conf and rewrote it with everything i had in it before and its not working. Ok on to my next question. I then changed grub.conf so my video resolution would be 1024x768 and the screen is working but the resolution doesn't look anywhere near 1024x768. The resolution from the Live CD is a lot higher. I even tried 0x31B but it still lookes in the same. I went to the kernel and compiled in framebuffer support and specifically added framebuffer support for nvidia cards. I have a geforce4 mx. Any ideas on this one?

thanks,
Ncage
Top
ncage
n00b
n00b
Posts: 14
Joined: Wed May 18, 2005 9:05 pm

Post by ncage » Mon Jun 26, 2006 3:20 am

ncage wrote:
NeddySeagoon wrote:ncage,

That looks good. How did you install grub?
If you gave it the wrong root (hdx,y) It would not find your /boot during the boot process, then it could not read grub.conf.
The fix would be to reinstall grub on the MBR.

The only other thing I can think of is that there is a subtle syntax error very early in grub.conf that does not show here.
rename you grub.conf and make a new one.
WOOOHOOO I GOT IT WORKING :D. YIPEEEEEEEEEEEEEEEE. THANK YOU FOR ALL YOUR HELP!!!! :)))I have no idea why this worked but i just deleted grub.conf and rewrote it with everything i had in it before and its not working. Ok on to my next question. I then changed grub.conf so my video resolution would be 1024x768 and the screen is working but the resolution doesn't look anywhere near 1024x768. The resolution from the Live CD is a lot higher. I even tried 0x31B but it still lookes in the same. I went to the kernel and compiled in framebuffer support and specifically added framebuffer support for nvidia cards. I have a geforce4 mx. Any ideas on this one?

thanks,
Ncage
Thanks guys but i got it working. I am using the nvidiafb driver instead and had to mess around with it a little bit but its working good now.

ncage
Top
paulposition
n00b
n00b
Posts: 4
Joined: Thu Jun 22, 2006 4:10 pm

error 28

Post by paulposition » Mon Jun 26, 2006 10:21 am

NeddySeagoon wrote:paulposition,
Your grub.conf, from your first post. contains..... CUT..CUT..CUT
These filenames must be identical in /boot and in grub.conf, although that normally gets you an Error 15.
.....
sorry, i've made a mistake with cut&paste 8O

i've recompiled the kernel with genkernel and following also the wiki howto for using gentoo with RAID controller and I've got the same error.
my grub.conf is:

Code: Select all

default 0
timeout 10
splashimage (hd0,0)/grub/splash.xpm.gz
title Gentoo Linux
kernel (hd0,0)/kernel-genkernel-x86_64-2.6.15-gentoo-r5 root=/dev/ram0 real_root=/dev/mapper/sil_agafbgcaejca3 init=/linuxrc ramdisk=8192 dodmraid
initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.15-gentoo-r5
ls -la /mnt/gentoo/boot is:

Code: Select all

-rw-r--r--  1 root root 1073027 Jun 26 11:46 System.map-genkernel-x86_64-2.6.15-gentoo-r5
lrwxrwxrwx  1 root root       1 Jun 23 17:43 boot -> .
drwxr-xr-x  2 root root    1024 Jun 26 10:35 grub
-rw-r--r--  1 root root 1841001 Jun 26 11:50 initramfs-genkernel-x86_64-2.6.15-gentoo-r5
-rw-r--r--  1 root root 2242330 Jun 26 11:46 kernel-genkernel-x86_64-2.6.15-gentoo-r5
drwx------  2 root root   12288 Jun 23 17:38 lost+found

Code: Select all

ls -la /dev/mapper/
crw-rw----   1 root root  10, 62 Jun 26 11:58 control
brw-------   1 root root 254,  0 Jun 26 11:58 sil_agafbgcaejca
brw-------   1 root root 254,  1 Jun 26 11:58 sil_agafbgcaejca1
brw-------   1 root root 254,  2 Jun 26 11:58 sil_agafbgcaejca2
brw-------   1 root root 254,  3 Jun 26 11:58 sil_agafbgcaejca3
brw-------   1 root root 254,  4 Jun 26 11:58 sil_agafbgcaejca4

fdisk -l /dev/mapper/sil_agafbgcaejca

Disk /dev/mapper/sil_agafbgcaejca: 164.6 GB, 164695506944 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                       Device Boot      Start         End      Blocks   Id  System
/dev/mapper/sil_agafbgcaejca1   *           1          13      104391   83  Linux
/dev/mapper/sil_agafbgcaejca2              14        1010     8008402+  82  Linux swap / Solaris
/dev/mapper/sil_agafbgcaejca3            1011        4901    31254457+  83  Linux
/dev/mapper/sil_agafbgcaejca4            4902       20023   121467465   83  Linux
but also the same error:
Error 28 : Selected item cannot fit into memory :cry: :cry: :cry:

thanks a lot
ciao
Paul
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Mon Jun 26, 2006 10:54 am

ncage,

The nvidiafb kernel option is incompatable with the binary nvidia driver for Xorg.
If you want frambuffer with an nvidia card you should use the vesa-tng or vesa frambuffer in the kerenl.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Post by NeddySeagoon » Mon Jun 26, 2006 10:56 am

paulposition,

Can you add mem=1024M to your kernel line and see if it will start ?
That tells the kerenl you only have 1Gb of memory.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Locked

355 posts
  • Page 13 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • Next

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic