View previous topic :: View next topic |
Author |
Message |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Sat Oct 07, 2006 8:05 pm Post subject: Cant boot XP CD after g2006.1 install |
|
|
Hey folks,
Ive just installed gentoo 2006.1 on my notebook (from livecd, as the nic isnt supported) and now I cant boot up from the Windows XP install cd. Which I need pretty badly as I fucked my install up (by accidentaly reseting while booting )
I already tried deleting the windows partition, setting the "bootable" flag in cfdisk to the actual gentoo boot partition, reinstalling grub.
Any idea? thx guys |
|
Back to top |
|
 |
moocha Watchman

Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Oct 07, 2006 8:25 pm Post subject: |
|
|
Scratched CD or misconfigured BIOS. Installing any operating system can't and won't affect whether or not you're able to boot from a CD. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Sat Oct 07, 2006 8:42 pm Post subject: |
|
|
sry, I forgot to mention, the xp cd actually starts booting, but gets stuck after a second or so (hardware detection, then blank screen)
and actually boots fine on another system |
|
Back to top |
|
 |
moocha Watchman

Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Oct 07, 2006 9:32 pm Post subject: |
|
|
Ahh, that's different. Perhaps the MBR got messed up somehow and/or the partitions were laid out with a geometry that Windows can't grok.
Is there any data on that drive that you still need? Or, rather, the question is: Would it be an option to simply erase the MBR - implies losing all partitions! - thus forcing Windows to recreate one from scratch?
And a side question: Did you create / move / resize any new partitions, or did you try to install Gentoo by just reformatting one of the pre-existing partitions? _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Sun Oct 08, 2006 8:08 am Post subject: |
|
|
moocha wrote: | And a side question: Did you create / move / resize any new partitions, or did you try to install Gentoo by just reformatting one of the pre-existing partitions? |
ya, moved em around a little with partition magic
But it seems I wont have to erase the whole drive!
I just deleted my linux boot partition with cfdisk, and now the xp cd boots fine!
thx for your help though! |
|
Back to top |
|
 |
moocha Watchman

Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Oct 08, 2006 8:51 am Post subject: |
|
|
You're welcome, although I didn't do much, actually... Still, I'm glad to hear your system is fine now. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Sun Oct 08, 2006 10:26 am Post subject: |
|
|
moocha wrote: | You're welcome, although I didn't do much, actually... Still, I'm glad to hear your system is fine now. |
well, I still (well, Im at it right now) have to go through the hassle of installing xp and all the stuff I need.
I really should create a unattended install cd once ive got it there... |
|
Back to top |
|
 |
wahl n00b

Joined: 27 Sep 2004 Posts: 7
|
Posted: Tue Oct 10, 2006 1:20 pm Post subject: Same problem but how to restore boot partition |
|
|
Hi,
I have the same problem where my XP CD won't boot. However, I feel a little uneasy about deleting my boot partition. Could you possibly outline the appropriate steps to delete boot partition and restore it again as soon as windows has been installed?
Thanx in advance.
/ wahl |
|
Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Tue Oct 10, 2006 2:05 pm Post subject: |
|
|
well, just keep a gentoo cd handy.
I booted my gentoo installation normally, backed up everything on the boot partition:
Code: | copy -R /boot/* /TEMPBOOT |
then deleted it (via cfdisk), installed windows, booted from the gentoo cd, created a new boot partition (via cfdisk), mounted it (change /etc/fstab accordingly), did:
Code: | copy -R /TMPBOOT/* /boot |
changed /boot/grub/grub.conf to the new boot partition (mine changed from sda1 to sda6, maybe yours wont change at all^^)
and reinstalled grub to the new partition
Code: | grub
root (hd0,5) #Whatever your partition is!
setup (hd0) |
hth! |
|
Back to top |
|
 |
wahl n00b

Joined: 27 Sep 2004 Posts: 7
|
Posted: Tue Oct 10, 2006 9:01 pm Post subject: Will try that |
|
|
Thank you very much c0balt. Will try that and hope that I do not mess up the cfdisk steps.
Actually had the same problem with an earlier version of XP (SP1), where using an SP2 install CD solved the problem. This, however, did not seem to be the case this time.
/ Wahl |
|
Back to top |
|
 |
bzag00 n00b

Joined: 11 Oct 2006 Posts: 4
|
Posted: Wed Oct 11, 2006 5:20 am Post subject: Consider Dual Booting with Windows on top |
|
|
This worked for me:
http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_%28NTLDR%29_and_why#Introduction
I use NTLDR as the primary bootloader and have a line in boot.ini pointing to grub.bin which I created using a floppy (after installing Gentoo) using the above procedure. Just be careful to use /boot and NOT MBR for the Gentoo installation when asked to install the bootloader. |
|
Back to top |
|
 |
wahl n00b

Joined: 27 Sep 2004 Posts: 7
|
Posted: Sun Oct 15, 2006 6:21 pm Post subject: Tried but no luck |
|
|
Well, tried to delete the /boot partition and reboot with the windows cd as suggested. Unfortunately, I still crashes shortly after boot and I am getting more and more worried that the problem is the result of my partitioning scheme (have 3 primary and one extended with 6 logical drives). Haven't tried with another disk, by this should maybe be the next step?
Does anyone have any last ideas before I end up having to delete the gentoo install and then re-install the whole thing (which I would really really like to avoid)?
Thanx. |
|
Back to top |
|
 |
wahl n00b

Joined: 27 Sep 2004 Posts: 7
|
Posted: Fri Oct 20, 2006 1:16 pm Post subject: SOLVED (sort of) |
|
|
Well, ended up deleting the partition table and then it worked. Maybe there was a correlation between the problem and the fact that Windows was 32-bit and Gentoo was 64-bit?
Anyway, thank you everyone. Always amazes me how quick the reponses are at the Gentoo forums.
/ Wahl |
|
Back to top |
|
 |
|