Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant boot XP CD after g2006.1 install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Oct 07, 2006 8:05 pm    Post subject: Cant boot XP CD after g2006.1 install Reply with quote

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
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Oct 07, 2006 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Oct 07, 2006 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Oct 07, 2006 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sun Oct 08, 2006 8:08 am    Post subject: Reply with quote

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
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Oct 08, 2006 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sun Oct 08, 2006 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
wahl
n00b
n00b


Joined: 27 Sep 2004
Posts: 7

PostPosted: Tue Oct 10, 2006 1:20 pm    Post subject: Same problem but how to restore boot partition Reply with quote

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
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Tue Oct 10, 2006 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
wahl
n00b
n00b


Joined: 27 Sep 2004
Posts: 7

PostPosted: Tue Oct 10, 2006 9:01 pm    Post subject: Will try that Reply with quote

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
View user's profile Send private message
bzag00
n00b
n00b


Joined: 11 Oct 2006
Posts: 4

PostPosted: Wed Oct 11, 2006 5:20 am    Post subject: Consider Dual Booting with Windows on top Reply with quote

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
View user's profile Send private message
wahl
n00b
n00b


Joined: 27 Sep 2004
Posts: 7

PostPosted: Sun Oct 15, 2006 6:21 pm    Post subject: Tried but no luck Reply with quote

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
View user's profile Send private message
wahl
n00b
n00b


Joined: 27 Sep 2004
Posts: 7

PostPosted: Fri Oct 20, 2006 1:16 pm    Post subject: SOLVED (sort of) Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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