LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't boot my operating system (https://www.linuxquestions.org/questions/linux-newbie-8/cant-boot-my-operating-system-471039/)

TheKoE 08-05-2006 10:10 AM

Can't boot my operating system
 
I resized my Windows partition recently and afterwards I could not get a dual boot loader - I only get a command line interface starting "GRUB version 0.93 (636K lower / 1039182K upper memory). I tried repairing my MBR by running Window's restoration, but in the Setup process I get a blue screen that spits out some hex and pci.sys. Any ideas on what I can do? Thanks a lot for your help!

jstephens84 08-05-2006 10:28 AM

If your grub is not working you can always use a live cd and boot up that and repair grub from their. or you can boot up a windows disk and go into recovery console and issue a fdisk /mbr(Which I think will rewrite the current boot loader with a dos based one.) Then use the live cd to reinstall grub again. Those are the only two I know of unless I am reading your problem wrong.

TheKoE 08-05-2006 10:48 AM

Hey, thanks for your reply. I would have tried to reinstall MBR through a Windows Setup disk, but setup crashes out into that blue screen (spitting out hex and the pci.sys file) before I get an option to load the recovery console. Any suggestions?

jstephens84 08-05-2006 10:52 AM

Ok, I see do you happen to have a windows 98 cd laying around. Try that and if you don't then you can make a 98 boot disk from here. Let me know what happens then.

pixellany 08-05-2006 11:14 AM

Quote:

Originally Posted by jstephens84
Ok, I see do you happen to have a windows 98 cd laying around. Try that and if you don't then you can make a 98 boot disk from here. Let me know what happens then.

How did you see that OP had Win 98???

If the system will not boot up from a Windows install CD---and run the setup routines, then there may be something more basic wrong??

btmiller 08-05-2006 02:04 PM

Maybe -- I've seen the Windows setup routines crash when they encounter a partition type they don't understand. The most probably reason that the OP gets the GRUB command line interface is that GRUB can't find its root partition (usually the /boot partition of the Linux system, but otherwise / if there is no separate /boot partition). Fortunately, you can just enter the booting commands on GRUB's commnd line -- usually something like:

kernel (hd0,0)/vmlinuz
initrd (hd0,0)/initrd
boot

This assumes /boot is the first partition of the first hard drive (hda1 or sda1). If you know your Windows partition is hda2 (hd0,1) then you can usually boot Windows with:

root (hd0,1)
chainloader +1

To chainload the Windows boot loader and go on and boot into Windows. Once you've booted into Linux you may need to re-install GRUB so it knows where to look for the menu.lst and its other config files. What I'm guessing happened is that you moved these when you resized your Windows partition and GRUB now no longer knows where to look for them. You can also use a LiveCD to do this as suggested above.

jstephens84 08-06-2006 12:29 AM

Quote:

Originally Posted by pixellany
How did you see that OP had Win 98???

If the system will not boot up from a Windows install CD---and run the setup routines, then there may be something more basic wrong??

Missing punctuation mark.


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