LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-23-2005, 12:55 PM   #1
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Rep: Reputation: 16
Not booting into windows!!


problem
I had dual boot (FC3 and Win XP) and the windows doesnt boot up.

Error Message
rootnoverify (hd0,2)
chainloader +1

fdisk configuration
Disk /dev/hda: 10.0 GB, 10005037056 bytes
255 heads, 63 sectors/track, 1216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 510 4096543+ 5 Extended
/dev/hda2 * 511 1216 5670945 c W95 FAT32 (LBA)
/dev/hda5 1 510 4096512 b W95 FAT32

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1288 10241437+ 83 Linux
/dev/hdb3 1289 1364 610470 82 Linux swap
/dev/hdb4 1365 2630 10169145 5 Extended
/dev/hdb5 1365 2630 10169113+ 83 Linux
grub.conf
title Fedora Core (2.6.9-1.667)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Windows XP Proff
rootnoverify (hd0,2)
chainloader +1
I think the grub.conf file is correct. This worked perfectly as it shows in the grub. The error started to occur when i formatted one of the partitons (/dev/hda5 )using windows disk manager.Could someone suggest me a solution please?
I would appriciate for your help and time.
Kind regards Azzath
 
Old 03-23-2005, 01:24 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Partition (hd0,2) is not showing up on your fdisk -- it should be there as /dev/hda3. What is the output of
Code:
fsdisk -l /dev/hda
Cheers,

mj
 
Old 03-23-2005, 01:29 PM   #3
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
[root@localhost ~]# fdisk -l /dev/hda

Disk /dev/hda: 10.0 GB, 10005037056 bytes
255 heads, 63 sectors/track, 1216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 510 4096543+ 5 Extended
/dev/hda2 * 511 1216 5670945 c W95 FAT32 (LBA)
/dev/hda5 1 510 4096512 b W95 FAT32

cheers mj.
 
Old 03-23-2005, 01:37 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
I think you've buggered hda

Hda1 and hda5 overlap (matching start sectors, slightly different end sectors), and no mention of hda3 at all. If you had important data on hda1 through to hda5, then you could try and recover it, but otherwise IMHO you'll probably have to repartition /dev/hda using cfdisk (under linux).

Windows probably didn't recognise the ext partition on /dev/hda, and just wrote over it (along with hda3, which is rather odd) when formatting hda5. The last thing you could try is to boot /dev/hda5 (using (hd0,4) in your Grub menu.lst) and see what happens. Your old XP data may possibly still be there.

Good luck !

Cheers,

mj
 
Old 03-23-2005, 04:59 PM   #5
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Hello mj thanks mate, but i could only access the docs i had in my windows partition but i couldn't make it boot up. I think i will re install my windows and i need to organize the partitions methodically and i'm not really good @ it. I am still trying to have 3 linux distributions and i can make it all to boot up.
Have you done something like this before? I mean have 3 distributions to boot up in 1 HD ?
Cheers for all your help.
Regards Azzath.
 
Old 03-23-2005, 08:38 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Yes, I currently have two hard drives - one SATA for windows (hardly used) and one IDE for linux (SuSE, two installations of Debian, FreeBSD and Redhat - latter two hardly used also). The perils of cheap storage these days

It's no problem to manage, but I do recommend...
  1. Keeping windows and Linux on separate drives, if possible.
  2. Put the bootloader (particularly if using Lilo) on whichever partition/distribution that you use the most. Don't use the windows boot loader unless you're absolutely desperate.
  3. Install windows first, and if you're using two hard drives, unplug your Linux one before beginning the install. Then when finished, set your one Grub.conf/menu.lst/lilo.conf to handle the boot menu for the whole system.
Cheers,

mj
 
  


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
windows not booting from Cd inspiredbymetal Linux - General 1 10-13-2005 11:36 AM
Booting up windows!! Azzath Linux - Newbie 8 02-26-2005 08:53 PM
Multi-Booting Windows XP, Windows x64 and SuSE 9.1 nemofreak Linux - Newbie 6 01-24-2005 06:12 PM
Booting Windows fiod General 3 06-12-2004 04:22 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM

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

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