Results 1 to 6 of 6
hi
i have an AMD64 and 120GB SATA HD
i tried the universal CD for gentoo-64 and i am getting the following problem:
i installed windows first
i have a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-25-2005 #1Linux Newbie
- Join Date
- Jul 2005
- Location
- Chd,India
- Posts
- 135
grub not booting gentoo
hi
i have an AMD64 and 120GB SATA HD
i tried the universal CD for gentoo-64 and i am getting the following problem:
i installed windows first
i have a primary C and on an extended partition E and i created 4 partitions for /boot / /usr swap using partiton magic
when i boot from livecd,it deteects
C /dev/sda1
extended /dev/sda2
E /dev/sda5
/boot part /dev/sda6
/ part /dev/sda7
/usr part /dev/sda8
swap /dev/sda9
i made the /boot partiton bootable and continued uncompressing and icompiling the kernel
all worked well
when i make the bootloader for grub,i have to write the grub.conf file
as suggested in the manual,i wrote grub.conf
my windows now boots from the grub bootup screen but when i boot gentoo i get the error:
my grub.conf line says :Code:Could not find device /dev/sda7 or could not read block (0,0) ...... append a valid "root=" after kernel ... kernel panic: .........
plz helpCode:title gentoo root (hd0,5) kernel (hd0,5)/boot/kernel-2.6.12-gentoo-r6 root=/dev/sda7
The strong shall live and the weak will die
In the end,only the fittest survive in this world
- Shishio Makoto
- 08-25-2005 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
change root (hd0,5) to root (hd0,6)
EDIT: actualy i dont think thats the problemProud to be a GNU/Gentoo Linux user!
- 08-25-2005 #3Linux Newbie
- Join Date
- Jul 2005
- Location
- Chd,India
- Posts
- 135
(hd0,5) should be my boot partition
so that line should work
also (i think) the error says that it is not able to detect /dev/sda7 or it cannot read it
i have seen other peoples grub.conf.basically they do the same thing
on the kernel line they write root=device for / partition
also my windows is booting from grub menu
thanks for the reply.plz help a little moreThe strong shall live and the weak will die
In the end,only the fittest survive in this world
- Shishio Makoto
- 08-25-2005 #4Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Re: grub not booting gentoo
I don't know if this is your present problem, but you probably should address it: '(hd0,5)/boot/' will want a /boot/ directory within (hd0,5). I think that your /boot/ directory is a mount point in sda7 and that you probably do not have a /boot/ directory on sda6. Grub is able to search for certain files, so this may not fix your present problem. Any of the following changes should work:
Originally Posted by gagan_goku Code:root (hd0,5) kernel (hd0,5)/kernel-2.6.12-gentoo-r6 root=/dev/sda7 ...or... root (hd0,5) kernel /kernel-2.6.12-gentoo-r6 root=/dev/sda7 ...or... kernel (hd0,5)/kernel-2.6.12-gentoo-r6 root=/dev/sda7
/IMHO
//got nothin'
///this use to look better
- 08-28-2005 #5Linux Newbie
- Join Date
- Jul 2005
- Location
- Chd,India
- Posts
- 135
well that dosent work either
The strong shall live and the weak will die
In the end,only the fittest survive in this world
- Shishio Makoto
- 08-29-2005 #6
could you paste the output of
and the output ofCode:fdisk -l
after you have chroot'd to the installCode:cat /etc/fstab
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org


Reply With Quote
