You'll want to back up your grub.conf, so as a root terminal, do:
- Code: Select all
cp /boot/grub/grub.conf >> /boot/grub/grub.conf.original
Okay this is what your GRUB.conf looks like, or should look like, or maybe doesn't. Who knows, we'll get you all sorted out:
- Code: Select all
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /kernel-genkernel real_root=UUID=0ee567ef-085d-4698-865c-f2c2bb3c4339
# initrd /initramfs-genkernel
#boot=sda
default=1
timeout=6
splashimage=(hd0,0)/grub/splash.xpm.gz
title Sabayon Linux Elemental Edition
rootnoverify (hd0,0)
chainloader +1
There's your problem! See that rootnoverify? That is your problem. So clean that crap out and leave everything above rootnoverify alone to make it look like
- Code: Select all
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /kernel-genkernel real_root=UUID=0ee567ef-085d-4698-865c-f2c2bb3c4339
# initrd /initramfs-genkernel
#boot=sda
default=1
timeout=6
splashimage=(hd0,0)/grub/splash.xpm.gz
title Sabayon Linux Elemental Edition
Next we're going to build your grub.conf. Pay attention, you can screw your system up if you do this wrong!
Okay, you always want root (hd*,*) to be that first line. This tells you where the root of the OS you're trying to boot is. For me it is (hd0,0). According to a friend of mine he says that GRUB is always starting at 0; meaning it has to be (hd0,*). Usually for me, seeing as how I only have one drive, it is (hd0,0). So type this in(Note:All code boxes after this line mean you should do what it says to in the /boot/grub/grub.conf text file. I have explained how to open it in the aforementioned lines, thank you.):
- Code: Select all
root (hd0,0) <-- this tells GRUB that the root of the drive is at 0,0. Remember, the first 0 is needed by GRUB, it will not change.
Next you're going to create your kernel line. This tells GRUB what kernel to boot. This is why when you build a new kernel, you see a new line in the GRUB boot menu that mentions your original install (Probably something like Sabayon Linux x86 Standard Edition or something like that) and a new one with parentheses that have the new kernel name in it. So go down one line, tab over and start typing:
- Code: Select all
kernel /kernel-genkernel-x86-2.*.**-sabayon root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 pci=nomsi
- Code: Select all
initrd /initramfs-genkernel-x86-2.6.22-sabayon (replacing your kernel name with the 2.6.22-sabayon thing.
- Code: Select all
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /kernel-genkernel real_root=UUID=0ee567ef-085d-4698-865c-f2c2bb3c4339
# initrd /initramfs-genkernel
#boot=sda
default=1
timeout=6
splashimage=(hd0,0)/grub/splash.xpm.gz
title Sabayon Linux Elemental Edition
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.22-sabayon root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 pci=nomsi
initrd /initramfs-genkernel-x86-2.6.22-sabayon
Resources:
Myself, Experience.
c0nv1ct, Knowledge.
Joost, Knowledge and self experience
dyingmuppet, self experience.


