LinuxQuestions.org
Register a domain and help support LQ
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 08-28-2004, 12:39 PM   #1
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Rep: Reputation: 15
Angry Mandrake 10 + Windows XP Boot problem


I just installed Mandrake Linux 10 onto a separate partition on the same hard drive as my Windows XP Pro partition.Now, whenever in GRUB I select to boot the Win XP installation I get the following message:

Booting "Windows"
root (hda0,0)
Filesystem Type Unknown. Patition Type 0x7
chainloader +1

How do I fix this? I've used the WinXP repair console and tried writing a new MBR, but neither works. I'm completely new to Linux, so go easy on the code.

Last edited by Le_Petit_Lapin; 08-28-2004 at 12:57 PM.
 
Old 08-28-2004, 01:19 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
>>>>>>>
Booting "Windows"
root (hda0,0)
Filesystem Type Unknown. Patition Type 0x7
chainloader +1>>>>>>>>>>>>>>>>

hi from this above comment
root(hda0,0)
shuld be
root(hd0,0)

also post ur /etc/grub.conf after u boot in to linux

regards
 
Old 08-28-2004, 01:29 PM   #3
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
umm....

There is no /etc/grub.conf that I can find.

I'm doing this right yes: Open terminal, # cd /etc , and then ls to list all files in the folder.

In the list theres nothing called that.
 
Old 08-28-2004, 01:41 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

look out for grub.conf in /boot/grub
or look out for /etc/grub.conf

regards
 
Old 08-28-2004, 04:47 PM   #5
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
This it?

timeout 10
color black/cyan yellow/cyan
default 4

title linux
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount acpi=ht resume=/dev/hda6 splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

title linux-nonfb
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount acpi=ht resume=/dev/hda6
initrd (hd0,6)/boot/initrd.img

title 263-7
kernel (hd0,6)/boot/vmlinuz-2.6.3-7mdk root=/dev/hda7 devfs=mount acpi=ht resume=/dev/hda6 splash=silent
initrd (hd0,6)/boot/initrd-2.6.3-7mdk.img

title failsafe
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 failsafe acpi=ht resume=/dev/hda6 devfs=nomount
initrd (hd0,6)/boot/initrd.img

title windows
root (hd0,0)
chainloader +1


If not then I am completely lost, I cannot find a grub.conf anywhere in my filesystems. I've searched through every folder, and there just isnt one.
 
Old 08-28-2004, 04:52 PM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hey
the windows entry should be like this
---------------------------
title windows
rootnoverify (hd0,0)
chainloader +1
---------------------------
u have one change on the "rootnoverify" line as compared to my grub.conf file
replace "root" by "rootnoverify"


edit it and restart ur system

see if it works

regards

Last edited by masand; 08-28-2004 at 04:54 PM.
 
Old 08-28-2004, 05:06 PM   #7
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
Now all it does is display:

title windows
rootnoverify (hd0,0)
chainloader +1

....then it stops working. Just hangs. Same as before but with the different wording.
 
Old 08-28-2004, 05:18 PM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
so check
if ur windows partion is active or not
by running
"fdisk -l"
u should see a * there
also post ur "fdisk -l" outout here

also see if u can boot windows if u remove ur grub

regards
 
Old 08-29-2004, 09:42 AM   #9
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
fdisk -l output:

Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 16260 8195008+ 7 HPFS/NTFS
/dev/hda2 16261 158816 71848224 f W95 Ext'd (LBA)
/dev/hda5 16261 142200 63473728+ 7 HPFS/NTFS
/dev/hda6 142201 144272 1044256+ 82 Linux swap
/dev/hda7 144273 158816 7330144+ 83 Linux


None of that means very much to me. I dont know how to remove, or replace, the GRUB so I havent done that.

Is there any way I can install Windows again, (clean format c: (hda1), leave d: (hda2) as my files are stored there? is it possible for me to get a copy of my windows regestry as a file in Linux, so I could save it to CD, then after re-installing Windows, I simply put the registry back, and all the programs (stored on D would work without being re-installed?

anyone?

Last edited by Le_Petit_Lapin; 08-29-2004 at 09:58 AM.
 
Old 08-29-2004, 09:59 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

----------------
to install grub grab the 1st of ur distro
go to rescue mode

#chroot /mnt/sysimage
and then
#grub-install /dev/hda

--------------

to remove grub to this

boot from a win98 cd
at the command prompt
#fdisk /mbr
will remve grub and rewrite the windows MBR to it


or boot from a winxp/2000 cd in to recovery console
and use "fixmbr"
--------------------------------------

befoe removing grub
u should try to see if u can go to rescue mode and run the grub-install command


also try this also
-------------------
title windows
rootnoverify (hd0,0)
chainloader +1
makeactive
------------------------

also i think we are mising something very small here, because all the options seeem exhausted to me here

regards
 
Old 08-29-2004, 10:39 AM   #11
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
Ok, Tried using "FixMBR" in the WinXP repair console, now the PC doesnt boot at all. Where GRUB used to come up all it says now is "Error loading Operating System", then hangs.

Running off a Knoppix CD right now (great idea, Knoppix, IMO), so, whats the next step?

I tried to re-install GRUB from the 1st CD, but there doesnt seem to be an option for recsue mode.

Would it be an idea to do a new instalation of Linux? (Theres Suse 9.0 + 9.1, Fedora Core 2, and Mandrake 10 Disks sitting here) and then see what can be done with Windows from there?

Or would it be a better idea to do a re-install of WinXP first? then get Mandrake 10 back with a new installation of GRUB? (still dont know how to re-install GRUB btw)

Also finally, is there any way of getting a copy of the Windows registry exported? That would make life so much easier.

Thanks.
 
Old 08-29-2004, 11:07 AM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
thats why i told u to check out the rescue mode first !!!!

if u cannot run windows now also then i think ur windows partiition is not active!!!
do one thing
boot witha win98cd/floppy
run "fdisk"
and then mark a partition active and restart

se if u can make this work

since if this does not work then too u will be having some problems later on(after a new install) ur windows partition should be active!!!!

also the best way is to install windows first and then go for fedora install....

fedora seems quite stable to me

regards
 
Old 08-29-2004, 11:33 AM   #13
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
I'm not particuluarly bothered that is not booting any operating system, I realised that all my important files are on the d: (hda2) partition, so if windows isnt working, then to hell with it, I'll just re-install the bugger.... (again).

The Windows partition IS marked as active. So it must be just Windows thats gone wrong somewhere. In any case I dont think I'll be installing or using Fedora again, at least until the next release, it caused problems last time I used it.

I was thinking of trying to install a copy of Gentoo, sure it might take a while but isnt it supposed to be the most optimised?

Anyway, does anyone know of a way to Extract the Windows Registry as a file from my broken Windows installation from within Linux?
 
Old 08-29-2004, 11:46 AM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
well it is unfortunates it did not work out
but if we could know what went wrong then ,this could have avoided next time

also for ur registry backup

check out

http://fire.dmzs.com/

here they have a long compilation of tools for recovery
there is some tool for registry here, i haven't tried it but u may have a look at that site

regards
 
Old 08-29-2004, 02:39 PM   #15
Le_Petit_Lapin
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
Ok, tried re-installing windows as I mentioned in the other thread. Didnt work, It just keeps telling me that theres "error loading operating system"

Now, I've read somewhere tat Fedora and Mandrake (both with kernel 2.6) can mess up an existing Windows Partition, by @writing some incorrect values about the hard drives geometry.

Apparently the cure is to su in a terminal then type:

sfdisk -d /sda | egrep -v
'^(warning|DOS)' | sfdisk --no-read
-H255 /dev/hda

Think it will work? I've no idea what it does nor can I remember the website where I found it. (accidently closed the browser)
 
  


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
Dual Boot FDisk Problem with Mandrake & Windows 2K penguin_help Linux - General 13 03-14-2005 06:22 AM
Problem with GRUB when trying to dual boot Mandrake 10.1 and Windows XP. JakeMH Linux - Newbie 4 02-25-2005 07:40 AM
Mandrake 10/Windows XP Dual Boot Problem The Oate Mandriva 8 07-20-2004 01:30 AM
NO Boot Mandrake Windows XP regor62 Linux - Newbie 4 05-24-2004 02:01 PM
Mandrake 9.2 & windows xp boot problem cyberkat75 Linux - Newbie 3 03-27-2004 05:56 PM


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