LinuxQuestions.org
Visit Jeremy's Blog.
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 02-24-2005, 05:36 AM   #1
suguname
Member
 
Registered: Jan 2005
Location: chennai
Distribution: mandrake
Posts: 70

Rep: Reputation: 15
Red face win xp gone after mandrake 10.0


HI,
first i had windows xp,after the mandrake 10.0 installation LILO works well.
but when boot to wndows xp there is a error

ntldr file missing
press any key to reboot

enter through the linux and i see that windows having ntldr file .....

now to boot through xp ....please help me i have so many data...
 
Old 02-24-2005, 07:59 AM   #2
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Hi,
Possibly lilo overwrote the MBR..There are many ways to get your MBR back..The easiest would be to use a win98 start up disk and boot into it..When at the A:\ prompt type"fdisk/mbr" no quotes..This will restore your windows MBR..However you will not be able
to boot back into Linux ...So I would first find a way to boot linux ie: create Linux boot floppies..Other ways are to repair lilo or use grub to dual boot..Lastly you can get third party software such as Vcom's system commander to multiboot..I am sure there are even easier ways so lets see if others can suggest something better...
Goodluck,
jolphil
 
Old 02-24-2005, 01:03 PM   #3
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
The problem here is most likely Mdk10.0. If you did a normal installation, letting the installer create the partitions for you, it screwed up your partition table.

There was a bug with the aerly versions of the 2.6 kernel and the ntfsresize tool that most distros use. Because you installed Linux using it, it works fine there, but Windows expects to see a different scheme in the partition table, and aborts on startup.

The *fix* is to make a boot floppy to boot your Mandrake from temporarily, and then get out your Windows CD and boot from it and run "fixmbr" (or "fdisk /mbr"). Then boot back into Linux using your floppy, and rerun lilo. If that *doesn't* fix it, report back here and we can dig deeper.

Edit: this bug was fixed in Mandrake 10.1, and other contemperaneous distros.

Last edited by Padma; 02-24-2005 at 01:05 PM.
 
Old 02-25-2005, 01:19 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
sir now i can see the LILO it loads the linux (mandrake 10.0)
when i chose windows the out put is
a disk read error has occured
press CTRL+ALT+DEL tp reboot

using the win98 boot floppy
A:>fdisk /mbr
A:>

i done when i reboot it the same error has come.
when i give
A:>fixmbr
bad command or file
A:>fixboot
bad command or file
 
Old 02-25-2005, 01:35 AM   #5
Gato Azul
Member
 
Registered: Sep 2003
Location: /dev/null
Distribution: CentOS, Ubuntu
Posts: 128

Rep: Reputation: 16
ntldr is the file that starts loading Windows XP. You're not going to be able to use a Win98 boot floppy to restore ntldr because it uses different technology than Windows XP to boot up (Io.sys instead of ntldr). I'm guessing LILO overwrote it, but all is not lost! You can set up LILO to dual boot or else if you install LILO to the Mandrake partition you can use another boot loader such as GAG to dual boot. I personally use GAG and like it a lot, but there are other programs too like the ones mentioned before. GAG is free software, however, and it just so happens to be free as in price as well It installs to the MBR and it's really simple to add/remove operating systems from the boot list. You might want to check it out!

edit:
If you do want to restore the XP loader (ntldr) and overwrite LILO (rendering Mandrake unbootable from hard drive means), then you can use your XP install cd in recovery mode. Then you can run your fixboot and fixmbr.

Last edited by Gato Azul; 02-25-2005 at 01:38 AM.
 
Old 02-25-2005, 02:10 AM   #6
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
So Mr Bruse, Suguname or Navaladi do you have any more aliases?

Could you please drop all but one or at least stick to using one per thread (and don't post the same questions
from multiple users as you did here http://www.linuxquestions.org/questi...hreadid=294298
and here http://www.linuxquestions.org/questi...hreadid=294255).

- Peder
 
Old 03-18-2005, 06:21 AM   #7
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
The problem wasn't ntfsresize but Parted. Windows boot problem occurs if one edited the partition table by Parted/libparted version less than 1.6.12 based partitioning tool. This is especially true if a Linux 2.6 kernel was used. The Linux 2.6 kernels report different disk geometries as previously for the same disk an incompatible way therefore fooling softwares like Parted. Unluckily many partitioning tools weren't adjusted accordingly thus in some cases they might render Windows unbootable and even your data inaccessible by saving an incorrect partition table. Known major distributions having this problem are but not limited to Mandrake 10, SUSE 9.1, Fedora 2.

But it's right that Mandrake fixed this filesystem independent, partitioning problem in DiskDrake. The solution is here:
https://qa.mandrakesoft.com/show_bug.cgi?id=7959

Last edited by igu; 03-18-2005 at 06:23 AM.
 
  


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
Mandrake 10, Win SMB (Not...) rickg17 Linux - Networking 7 11-01-2004 06:01 PM
Mandrake 9 and win xp Sympatico_ Mandriva 2 09-27-2004 10:04 PM
Win XP + Mandrake 10 Mike5555 Linux - Networking 2 05-08-2004 04:30 AM
Mandrake 9.2 & Win XP cyberkat75 Linux - Newbie 4 03-25-2004 10:16 AM
Win Xp & Win 2000 & Mandrake 9.1 (ntoskrnl missing for xp) mcbaboon Linux - Newbie 8 10-14-2003 09:34 AM

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

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