GRUB editing ?
I'm trying to install fresh Gentoo installation in /dev/sda6 , so what would be the argument for "root" in GRUB menulist
|
There are two places where the word "root" is used.
root (hd0,5) would mean /dev/hda6 or /dev/sda6 and is the place where the grub files are - this is the place of the /boot directory Then there is the kernel line - which looks something like this: kernel /vmlinuz-2.6.30-gentoo-r4 root=/dev/hda6 vga=792 /vmlinuz-xxx here is relative to the previously set root (hd0,5) it means the path: /boot/vmlinuz-xxx and root=/dev/hda6 is the partition holding the filesystems / If you have no separate partition for /boot then these are the same. root (hd0,5) is the grub way of saying: /dev/hda6 - it starts to count from 0 for the 1-st partition HTH |
Quote:
title Gentoo {Testing ..} root (hd0,5) kernel /boot/linux-2.6.30-gentoo-r5 root=/dev/sda6 This is my menulist content for Gentoo , but after that /boot I dont have that vmlinuz , instead this I'm having starting as (linux-2.6..) . Is there any fault , coz I'm having Grub Error 15 while trying to execute Gentoo |
Did you use the handbook?
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml It specifically suggests to have a separate /boot partition. If you use the make menuconfig, make, make install, make install_modules routine of building the kernel - then you will have a file "vmlinuz" as well as a file vmlinuz-2.6.30-gentoo-r5 if you install kernel 2.6.30-gentoo-r5 They are both the same. and end up with something similar to this (my actual install - I have the previous kernel-version there also) Code:
ls -lh /boot/ Know if you use a separate partition for /boot - which has to be mounted - or if you don't. If there is a problem, verify the steps into chroot are correct. 1.) mount your / partition 2.) create a /boot directory there (just once) 3.) mount the other partition - the small one which will hold grub and kernel - onto the /boot directory of the first partition. http://www.gentoo.org/doc/en/handboo...ap=4#doc_chap5 Skip 2.) and 3.) if you just use one partition. This might help too: http://www.gentoo.org/doc/en/grub-er....xml#doc_chap4 |
Quote:
Just a thought. --Sploot |
All times are GMT -5. The time now is 10:17 PM. |