LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hidden system after PowerBoot stuff-up (https://www.linuxquestions.org/questions/linux-newbie-8/hidden-system-after-powerboot-stuff-up-180930/)

mynewhat 05-12-2004 11:00 PM

Hidden system after PowerBoot stuff-up
 
G'day

I've finaly got RH9 installed but at a cost. Here's the lowdown:

DELL Inspirion 8200 with one only HDD (40 odd GB).

It's got XP Pro of cause (well I have to earn a living to support my RH play ok).

I used OO Defrag to make room and have C: as NTFS (WinXP Pro sys drive) and a new ext3 linux partition and a new SWAP partition for RH9.

Installed RH9 from CD.
I used LILO and put it in first sector of the ext3 partition to keep XP loader as is.
So I did not modify the MBR.

All worked fine then I shutdown the PC and of cause it boots into XP and I can't find Linux.

Not to worry I now use Start - Powerquest - BootMagic
Tell it to boot Linux
Note: This seems to have hidden the C: drive (XP System).
It reboots and goes into LILO.

I boot Linix and it works.
If I choose DOS it goes to my XP loader and I'm presented with my usual choice.

However if I now select XP it starts the M/S XP logo but then gets the BSOD (Yuk).

Something about STOP: c000021a {Fatal System Error}
The session manager initialisation process terminated blah 0x000003a


I think BootMagic has mapped the original C: drive to E:.

I already set the dev/hda2 as bootable again in RH using fdisk.

Note:

/dev/hda2 ntfs (my XP not so Pro system)
/dev/hda3 / ext3 RH9 (at last)
/dev/hda1 swap
/dev.hda4 ntfs (my XP userdisk for data etc)


I have cdrw/dvd UJDA740 (dev/scd0)


Question is: How do I recover the XP system on /dev/hda2 that used to C: drive?

As a side: I don't have a floppy drive so how to I fake another device (like CD or FireWire or USB mem key or even virtual memory disk to look like one so I can make an old fashioned boot disk??

Many Many Thanks in Advance,
DearK The Cleaner - Pretty Please with Sugar and Cream on Top.
PS: I can get to Recover Console and edit the files on the XP Sys drive - but what? I'm thinking edit all references to c drive and change them to E. But the easier solution would be to be able to make the system think it's c drive! Right?

:scratch:

wrat 05-13-2004 07:58 AM

I think the probllem lies with where you placed your swap file ( I could be wrong) windows needs to on hda1...or you could try editing xps boot loader ntloader I believe or is it boot.ini
to point to the right place...if you need to get xp back as a last resort you could use recovery console and attempt to repair your xp install


All times are GMT -5. The time now is 04:31 AM.