From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GeH9O-0006M6-Ph for garchives@archives.gentoo.org; Sun, 29 Oct 2006 20:20:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9TKGpcB025909; Sun, 29 Oct 2006 20:16:51 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9TKCCZP025709 for ; Sun, 29 Oct 2006 20:12:18 GMT Received: by nf-out-0910.google.com with SMTP id p46so2868468nfa for ; Sun, 29 Oct 2006 12:12:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nTAjHbx+Qc+/zmmmG3K3bFmaUHhrjgHLB82CSN+WwHiSOlQyljYI50X+dNq4wcK3AGccJRsN/LDiz0EzvF/JLwy8+UUD1oZfNOIqVCFwHNwB9PuW0ZX4V5yEE1GPYeMaMJ5b68wFUga3Biw6lbYPhPuLvbTCOdcyCwhC4C35cTk= Received: by 10.82.120.15 with SMTP id s15mr281356buc; Sun, 29 Oct 2006 12:05:19 -0800 (PST) Received: by 10.82.106.3 with HTTP; Sun, 29 Oct 2006 12:05:19 -0800 (PST) Message-ID: <7573e9640610291205u4da6cecclf2cf94a9992db155@mail.gmail.com> Date: Sun, 29 Oct 2006 13:05:19 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Grub problems In-Reply-To: <21852482.1162147675990.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21852482.1162147675990.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net> X-Google-Sender-Auth: 9dafb2bad9d7f810 X-Archives-Salt: b3f9fbc2-50c4-48c7-8e65-ea9032ba2779 X-Archives-Hash: 5833597ce0ae55236bfbb9e94404939a On 10/29/06, Jeff Cranmer wrote: > swapspace is on /dev/sda2, /boot is on /dev/sda1, and root is on /dev/sda6 [snip] > My grub.conf file is as follows: > > default=0 > timeout=30 > splashimage=(hd0,5)/boot/grub/splash.xpm.gz > title=Gentoo Linux 2.6.17-r8 > root (hd0,5) > kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi > initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8 You have a separate /boot partition, so you should reference things on *that* partition. So your grub.conf should be: default=0 timeout=30 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.17-r8 kernel (hd0,0)/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.17-gentoo-r8 > When I run grub-install /dev/sda, it reports no errors. > > The device.map file contains the following > (hd0) /dev/sda This is correct if the BIOS is setup to boot from the SATA drive before any IDE hard disks. I never really liked grub-install. Try: cat << EOF | grub --device-map=/boot/grub/device.map root (hd0,0) setup (hd0) EOF The most important line from the above is one that looks like this: Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded If you don't see this, post what you do see. -Richard -- gentoo-user@gentoo.org mailing list