LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2002, 01:52 PM   #16
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58

it sounds like the kernel is not configured correctly
 
Old 11-13-2002, 01:53 PM   #17
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if you can turn of plug and play in your bios try that, also you could disable things you don't need to boot and unplug any externasl hardware and see if it helps
 
Old 11-15-2002, 02:10 PM   #18
littletim
LQ Newbie
 
Registered: Nov 2002
Posts: 11

Rep: Reputation: 0
Post

still nothing, i'll try a reinstall this weekend and see if that helps, if not i may just put linux back on my old, slow box.

If i remove linux can i remove LILO? If so, how?

Tim-
 
Old 11-15-2002, 06:42 PM   #19
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
uninstall lilo first

lilo -u
 
Old 11-17-2002, 12:43 AM   #20
littletim
LQ Newbie
 
Registered: Nov 2002
Posts: 11

Rep: Reputation: 0
Talking

Yay, I got it to work!!!

I'm so happy

I went into my BIOS and turned of legacy USB support and swithed to a ps/2 keyboard instead of a USB keyboard.

Now I can finaly start playing with linux.

Thanks for all your help David.

Tim-
 
Old 11-17-2002, 08:51 PM   #21
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cool,

Now if you get comfortable with it, you could probably recompile the kernel and fix the usb problem.

Last edited by DavidPhillips; 11-17-2002 at 08:53 PM.
 
Old 11-09-2003, 02:34 PM   #22
celare
LQ Newbie
 
Registered: Nov 2003
Distribution: RedHat 9
Posts: 1

Rep: Reputation: 0
Answer to the original question

I'm adding this post because I searched for the error message "Window could not start because the following file is missing or corrupt" and I came across this thread which looked promising but failed to answer the question (although if you don't mind changing your Master Boot Record then the I would recommend following the other posts in this thread and ignoring this post). I couldn't find any other page that came as close as this to the problem so I figured this was a pretty good place to post my solution. Apologies that it doesn't relate to the progression of the actual thread but it does match exactly with the original post which is what people will search for.

If like me you want a dual boot XP and RedHat with XP as the primary os and you get the above error then you may have made the same mistake I did - you haven't set up RedHat properly. During the installation there is a screen for the boot loader and if you're just testing Linux then you will probably have done as I did and clicked the configure button and switched off the boot loader, choosing instead to boot from the boot floppy that you create later in the installation. There can't be many people that would want to mess with their Master Boot Record with no previous experience with the software they are installing.

OK, so now you've discovered that RedHat really is as reliable as they say it is and you want to boot a bit quicker than the boot floppy method so you do a bit of searching and find that if you call up a Terminal window in RedHat and type "su<return>", enter the password, then type "dd if=/dev/hdxy of=/bootsect.lnx bs=512 count=1" (where x is the drive letter and y is the partition number of your linux boot partition - if you're not sure what this is then type "df -h" at the prompt and look for the word boot - mine was hda7) then you end up with a boot file that you can copy to your XP c:\ drive. You can then add the line "c:\bootsect.lnx = "RedHat 9"" to the end of your C:\boot.ini file in XP and you're all done. Except that you're not because when you reboot and select RedHat 9 from the boot list you get the above error!!!

The problem is that you MUST install Grub or Lilo when you install RedHat. The trick is that you don't HAVE to install it on your Master Boot Record (and interfere with the XP boot loader). On the RedHat 9 installation screen where you have to choose your boot loader, leave it on Grub (or change it Lilo if you like) but check the bottom checkbox relating to customising an advanced installation of the boot loader. Then on the very next screen you can untick the boot loader location of "MBR (Master Boot Record)" and tick the location of "/Boot" which is your RedHat boot partition which is nothing to do with your XP partition. Now when you use the DD command you will get a correct boot image and once copied to c:\ drive on XP (and added to your c:\boot.ini file) then choosing RedHat9 from the XP boot screen will actually boot Linux rather than generating the error.

Hope that is of use to someone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 01:26 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM
Redhat 9 & winxp dual boot -xp won't boot opivy Red Hat 3 01-02-2004 02:08 PM


All times are GMT -5. The time now is 10:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration