LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-09-2005, 07:17 PM   #1
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Rep: Reputation: 0
Another Dual Boot XP Problem


I know this may have been basically covered on another post, but i'm a newbie and am not exactly sure what i am doing. I loaded 9.2 pro on an existing XP system and after it installed (without a problem) it rebooted and there was no option to boot to XP, only Linux and failsafe.

I tried to add XP to grub but it comes up with an error as follows:

Root (HD 0,0)
File system type unknown, Partition type 0x82

Chainloader +1

I also went in to the Suse Expert Partitioner and it lists the following:

DEV SIZE TYPE START END
/dev/hda 74.5gb st3800ba 0 9728
/dev/hda1 7.8gb outrack d46 0 1022
/dev/hda2 760.mb linux swap 1023 1119
/dev/hda3 65.9gb linux native 1020 9727

I can not find any trace of XP on the harddrive. I really would like to be able to retrieve my XP. Any help would be appreciated.
 
Old 02-09-2005, 07:40 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ! Can you post the contents of your GRUB file? -- J.W.
 
Old 02-09-2005, 07:58 PM   #3
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
I will give you just the windows title

root (hd 0,0)
makeactive
chainloader +1
 
Old 02-10-2005, 12:19 AM   #4
lloydie
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
dual boot problem

I have exactly the same issue with Fedora Core 3 - windows XP.

i have 2 drives 1 with xp 1 with fedora. tried master/slave swapping confirmed that l don't use MBR and get exactly the same response from GRUB.

My only fix is to control boot sequence from the bios - hack.
 
Old 02-10-2005, 04:09 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
It sound like your Windows partition has the wrong (or unusual) partition type. I remember these ontrack disk managers that enabled old bios's to recognize large disks. Do you run such disk manager? If not, maybe it helps to change the partition type to NTFS. Although I have no idea if this affects your data on that drive.
 
Old 02-10-2005, 04:19 AM   #6
lloydie
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
ms magic

drive formatted by xp setup disk NTFS
 
Old 02-10-2005, 07:18 AM   #7
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
I have just one seagate hd installed. I am very sure it was formated by XP to be NTFS. I did not run defrag or any type of partition software. I did change the bios to LBA after I installed Suse but it did not help.

When I try to boot to xp in grub it comes up with the fore mentioned error and then goes to a screen as if the computer had been shut off with the power switch not by the OS. It gives me a few different options to boot to xp but none of them work. It goes to the XP splash screen for about 3 seconds, then it goes to a screen with a blue box that says something but I it doen't stay on the screen long enough to read it. Then it goes to the grub editor.
 
Old 02-10-2005, 07:28 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You may try to restore the Windows bootloader to see if this is able to recognize the partition. See here for details:
http://portal.suse.com/sdb/en/2002/0...tall_grub.html

If this works, you may use the XP bootloader to load Linux instead of grub:
http://portal.suse.com/sdb/en/2002/1...l_grub_nt.html

or use a bootfloppy.
 
Old 02-10-2005, 07:33 AM   #9
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
OK, thanks. I will check out the info and try it.
 
Old 02-10-2005, 07:47 AM   #10
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
Does this apply to 9.2 pro also? I see it applies to 8.1.
 
Old 02-11-2005, 08:19 PM   #11
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Re: dual boot problem

Quote:
Originally posted by lloydie
I have exactly the same issue with Fedora Core 3 - windows XP.

i have 2 drives 1 with xp 1 with fedora. tried master/slave swapping confirmed that l don't use MBR and get exactly the same response from GRUB.

My only fix is to control boot sequence from the bios - hack.
I think you have a different problem. Most of the time this can be solved with the map command. Windows does not like to be anywhere except the primary master. Nevertheless, you can boot it simply from slave. Your command should look something like this:

title Windows
rootnoverify (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 02-11-2005, 08:35 PM   #12
lloydie
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
thanks for your patience.

could you please explain what hd1 hd0 and chainloader+1 actually means because l have tried every permitation - secondly l guessed that xp had the master issue and have installed that way after "much" frustration.

thanks in advanced.
 
Old 02-12-2005, 08:14 PM   #13
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
gd2shoe

I tried what you suggested but the boot loader configuration tool in Yast does not let me insert 2 map commands.

This is how I have the grub configured for xp

title windows xp
section type other
root (hd0,0)
makeactive
chainloader +1

I am wondering if maybe it has something to do with the way the windows partition was formatted. because when I went to the expert partitioner and looked at the partitions it does not say NTFS for the /dev/hda1 for the type, it says "ontrack dm6". anybody know anything about this?

bill

Last edited by bill1850; 02-12-2005 at 08:20 PM.
 
Old 02-13-2005, 01:14 AM   #14
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Quote:
Originally posted by bill1850
I have just one seagate hd installed. I am very sure it was formated by XP to be NTFS. I did not run defrag or any type of partition software. I did change the bios to LBA after I installed Suse but it did not help.

When I try to boot to xp in grub it comes up with the fore mentioned error and then goes to a screen as if the computer had been shut off with the power switch not by the OS. It gives me a few different options to boot to xp but none of them work. It goes to the XP splash screen for about 3 seconds, then it goes to a screen with a blue box that says something but I it doen't stay on the screen long enough to read it. Then it goes to the grub editor.

bill1850: You have only one hard disk in the system. You do not need the map command.

The above post confuses me considerably. (It is recommended to defrag an ntfs partition (from Windows) before shrinking it. That aside for the moment...) It sounds like the Windows boot loader is getting loaded, and recognizes that Windows did not start properly the previous time. A blue box? If the whole screen were blue that would be one thing (reminiscent of a 'stop error', aka BSOD). But a box? What color is the rest of the screen around the box? Do you have a digital camera available to capture it with? How in the world would it get from there back to grub? When you say "grub editor" do you mean the menu, the prompt, or something different. It is possible for grub to still be in memory at that point, but there is no excusable reason that I can find for windows to jump to that spot in memory (without loading it's stuff there first). Does the system reboot at the blue box?

Keeping my confusion in mind, I think your ntfs partition was damaged when it was resized (this doesn't explain the problems with your partition type). If this is the case, then you may be able to read some of what is left from Linux.

Better yet, see if you can select boot logging from that menu. If you can't, then push F8 repeatedly just before that and select logging. Now if you can read the partition from Linux, find the windows/system32/ntbtlog.txt file (It think it's in unicode or something, by the way). If you can get a copy of this file from your system, it may help in understanding your problem.

You might try running "chkdsk /p" from the recovery console on the Windows installation CD.

From Linux, you can change the partition type using "cfdisk /dev/hda1". I have seen one instance where a system would not boot Windows 98 because the partition type was wrong, but it was a weird set up in the first place (third party boot loader). I don't think Windows cares about the type, but maybe it does (still wouldn't explain your other behavior, though).


lloydie:

Sure. Grub labels the disks/partitions differently than Linux does. This can be a source of confusion. Basically, you start counting at zero instead of one.

(fd0) - floppy disk drive

(hd0) - primary master drive
(hd1) - primary slave drive
(hd2) - secondary master drive
(hd3) - secondary slave drive

(hd0,0) - primary master, first partition
(hd1,0) - secondary master, first partition
(hd0,2) - primary master, third partition
(hd2,4) - secondary master, first logical volume (/dev/hdc5)

You should be able to compare these to your /boot/grub/device.map file.

"Chainloader" means to grab and load the first block of the root device and run it. I believe it got this name as you would chain boot loading code together (bios-> mbr-> grub-> something else-> etc.).

The map command logically swaps two drives. It does not fool Windows for very long, just long enough to get Windows to boot. You must use map anytime you install Windows to a master drive, and then switch that drive to slave. To avoid confusion, the "root" device should still be the true drive. Don't go loading (hd0) in an attempt to load (hd1) .
 
Old 02-13-2005, 04:30 PM   #15
bill1850
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Suse 10
Posts: 16

Original Poster
Rep: Reputation: 0
gd2shoe

OK, I will forget the map command. I relized after loading suse that they recommend running defrag from windows before installing suse.

yes, I think you are correct that the bootloader is getting loaded and is trying to load windows xp. Like I said it comes up to the xp splash screen for 2-3 seconds then goes to another screen to what looks like a blue box but it only stays on the screen for a split second. It could be that the whole screen is blue but it is only up for such a short amount of time that I can not tell. It also has some writing on it but of course I cannot tell what that says either.

Then it goes to a black screen with white text that says something to the effect that windows was not shut down properly and I have 5 options to choose from to restart.
1. Safe Mode
2. Safe Mode with Networking
3. safe mode with command prompt
4. last known good configuration(your most recent settings that worked)
5. start windows normally

When I choose any of these options the screen goes blank and the computer reboots.

So it does look like the boot loader is working properly, but maybe something in windows got corrupted? I guess it is still confusing why I would get the error message as follows:

root (hd0,0)
file system type unknown, partition type 0x54
chainloader +1

The above is a correction from my first post in which I indicated the error was type 0x82.

I took a picture of the screen w/ the 5 options but I am not sure how to attach it.

bill

Last edited by bill1850; 02-13-2005 at 04:35 PM.
 
  


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 Problem ziggy1621 SUSE / openSUSE 2 09-07-2005 05:09 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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