MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.