LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-30-2006, 01:12 PM   #1
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Rep: Reputation: 0
Dual Boot! I cant' boot Windows


I have just install Fedora Core 5 and then I realised that I lost Windows partition. How can i fix this problem?

Thanks
 
Old 09-30-2006, 01:17 PM   #2
JiYu
LQ Newbie
 
Registered: Sep 2006
Location: Germany
Distribution: FreeBSD
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by christodoulos77
I have just install Fedora Core 5 and then I realised that I lost Windows partition. How can i fix this problem?

Thanks
You lost the partition or have no grub entry to boot windows? What say "fdisk -l"?
 
Old 09-30-2006, 01:17 PM   #3
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Rep: Reputation: 15
check the output fdisk -l as root, if the partation really broken.
 
Old 09-30-2006, 01:26 PM   #4
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lavluda
check the output fdisk -l as root, if the partation really broken.
This is what I get with fdisk -l

Disk /dev/sda: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 2465 14596 97450258+ 17 Hidden HPFS/NTFS
/dev/sda2 * 1 13 104391 83 Linux
/dev/sda3 14 2464 19687657+ 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19456 156280288+ 7 HPFS/NTFS

Disk /dev/dm-0: 19.0 GB, 19058917376 bytes
255 heads, 63 sectors/track, 2317 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1040 MB, 1040187392 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
 
Old 09-30-2006, 01:44 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Looks like /dev/sdb1 is your missing Windows partition. You should have an entry in your /boot/grub/menu.lst that looks something like this

Code:
title Windows
   root (hd1,0)
   chainloader +1
You can add it in if it's not there. This will hopefully tell GRUB how to boot your Windows install.
 
Old 09-30-2006, 02:11 PM   #6
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
/boot/grub/menu.lst
Code:
title Other
	rootnoverify (hd1,0)
	chainloader +1
Should I change "rootnoverify" with "root" ?
 
Old 09-30-2006, 02:15 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
It should work with rootnoverify. If it does not, post the error you get when trying to boot this entry.
 
Old 09-30-2006, 02:25 PM   #8
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
This is what I get when I'm tring to boot Windows
Code:
Booting 'Other'

rootnoverify (hd1,0)
chainloader +1
 
Old 09-30-2006, 03:25 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
So it hangs at that point? Can you still boot Windows using a boot disk? If not, there might be some problem with the partition boot section. What versions of Windows do you have? I recall reading that some older Windows version won't boot off of a secondary hard drive (I'm not sure, though, as I don't use Windows much).
 
Old 09-30-2006, 04:15 PM   #10
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Question Expected location of XP partition, Type of FC5 install. was BL installed to MBR

On which & Where on the 2 HDD avail did you think have M$ Windoz, Is it XP SP2 w/ last WinUpdates? I wonder results if you did as U asked in 15:11 post. IMHO Seems to work better if the Linux BL is installed to its own partition vs MBR when DB XP & Linux distros.
Try Recovery option w/ Win CD. When that failed I still had good luck with GAG46 aka Graphical Boot Manager. A LQ Search in success has all the info. GL d8d

Last edited by digital8doug; 09-30-2006 at 04:17 PM.
 
Old 09-30-2006, 10:10 PM   #11
Hailey's_Comet
Member
 
Registered: Jul 2005
Location: USA
Distribution: PCLinuxOS
Posts: 36

Rep: Reputation: 18
your win boot block...

you need to find a bootable win install disk for your system...

boot to the disk and enter a recovery prompt/console. then type 'help' and look for something similar to 'fixboot', then type that. I had that problem with win2k after adjusting my partitions.
 
Old 10-01-2006, 06:20 AM   #12
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I have already try "fixboot" but I lost also Linux. The Windows recover prompt was G:\ Then I boot again with Windows recover and my prompt was F:\ and I "fixboot" F:\ & C:\
I can boot in Linux now again but not in Windows. I still have the same problem. I have WIndows XP SP2
 
Old 10-01-2006, 12:50 PM   #13
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
So? I lost Windows? ? ?
Thats all?
Any sudjestions?

Help me!
 
Old 10-01-2006, 11:48 PM   #14
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Let's try and figure out if your Windows partition is still intact. Follow these instructions to get NTFS support on Fedora (you can ignore the part about modifying /etc/fstab). Then try (as root):

mkdir -p /mnt/windows
mount -t ntfs -o ro /dev/sdb1 /mnt/windows

Does this work? Can you see your Windows files under /mnt/windows? If so, then at least we know your data is OK and maybe you can copy it off and try reinstalling if we absolutely can't get this working. If not, then it looks like Windows might, unfortunately be totally hosed. Note in the above I mounted the Windows partition read-only since from what I understand writing to NTFS might be somewhat risky.

Before trying this though, you mightwant to see if any of your rescue disks can "see" Windows. Also, you may find it useful to download and boot System Rescue CD. I've never used it much, but it should be able to detect your NTFS Windows partition and read the files on it if it's still intact.

Do you remember how you did the install? Did you ask the partitioner in the Fedora installer to do anything other to format your Linux partitions on sda?

Good luck! I hope this is of some help...
 
Old 10-02-2006, 01:05 AM   #15
christodoulos77
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Before I install Linux I run Partition Magic from Winows.
"Install another OS"
I choose Linux with about 19GB space and a swap.
The only think that may whent wrong is that Partition Mgig set my Linux partition "active" to intsall Linux imidiate (when I was going to reboot). But I did it at a later time.
Is this a reason to have this problem.
 
  


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 w/ WinXP Pro, Windows wont boot. bobbyj99 Linux - General 2 04-20-2006 01:27 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 03:00 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

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

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