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 11-19-2003, 06:54 AM   #1
sharon42
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Booting raw XP in vmware under gentoo, grub Error 17


I have a dual-boot system with XP home edition and gentoo 1.4. My bootloader is grub. I want to use Vmware 4 with gentoo as the host and XP as the guest OS. On my system I have the following partitions (using grub notation):

(hd0,0) Dell diagnostics (FAT16)
(hd0,1) XP Home edition (NTFS)
(hd0,4) /boot partition (ext2)
(hd0,5) swap
(hd0,6) my root partition (reiserfs)

I've configured vmware to use the existing XP installation (hd0,1) as the guest OS.
When starting the vm the bios runs successfully but grub fails with Error 17.
What am I missing?

My grub.conf:

timeout 30
default 0
fallback 1
splashimage=(hd0,4)/boot/grub/splash.xpm.gz

title Gentoo
root (hd0,4)
kernel (hd0,4)/boot/bzImage root=/dev/hda7

title Windows boot menu
rootnoverify (hd0,1)
makeactive
chainloader +1
 
Old 11-19-2003, 02:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i don't follow... why are you going through grub in the first place?i'm pretty sure you just choose the partition to boot directly in vmware.
 
Old 11-19-2003, 03:54 PM   #3
sharon42
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
The partition I'm booting XP from (hd0,1).
Grub is installed on the MBR, and grub root is (hd0,4).
Still grub starts and fails when I start the VM.
I wasn't what I expected but I don't understand
the boot architectures involved enough to be that surprised.

I suppose a work-around would be to install grub somewhere else and use the NT bootloader. I'd prefer to make this config work though.
 
Old 01-08-2004, 01:03 PM   #4
ijcd
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
VMWare needs access to /boot

I had a similar problem yesterday and worked it out. Error 17 in grub means that it is unable to mount a partition. This resulted because I had given VMWare access to my raw windows partition, but had not given it access to /boot

Add the /boot partition to the list that VMWare can read and try again. I'm not sure if it need read/write on /boot. Maybe if you use savedefault in grub...

--Ian
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Grub/lilo problems finding gentoo kernel under vmware _M0rb Linux - Software 1 02-06-2005 08:53 AM
[Gentoo] Grub not booting ?? nr5 Linux - Newbie 3 01-15-2005 06:46 PM
LILO/GRUB for dual booting Gentoo and Debian. rmanocha Linux - Software 2 02-22-2004 01:23 PM
Dual booting Gentoo and XP using grub GoatKing Linux - Software 7 01-26-2004 02:42 AM

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

All times are GMT -5. The time now is 10: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