LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2004, 01:51 AM   #1
b00nk1an
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Dual booting problem again!!


Originally I have a machine with 2 HDD and I am using win xp and win 2k

HDD1
c: xp
d: data
e: win2k
f: data

HDD2
c: 2k

then i came across mandrake 9.2 and decided to give it a shot!
Hence I happily followed all instructions and installed it and replaced the winxp partition.

Then when mandrake works absolutely fine, I discovered to my horror that my win2k now no longer boots up !!

Can anyone help me to get back my win2k partition ?? thank a lot in advance!!


Below is my lilo.config,

boot=/dev/hda
map=/boot/map
vga=normal
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/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe devfs=nomount acpi=ht resume=/dev/hda5"
read-only
other=/dev/fd0
label="floppy"
unsafe
other=/dev/hda6
label="windows_II"
table = /dev/hda
other=/dev/hda7
label="windows_III"
table = /dev/hda
other=/dev/hda8
label="windows_IV"
table = /dev/hda
 
Old 05-25-2004, 04:10 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
could you give the output for
/sbin/fdisk -l /dev/hda
 
Old 05-25-2004, 04:40 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
This is most likely because Windows bootloader was in your c:\, when you install multiple copies of winxk/xp they will use existing bootloader when detected.
You can try boot with win2k CD and do a repair startup environment, though I don't think it'll work since it'll probably try to write to the previous c: which is now occupied by Mandrake.
Does anyone know an easy way to modify the system partition(ie the one with ntldr) in win2k/xp?

If you're desperate to boot into win2k to get your work done or something, you can use a bootdisk.
 
Old 05-25-2004, 05:12 AM   #4
letdoit
Member
 
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
I assume you configure your bootloader correctly, then please answer yourself some questions

Can you boot into windows XP? If yes, Windows XP will recognize your W2K partion.Unfortunately, you can't see it, this partion might be set to hidden in some reasion. Using Partition Magic tool from Dos (loaded before "LILO) to unhide it. (there are words to explain why it be hidden)
 
Old 05-25-2004, 10:10 PM   #5
b00nk1an
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
fdisk results

Hi all,

Really thank a lot for the replies !!


The fdisk result is :

[root@localhost sbin]# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1084 8195008+ 83 Linux
/dev/hda2 1085 5169 30882600 f Win95 Ext'd (LBA)
/dev/hda5 1085 1356 2056288+ 82 Linux swap
/dev/hda6 1357 2720 10311808+ 7 HPFS/NTFS
/dev/hda7 2721 4084 10311808+ 7 HPFS/NTFS
/dev/hda8 4085 5169 8202568+ b Win95 FAT32


More info: I now no longer have win xp ... it has been replaced by mandrake.
Also the partition I wanted to boot into (Win2K) is /dev/hda7/

Thank a lot in advance

bk
 
Old 05-25-2004, 10:11 PM   #6
b00nk1an
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi all,

Really thank a lot for the replies !!


The fdisk result is :

[root@localhost sbin]# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1084 8195008+ 83 Linux
/dev/hda2 1085 5169 30882600 f Win95 Ext'd (LBA)
/dev/hda5 1085 1356 2056288+ 82 Linux swap
/dev/hda6 1357 2720 10311808+ 7 HPFS/NTFS
/dev/hda7 2721 4084 10311808+ 7 HPFS/NTFS
/dev/hda8 4085 5169 8202568+ b Win95 FAT32
 
Old 05-26-2004, 03:55 AM   #7
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
I believe thatwin2k requires the partition to be active.
something like
---------------
# /sbin/fdisk /dev/hda

Command (m for help): a
Partition number (1-8): 7

Command (m for help):w
...
Command (m for help):q
-----
#reboot
 
Old 05-26-2004, 04:12 AM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
I believe thatwin2k requires the partition to be active.
Nope it doesn't

b00nk1an:
Check and see if these 3 files, boot.ini, ntldr and ntdetect.com, exist in any of the partitions accessible by Win2k(ie fat32 and ntfs partitions). If you can't find them, don't bother fiddling around with lilo.conf it won't work. Try what I suggested in the previous post.

Last edited by Demonbane; 05-26-2004 at 04:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem dual-booting with XP fcgriz Mandriva 5 03-01-2005 10:00 PM
Dual-Booting Problem patrickclay Linux - Newbie 1 10-15-2004 04:31 PM
Problem When while booting into dual OS salai Linux - Networking 1 07-26-2004 05:05 AM
Dual booting problem lak Solaris / OpenSolaris 1 01-08-2004 07:49 PM
Problem with Dual Booting isuckwithlinux Linux - Software 2 11-08-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration