LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-25-2005, 08:33 PM   #1
endmeans
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Install Nightmares- Xp and Mandriva both wont boot


Hi,

Had XP installed and working normally. Then decided to dual boot with Mandriva LE 05 so used partition magic to set up 2 other partitions. One that had the EX2 file system (used as mount / ) and the other was of course a swap. Then the remaining was the NTFS partition (to be resized). The partion process seemed to have no problems.

So the install went fine and it linux booted fine for the first time. Then, I did a routine restart and niether XP or Mandriva will boot! Grub shows up, but when selecting windows the logo screen appears and then it comes to a screen saying "XMT2002- PROGRAM NOT FOUND and AUTOCHK- PROGRAM NOT FOUND. SKIP AUTOCHECK" and then just sits there. If I try to boot normally into Mandriva from grub, it brings up a console-type window that has the OS name at the top and it just says localhost login-- so I type in my username and it tells me the time of last login and just goes to a normal console prompt. I don't know what command to get it to boot up in GUI mode. So the actual boot process of linux seems okay, it just dosen't bring up the GUI/KDE logon. What is the command to logon from just a console window and how do I get it back to booting in GUI mode?

So what I've done so far: I tried putting in the rescue disk and telling it to reinstall the boot loader- that did nothin for either OS. I also tried to restore the windows boot loader and then when the computer restarts it just says BAD IPL. So then I went back and reinstalled the linux bootloader again and its doing the same things listed in the last paragraph.

My main questions/problems are:
-How do I get xp restored so it dosent say that it cant find those 'programs'
-How do I get Mandriva to boot in GUI mode again? (Also, before the first reboot I changed the screen resolution. Don't know if that makes a difference)

THANKS!

-Eric
 
Old 07-25-2005, 08:36 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
If you get to the console again, try typing startx.
 
Old 07-25-2005, 08:40 PM   #3
endmeans
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Tried, but then it just asks for a password. Niether my username or root password will work
 
Old 07-25-2005, 10:32 PM   #4
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Rep: Reputation: 15
2 Cents: Reinstall LE2005, and when you are in the last step of the install setup where it lists the hardware of your PC, like keyboard, monitor, etc, look for Monitor I think it was and setup the Video Card, like the resolution and all. And make sure you mark the checkbox that says "Start Mandrake with Xorg blah blah" or something like that. Then it SHOULD work, by the way in the Console for login you type root as username and the password that you made for root, then type startx (in case you dont want to reinstall LE2005), also try reinstalling Glub, if it doesnt work Mandriva can install other bootloaders.

Hope it helps!
 
Old 07-25-2005, 10:39 PM   #5
endmeans
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Hmmm, when I tried the startx it said 'Failed to load module "/usr/x11r6/lib/modules/extensions/libglx.a" "open /dev/fb0: No such file or directory, No devices detected" and then "fatal server error: No screens found" I assumed it was a problem with the video/resolution so I reinstalled and its fine.

I'm still looking for a solution to xp sucking and not booting. Any ideas? It seems linux destroyed the windows MBR. Im considering doing a 'repair' installation off the cd but I dont know if that would work.

(P.S. I have lilo, not grub. my bad)

Last edited by endmeans; 07-25-2005 at 11:32 PM.
 
Old 07-25-2005, 11:37 PM   #6
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
When partitioning, best to have your windows partition first, the linux partitions last, linux can be anywhere, windows is unhappy if it is too far from the beginning....at least it used to be a problem. Sounds like your windows partition is hidden, using your partition magic, you can "unhide" it and make it "active". It should then be fine to boot.

As far as Mandriva goes, no need to reinstall, login as user (and user password). Issue the command "su" without quotation marks and give (root password when promted). Next issue the command "XFdrake" without the quotation marks , this will bring up the utility to set up your graphics, when you choose the driver be sure to use the "test" button to make sure your set up works prior to saving it. You did not say what your graphics card is but an nvidia card will use the "nv" driver, ati will use the "vesa" driver, and I believe "vesa" will actually drive nearly any card. Once you set that up, the command "startx" should send you to a graphical user interface where you can find "configure your computer" under system>configuration in the menu. The password it wants when starting is root password not user. When that fires up, highlight the tab labeled "boot" on the left and you will see "enable autologin and select the user to automatically log in". Click on that and set it up, and then welcome to linux.

Edit: Ok, I see you did an edit, glad you got linux up and running, I would suggest you check that your windows partition is not marked as hidden and is marked as active using partition magic before messing with installing windows mbr. Not sure if XP can boot linux, but I assure you if your partitions are marked properly grub and lilo can boot both.

Last edited by Lakota; 07-25-2005 at 11:44 PM.
 
Old 07-25-2005, 11:43 PM   #7
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Rep: Reputation: 15
Well, you could try another bootloader with Mandriva. the Install Setup lets you select, and if you go to System->Configuration->Configure your PC, you can browse in the menus and look for the Bootloader item (when it asks for a password, its the password you selected for Root) and change the Bootloader from there and see if it works. If it doesnt work you could try reinstalling WinXP, but I think the reinstalling will overwrite the bootloader thus not showing the Linux option, just going straight to WinXP. In that case make a "fake install" of Mandriva, which means dont reinstall any of the components and just reinstall the boot loader. Also, if you do this method, make sure you DONT select the "New Installation" option, but the other one that says Reinstall or Update your Current Version (or something similar) and then skip the installation of the packages and just reinstall the bootloader.

Then check if both WinXP and Mandriva load. My 1st time with Mandriva I had the very same problem as you, I overlooked the X11 setup and it only showed the console. Thankfully I managed to get around it on my own, and then I reinstalled it and made sure that X11 booted along Mandriva everytime (but WinXP still worked... but I have never touched WinXP since I installed Mandriva).
 
Old 07-26-2005, 12:08 PM   #8
endmeans
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Alright, I got them all fixed. It turned out the NTFS partition was hidden, so I used grub temporarily and edited the command line to unhide it. Then XP booted fine and am able to use Lilo again to boot both. I'm sure lots of other people have this problem, becuase partition magic never unhides it automatically.

And the reason the original installation of Mandriva wouldn't go into GUI mode was becuase the screen resolution I selected wasn't supported. This is a widescreen laptop, so the only resolution Mandriva will support is 1024X768. Which is too big for my liking, I'd rather have it at 1280X800. Oh well.

Thanks for all your help.
 
Old 06-12-2007, 03:20 PM   #9
wcole@optaros.com
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
Could you give more details?

I have this problem today and I need to get this fixed. I have no idea what you mean when you say I used Grub ?? how and what did you do on the command line? how did you get into windows xp to get the command line etc. please be as detailed as possible. I've gotten myself into a real mess and would like to find a way out.

Thanks!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
My Mandriva wont boot and neither will WIN XP pro. ipodlinux Mandriva 17 12-04-2005 12:22 PM
Mandriva LE wont boot? f34r7h1s Mandriva 4 08-31-2005 06:53 PM
Cant Install Mandriva 10.2 USB Mouse Wont Work, Please Help Anthony1uk Linux - Hardware 0 06-04-2005 08:20 AM
Multiple Boot Nightmares!!! 92GTA Linux - Software 24 06-08-2004 09:57 PM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:14 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