LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2003, 03:08 PM   #1
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Adding WinXP to LILO


Ok, I think I just locked myself out of WinXP and I don't have a boot disk... not good. I was wondering if there is any way to add WinXP to LILO so it'll be an option when my computer boots. I really need to fix this be for my dad gets home in a few hours :-( Thanks for any help...
 
Old 06-18-2003, 03:16 PM   #2
pioniere
Member
 
Registered: Dec 2002
Location: Vancouver Island, Canada
Distribution: Slackware
Posts: 46
Blog Entries: 1

Rep: Reputation: 15
So WinXP was booting through LILO before you started having problems? If that is the case, why not just go into Linux and make the necessary changes to LILO.

Otherwise, if XP was the default and you added Linux (and can no longer get to XP as a result), get a boot disk from any Windows or DOS platform and make sure it has FDISK on it. Then, boot from the disk and run FDISK /MBR . This will rebuild your boot record and enable you to access XP once again.

Hope this helps; if not then try to provide more detail.
 
Old 06-18-2003, 03:39 PM   #3
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Now it looks for Win98 instead of XP and says "Operating System missing." Can anyone just tell me where to find a boot disk for XP? When I go into FDISK it says that hda1 (my XP partition) is of the "Hidden HPFS/NTFS" type. Could that mean anything?

Last edited by insanebluecow; 06-18-2003 at 04:52 PM.
 
Old 06-18-2003, 04:02 PM   #4
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you dont need a winxp boot disk. you can use any windows boot disk. or you can use the windows xp cd. when the menu comes select repair exsisting OS in the repair console.

or else you can download boot disk from here

in case your dad finds out tell him that you can learn to fix only when you screw up something first
 
Old 06-18-2003, 04:48 PM   #5
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Man, I am SO screwed. I've tried a boot disk and the WinXP CD... It still says "Missing OS." Crud :-( I can't even get my computer to recognize WinXp.
 
Old 06-18-2003, 05:36 PM   #6
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
OK, I was wondering if changing the type of drive (FAT32/EXT2/etc.) with fdisk will format the disk. If it doesn't format it, I could just change the type of drive to NTFS again, right? Heres what my partition table looks like:

Code:
    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1                    Primary   Hidden HPFS/NTFS [^G]            63885.75
    hda2                    Primary   Linux swap                         542.87
    hda3        Boot        Primary   Linux ext2                        3224.31
    hda4                    Primary   Linux ext2                       12346.15
 
Old 06-18-2003, 06:13 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
when you lock yourself out of a windows xp or windows 2000 box, all you have to do is locate the sam.exe file located somewheres in the windows folder, i say somewheres cause i don't remember the exact location, and then you will be able to get back in, but there won't be any user accounts, so you will have to make a new admin account and whatever users you want, and then when you reboot you can use the newly created accounts..
 
Old 06-18-2003, 06:17 PM   #8
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Thats the thing, I can't get into Windows, so I can't access the drive cuz it's NTFS.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP/Slack (LILO) Casket Linux - Newbie 7 10-16-2005 07:42 AM
Adding a WinXP printer on network to Linux MI3GTO Linux - Newbie 7 01-01-2005 07:49 AM
LILO and MBR with WinXP a_priebe47 Slackware 26 08-05-2004 04:13 AM
WinXP, Linux, how to dualboot if adding Win2003. letdoit Linux - Newbie 2 05-08-2004 06:42 AM
LILO hides winXP... ilhbutshm Linux - Newbie 18 11-26-2003 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:58 AM.

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