LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-18-2004, 08:28 AM   #1
lala52
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Boot problems witn Mandrake 10 and Windows 2000


Hello All,

I am a v. new user to Linux and Mandrake. I installed Mandrake without any problems but on rebooting and trying to boot W2K using lilo, there was an error saying "missing or corrupt ntoskrnl.exe."

Before i installed linux this was how my partitions were:
C:\[FAT32] - formerly a windows XP partition but XP was removed before linux install. The boot.ini, ntldr etc files reside there.
D:\[NTFS] - WIN2K

As i still had data on the C drive, i told mandrake to resize the partition during install so that linux could fit in the free space. Now my partitions look like this from the konsole

> fdisk -l
Disk /dev/hda: 20.0 GB, 20003880960 bytes
16 heads, 63 sectors/track, 38760 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 17269 8703544+ c W95 FAT32 (LBA)
/dev/hda2 17270 38760 10831464 f W95 Ext'd (LBA)
/dev/hda5 17270 23469 3124768+ 83 Linux
/dev/hda6 28449 38760 5196996 7 HPFS/NTFS
/dev/hda7 23470 24484 511528+ 82 Linux swap
/dev/hda8 24485 28448 1997824+ 83 Linux
Partition table entries are not in disk order

I thought that maybe the problem was my boot.ini file now pointing to the wrong partition so i edited the file to point to the right partion for win2k but no success.

Here's also my lilo.conf and boot.ini files below. Is there something i have missed? How can i fix this?

Thanks in advance!



# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda7"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda5
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda7 devfs=nomount"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe

[boot loader]
timeout =30
default =multi(0)disk(0)rdisk(0)partition(5)\WINNT

[operating systems]
multi(0)disk(0)rdisk(0)partition(5)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
 
Old 06-18-2004, 08:48 AM   #2
sporadic235
Member
 
Registered: May 2004
Location: Osaka
Distribution: FreeBSD 5.2, Mandrake 9.2
Posts: 39

Rep: Reputation: 15
boot from your windows xp cd and go to the recovery console.
then type "bootcfg /rebuild" to repair it. hope this helps.
 
Old 06-18-2004, 12:24 PM   #3
lala52
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
sporadic235,


I have fixed on problem but here comes another!

Unfortunately i didn't have an xp rescue disk and i couldn't boot from my cd rom uning the win2k disk. I managed to have the W2k setup disks on floppy and used that to fix the mbr and then afterwards copy a new boot.ini file pointing to the right partition. Now thought it will only boot to the windows os. I also made the fatal mistake of not making a boot floppy for Mandrake during install! Is it just easier to redo the installation of Mandrake linux or can i still save the situation!


Thanks
 
Old 06-18-2004, 07:17 PM   #4
sporadic235
Member
 
Registered: May 2004
Location: Osaka
Distribution: FreeBSD 5.2, Mandrake 9.2
Posts: 39

Rep: Reputation: 15
well, if it's just a fresh install, i advise you reinstall again but this time, choose grub as the boot loader. it's easier to configure grub than lilo. one setback is that the grub package of mandrake is not so appealing as the one that fedora has.
 
Old 06-18-2004, 07:51 PM   #5
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
Quote:
Originally posted by sporadic235
well, if it's just a fresh install, i advise you reinstall again but this time, choose grub as the boot loader. it's easier to configure grub than lilo. one setback is that the grub package of mandrake is not so appealing as the one that fedora has.
So I guess MDK's version of grub does not support graphical menus?
 
Old 06-19-2004, 08:46 AM   #6
gfrog
LQ Newbie
 
Registered: Nov 2003
Location: denton tx
Distribution: mandrake 9.1, redhat 9
Posts: 10

Rep: Reputation: 0
on the windows partitions ACK! you should have used the built in partitiion software inside win 2k, resized the partition from there, i have found that when resizing windows partitions with mandrake it usually chews up your windows boot files, And make sure you always install win2k or winxp first before you install any linux distro...anyways hoped that helped
 
  


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
Dual Boot with Windows 2000 and Mandrake DJCyber Linux - Newbie 7 01-23-2005 05:03 PM
Can't boot Slack 10 CD but Windows 2000 CD does boot? net02 Slackware - Installation 3 10-18-2004 10:18 AM
Windows 2000 system want to load Mandrake 9.1 as dual-boot larryd Linux - General 2 03-09-2004 05:57 PM
boot problems with windows 2000 and redhat 9 durden2.0 Linux - General 13 08-21-2003 10:02 PM
Mandrake 9.0 + Windows 2000 kernel Linux - Software 3 05-02-2003 01:20 PM

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

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