LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-21-2004, 07:16 AM   #1
tool
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Exclamation (Urgent) Mdk 10, WinXP boot faliure


Okay, I really need help - I had windows XP installed on C:\ (first partition - hda1) and have installed Mandrake 10 on hda9.

Right, I am using LILO as my bootloader (but get a problem with Grub too) and cannot boot into windows.

What happens:

-LILO: Locks completely after windows has been selected and pressed.
-GRUB: (Now this could be the problem) tells me that the filesystem is unrecognisable

The filesys of C is, of course, NTFS

Here is my lilo.conf
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda
install=menu
default="linux"
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label="linux"
	root=/dev/hda9
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hda6 splash=silent"
	vga=788
	read-only
image=/boot/vmlinuz
	label="linux-nonfb"
	root=/dev/hda9
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hda6"
	read-only
image=/boot/vmlinuz
	label="failsafe"
	root=/dev/hda9
	initrd=/boot/initrd.img
	append="failsafe acpi=ht resume=/dev/hda6 devfs=nomount"
	read-only
other=/dev/hda1
	label="windows"
	table=/dev/hda
other=/dev/hda1
	label="winxp"
other=/dev/fd0
	label="floppy"
	unsafe

I remind you that I'm pretty much a lin n00b (not a win noob ).

Please help, as I really need my Windows!!!!


Edit: I think the MBR is completely screwed up, I re-installed windows (2000), formatting my C: (first) partition. This didnt work, I don't think it even touched the MBR

So I went into the 2k Recovery console and ran fixboot and then rebooted. Still no help, it locks as soon as it tries to boot win :'(


So I don't know what to do - has XP locked the MBR as it is???????

Please help!

Last edited by tool; 03-21-2004 at 09:06 AM.
 
Old 03-21-2004, 09:47 AM   #2
gr00ve
Member
 
Registered: Jan 2004
Location: varies
Distribution: Blag, Slackware
Posts: 36

Rep: Reputation: 15
:(

If u had win xp then installed linux & then reinstalled win 2K chances are you completely f*k yer MBR
With mandarake you should use recovery when booting from install cd's
and to go back to windows u will need some sort of bootable floppy + format command, boot into prompt and do format c: /mbr (not sure if this is exact command but try format /? or -?
anyways i dont think that lilo will work with double boot with Xp... I only suceeded with Grub from Drake 9 and XP, 2 weeks later i was running Red Hat
no draky draky
 
Old 03-21-2004, 09:53 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/hda1
label="winxp"
If you look at the above quote from your /etc/lilo.conf you seem to be telling lilo that you've got 2 versions of windows in the same place.

Hence it appears that it's looking for 2 OS's in the same place on /dev/hda1

So, unless you do have 2 different versions of windows installed (which I feel is a little pointless), you should edit your lilo.conf and take out which ever you want. If you prefer, you can always remove the 2nd "other" bit that's labelled winxp and then just change the label of the first one.

don't forget, if you do edit, you'll need to run /sbin/lilo as root to make the changes official

regards

John

edit- p.s. If you do have 2 versions of windows installed you should just change it so it can see which is which i.e. /dev/hda1 and /dev/hda2 - which should have the same result as what I said above -/edit

Last edited by bigjohn; 03-21-2004 at 09:55 AM.
 
Old 03-21-2004, 10:11 AM   #4
tool
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Don't worry about hte double entry - that was just a test you see, and I have worked out that it is the MBR that is completely messed up.

I tried re-instaling with 2k but it seems it wont touch the MBR whatever.

I have tried fixmbr <installing win2x> fixboot.

Now when I boot it tells me that it cannot load Operating System.

Nice.

I have re-installed Lin loader (with recovery) and am posting here. It looks like the MBR has become locked somehow :S


Edit:I REALLY REALLY need a nice 2K boot floppy. If anyone has such a thing can they PLEASE copy the files into a zip or tarball and upload somewhere. This is because I cannot get into windows at all and therefore cannot make a boot floppy!

Last edited by tool; 03-21-2004 at 10:17 AM.
 
Old 03-21-2004, 11:26 AM   #5
tool
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I really hope this dont slip............
 
Old 03-21-2004, 02:30 PM   #6
captain_mellow
LQ Newbie
 
Registered: Mar 2004
Location: dallas or arlington, tx
Distribution: Mandrake 10
Posts: 1

Rep: Reputation: 0
i have the same problem...
you can do fdisk /mbr. according to what i read this should not erase the partition table, so your linux and windows should be safe. i'm stressing should because this is from what i read. the only times i've done fdisk /mbr were when i didn't care about saving my partitions. and beyond that restore your windows with fixboot and linux with a rescue cd and hope that this works.
if anybody has any more information about this or whether this would work please share, thanks

ps. also check out this thread: http://www.linuxquestions.org/questi...disk+microsoft

UPDATE:
ok, i got my windows working
i used program called MBRWiz that i read about in one of this board's threads. it didn't fix the problem entirely, but at least rewrote mbr. then i had to repair windows and now it works.
i'm left without Mandrake tho, because it hangs on installation, ehh...

Last edited by captain_mellow; 03-22-2004 at 12:00 AM.
 
Old 03-22-2004, 02:14 PM   #7
mongko
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
I just know that lilo can only boot within 1023 cylinder boundary, so within 8G boundary. Make sure your hda9 is located within that boundary.
To be precise the /boot where the linux boot should be in that boundary.

Now for the problem windows xp can not boot up now because mbr is
screwed.
I happened to get exactly the same situation, although with different reason.
I have windows XP on /dev/hde1, and 10.0 on /dev/sda3.
Everything went smoothly when I instaled 10.0.
I can boot to windows xp and linux no problem and I have it for several
days until last night.
I can see the windows partition from linux.
So last night I try to access some of my pictures in windows partition
from linux. And this is when the problem comes. The next time I want to
boot to windows and it would not let me in.
I try to bring partition magic, and it will not able to recognize the /dev/hde
anymore. Not only that the windows xp install CD can not recognize that as well, and the install CD always crashed and can not let me in to its recovery mode.

Now this is what I do. It might help you. No guarantee.
The only thing I can do is to go back to linux 10.0. The linux tell me that my windows is now reside in /dev/hde4, instead of /dev/hde1 as usual.
To fix this problem , I run drakx to shrunk the windows partition, so that
I will be able to create a dummy linux extended partition /dev/hde1 and /dev/hde5.
Then I run linux fdisk, and reorder the partition name. It did it, and put
my windows partition back to /dev/hde1 and nicely change the extended
partition to /dev/hde4 and /dev/hde5.
This might sound crazy but it is true. The next time I did is the windows XP install CD now can let me in into its recovery mod. From there I run the chkdsk to make sure everything is recover and OK. Then I run the fixmbr command to make sure the windows loader is back.
Now I can get back to windows xp. I lose nothing on my windows.
Everything is still perfect. And I can still get back to linux too.

Now to mandrake 10.0 admin:
Why accessing files in windows from linux can move windows partition to /dev/hde4 ?
The ntfs file system is mounted ro to linux. So teoretically nothing can be
written into it right ?
I think 10.0 is still a crap software.
 
Old 03-22-2004, 04:13 PM   #8
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
change harddrive access to LBA in bios
 
Old 03-22-2004, 04:31 PM   #9
mongko
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
My harddrive access is already in LBA.
Both seagate in /dev/hde and maxtor in /dev/sda, all of them using LBA
access.
 
Old 03-22-2004, 04:58 PM   #10
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
oh sorry
i just installed mandrake 10
flawless install
xp still boots
absolutely NO problems at all

must be a hardware thing

apologies
 
Old 03-23-2004, 03:20 PM   #11
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Try "Fdisk /mbr" and not format /mbr
 
  


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
WinXP won't boot after installing MDK 10.0 suterb Mandriva 184 10-05-2004 12:00 AM
How to boot mdk 10 from winXP bootloader? them@ster Mandriva 2 06-01-2004 01:07 PM
REALLY Urgent quesiton on MDK 10 TigerCardeo Mandriva 5 03-06-2004 07:26 AM
MDK 9.1 Crashed again, QT3? Please help...Urgent B4 I hit the bottle!! MadLee Linux - General 4 04-13-2003 08:17 AM

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

All times are GMT -5. The time now is 03:10 PM.

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