LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2005, 11:47 AM   #1
_M0rb
LQ Newbie
 
Registered: Feb 2005
Distribution: Gentoo, Knoppix, Gnoppix
Posts: 1

Rep: Reputation: 0
Grub/lilo problems finding gentoo kernel under vmware


I'm trying to install Gentoo linux, and I'm being difficult and using VMware under Windows XP Pro SP2, as I use XP for gaming/downloading etc, and only really use Linux for working, so running it under vmware is fine for me.

I've been using the Gentoo minimal Live CD (2004.3), and installation has so far gone fine, but now it's come to configuring my bootloader I've hit problems.

I first tried Grub, but when it boots, it pauses for a while, then I get an error message (Error 15) to the effect that the "files cannot be found".

I'm assuming this is referring to the kernel I've told it to use, but I've searched for this online, and read several "solutions", seemingly to this exact problem, but they all simply state that I need to make sure I've told grub the correct kernel name. I've checked and double checked this, and I've passed it the correct name.

I used genkernel to build my kernel, and following the Gentoo docs, I used the following data in my /boot/grub/grub.conf:

default 0
timeout 30
splashmage=(hd0,3)/grub/splash.xpm.gz

title=Gentoo Linux-2.6.10r6
root (hd0,3)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4 vga=792
initrd /initrd-2.6.20-gentoo-r6

title=M$ Windblows XP Pro SP2
root (hd0,0)
makeactive
chainloader +1

[EOF]

(I also tried changing the line to the non-genkernel user's version of:
kernel /kernel-2.6.10-gentoo-r6 root=/dev/hda4 vga=792
but this made no difference)


My hard drive is a 60Gb ATA-100 split into 4 partitions:

1 Windows partition
2 boot partition
3 swap partition
4 linux partition

I followed the Gentoo documentation, and did:

root (hd0,1)
setup (hd0)
exit

Then, exited chroot, unmounted everything, and rebooted, and was greeted with an Error 15: file not found.



After grub failed, I thought I'd try lilo (not necessarily the wisest move), but when i edited /etc/lilo.conf, saved, and tried to run /sbin/lilo, it said that the first sector of the partition doesn't have a valid boot signature,


I suspect that it's something to do with the fact that I'm doing this through vmware, but it should be letting it access the hard drive directly.
I've explicitly allowed the virtual machine access to hda2, hda3, hda4 (boot, swap and root partitions, respectively).

I'm at a complete loss as to how to resolve this issue, so any help would be much appreciated.
 
Old 02-06-2005, 08:53 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...hreadid=237511
may help check if you need /boot/kernel in the commands

2) also post your /etc/fstab......your setup suggests /boot is on hd0,1

3) the troubleshooter may be slightly better but longer to use
I am still guessing there is something wrong with either your /boot naming or the file naming

4) do a search of gentoo and grub keywords with that funny stuff and see if that helps if above does not
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub and Lilo problems on Gentoo 2004.1 Installation p00ties Linux - Software 5 07-03-2004 10:02 AM
vmware, mandrake 9.0 (finding vmware tools) Gratz Linux - Software 2 03-01-2004 12:03 PM
LILO/GRUB for dual booting Gentoo and Debian. rmanocha Linux - Software 2 02-22-2004 01:23 PM
Booting raw XP in vmware under gentoo, grub Error 17 sharon42 Linux - Software 3 01-08-2004 01:03 PM
Lilo says my kernel is to big!! (gentoo) bling bling Linux - Software 4 11-16-2003 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration