LinuxQuestions.org
Help answer threads with 0 replies.
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 05-20-2004, 04:55 PM   #1
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
Yet another SUSE9.1 and WinXP GRUB boot problem


I have a problem with XP and SUSE9.1

/dev/hda1 is my NTFS XP partition
/dev/hda2 is my ReiserFS / partition
/dev/hda3 is my LinuxSwap partition

After installing SUSE9.1 I get the Grub bootloader. SUSE boots fine but WinXP no longer boots. It displays the following error:

root(hd,0,0)
filesystem type unknown, partition type 0x7
chainloader+1

I've tried changing the grub.conf file to noverify to see if that would help but no joy.

Is it something to do with Disk Geometry? FDISK reports that the cylinder value is greater than 1024 when you fire it up.

I've tried using the XP recovery console to rewrite the MBR but then I'm screwed completely as Grub is gone and Windows will not boot. I don't even get an NTLDR message.

Trouble is I need WinXP for my work and I was hoping that SUSE9.1 would fix some of the shortcomings of previous versions (such as NVIDIA support) and it has... but this is a bit of a showstopper for me and I'm getting really bored of reinstalling XP and then SUSE to try again...

Any help kindly appreciated (even if it means reinstalling everything one more time!)
 
Old 05-20-2004, 05:49 PM   #2
jemadrid
LQ Newbie
 
Registered: Mar 2004
Location: Juarez,Mex
Posts: 6

Rep: Reputation: 0
If you are botting ok to Suse, insert the first installation cd and you can do a new install of it until it asks you what kind of installation do you need, it gives you an option to fix the boot loader if it is failing, run it and following the steps you can set it up to run Win Mx again from Grub again.
 
Old 05-20-2004, 07:37 PM   #3
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Hi thanks for the reply, but I don't think it helps :-(

Grub appears to work OK, it just doesn't boot windows properly. Since my last post, I have removed all disk partitions with FDISK and reinstalled WinXP and then SUSE 9.1. I *still* have the same problem.

Here is the output from FDISK

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 60945 30716248+ 7 HPFS/NTFS
/dev/hda2 60946 63026 1048824 82 Linux swap
/dev/hda3 63027 155061 46385640 83 Linux

and here is GRUBS menu.conf file

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x317 splash=silent desktop resume=/dev/hda2 showopts
initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,2)/boot/initrd

Very fed up now :-(
 
Old 05-21-2004, 05:06 AM   #4
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Hi wellmt,

Quote:
###Don't change this comment - YaST2 identifier: Original name: windows### title Windows root (hd0,0) chainloader +1
Would you try this one:


###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1


The message

root(hd,0,0)
filesystem type unknown, partition type 0x7
chainloader+1

lets me think there's mismatch in the hard disk labeling, because the device specification (hd#,M,S) is used by FreeBSD/NetBSD OSes only. Also run "parted /dev/hda" from a console and see waht disk labeling has hda there. If it s not msdos then probably you should label it as "msdos". If this can be done without to destroy the partition table - you're lucky one. If not, you must re-install all things again, after you change the disk label.

Kind regards,
sbogus
 
Old 05-21-2004, 09:40 AM   #5
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks for the reply sbogus

I tried your menu.lst suggestion above but it didn't work. I ran "parted" but wasn't familar with the commands so got stuck (didn't have time to dig out a reference guide).

I think you are going along the right lines though. Somehow, PartionMagic which I used in a previous Windows installation has screwed up the disks partition tables.

I'm zero-wiping the whole disk now so hopefully that should sort out any partition problems. Then I'll reinstall WinXP and SUSE yet again.

Kind regards
 
Old 05-21-2004, 10:03 AM   #6
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Hi wellmut,

Quote:
... I ran "parted" but wasn't familar with the commands so got stuck (didn't have time to dig out a reference guide).
Sorry! My fault, I should have given you the right commands to see the things in parted. Here are they...

parted /dev/hda

You'll get some message saying that the disk geometry may not be the one the Linux knows and you might need to check it from the BIOS. It is safe to ignore this message. Then you'll be presented with a prompt

parted:>

Type there print and press enter. You'll get the list of partitions and their properties. The command help gives you a list of all commands parted understands.

After you install your systems it is not a bad idea to run parted and to post here the output of the print command.

Kind regards,
sbogus
 
Old 05-22-2004, 02:12 AM   #7
Bambino
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
I had a similar problem with booting XP after installing FC1, Try this

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)

Regards,
Bambino
 
Old 05-23-2004, 03:49 PM   #8
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks for the replys the both of you. Unfortunately, neither has worked.

sbogus: when I ran parted I got an error "cannot have partition outside of disk!". I tried zero-wiping the whole disk with Seagate's disk tools, but now it has gone from bad to worse. I can no longer install Windows XP at all (it won't boot after installing). SuSE installs OK but Grub won't boot windows either. Strangely when I could get Windows XP to work a couple of days ago, I could get to the windows partition within SuSE..all very strange.

Now I just have SuSE Linux on taking up my whole disk. At some point I will try and fit another HDD (it's a very small computer case) and put XP on the second disk then maybe configure grub to boot from that instead for XP.

Best Regards
 
  


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 WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Using GRUB to boot WinXP Northy Linux - Newbie 4 09-19-2005 05:12 AM
/boot mysteriously empty, but i can still boot into Linux/WinXP via grub. hypoglycemic Linux - Software 4 07-18-2005 05:42 AM
Winxp won't boot thanx to GRUB DaBlade Linux - Newbie 22 09-14-2004 10:04 AM
GRUB Boot menu with SuSE9.0 and Windows 2000 Advanced Server SteveK1979 Linux - Newbie 4 02-19-2004 04:05 AM

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

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