View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri Aug 16, 2002 1:31 pm Post subject: Grub, Gentoo, WinXP |
|
|
Hi there,
I installed Gentoo on my IBM Thinkpad A31. Everything went fine so far -- Gentoo's booting and working like a charm, though windows XP doesn't boot anymore (error messages are listed below, as well as the grub config and the partitioning table).
I searched google for it, with the result of few answers. The MS support-page says that a configuration file's been overwritten, and that you should reinstall XP. Though, a reinstallation would result in an overwritten MBR and therefore a deleted grub.
As IBM installs windows with two partitions as default (one NTFS for Windows, and one FAT32 partition as for the recovery partition), I wondered if the XP-bootloader's maybe in the FAT32 partition, and changed the grub configuration -- to no extend. The bootloader's definitely residing in the NTFS partition.
I can't figure that some XP-file has been overwritten as I didn't touch the XP-reliant partitions. Under XP, I resized the NTFS partition with Partition Magic and activated a new ext2 one. Everything was working so far, I rebooted, popped in the Gentoo CD and installed everything. During the fdisk-part I just created one primary partition as for the /boot, one extended, and 5 logical partitions. I didn't even touch the windows stuff.
My grub configuration is like the following:
Code: |
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/hda6
title=Windows XP
root (hd0,0)
chainloader +1
|
The following error message occurs when booting XP. The boot-screen with the XP-thingy occurs, after it, this message follows:
Code: |
STOP: c000021a {Fatal System Error}
The session manager initialization system process terminated
unexpectedly with a status of 0xc0000003a (0x00000000, 0x0000000)
|
The partitioning table:
Device Boot Start End Id System
/dev/hda1 * 1 902 17 Hidden HPFS/NTFS
/dev/hda2 * 903 916 83 Linux
/dev/hda3 4987 5168 1c Hidden Win95 FAT32 (LBA)
/dev/hda4 917 4986 5 Extended
/dev/hda5 917 986 82 Linux swap
/dev/hda6 987 2612 83 Linux
/dev/hda7 2613 3967 83 Linux
/dev/hda8 3968 4426 83 Linux
/dev/hda9 4427 4986 83 Linux
Any clue what has been mishandled?
Thank you very much in advance! |
|
Back to top |
|
|
jadenjahner n00b
Joined: 04 May 2002 Posts: 28
|
Posted: Fri Aug 16, 2002 2:01 pm Post subject: |
|
|
Try adding makeactive to the list for XP. I had this issue when XP was on a logical partition. _________________ I can't think of anything catchy to put here, so I'll just leave it blank. |
|
Back to top |
|
|
MaRTiaN Tux's lil' helper
Joined: 22 Apr 2002 Posts: 85 Location: London
|
Posted: Fri Aug 16, 2002 2:56 pm Post subject: |
|
|
If you have to reinstall XP, once you've finished, just pop in the gentoo boot CD, activate the console, mount the gentoo partitions, chroot over to them and reinstall Grub as per the install instructions.
As you can probably guess I reinstall Win98 much more than I do gentoo _________________ Some people are alive only because it's illegal to kill them. |
|
Back to top |
|
|
Guest
|
Posted: Fri Aug 16, 2002 3:13 pm Post subject: |
|
|
Thank you so much for that hint!
OK, also windows' booting now. Although makeactive didn't work (standing alone, that is), I rechecked my partitioning table, and remarked and wondered about the "hidden NTFS".
Well, as long as a partition is hidden, you can't boot it. So I set the menu.lst up as follows:
Code: |
unhide (hd0,0)
root (hd0,0)
chainloader +1
makeactive
|
Kinda self-explanatory
I considered changing root to rootnoverify, though, as both work, I left the line as is.
The only thing that's kinda unusual is that the hd's endlessly working under windows. That is, I entered it 4 minutes ago and something was using my CPU until now. It just stopped right now. I've got no clue why, though I can live with that.
However, thanks a lot for the hint!
@MaRTiaN:
Thanks for the tip. If I've got to reinstall XP some time, I'm surely gotta make use of it Though, I hope XP's as stable as promised |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|