LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-26-2005, 06:30 AM   #1
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Rep: Reputation: 0
Help!! dual boot problems


First! the good news is that after a nightmare and 6 tries of installing Mandrake without success, I have installed SUSE on my system successfully first try and now I'm a linux user! Yahooo!

The bad news is that even though I read the sticky on dual boot fix, my install was very sketchy and the fix doesn't appear to have worked. Not sure what happened but the fact is I'm a bit worried because I can't get into XP at all! Grub works fine. XP's splash screen runs with loader bar for a bit and appears hopeful and then wham!!!! some error message and then a blue death screen fatal crash and lockup. Now I think my XP is still intact but I'm a bit worried. What is the procedure to get the part.ed fix implemented now? and get my XP back??

I have the part fix on a CD.

On a lighter note where is Mozilla firefox and Mplayer?? I thought SUSE 9.1 Personal came with those?? I even got the latest update files, which was a crap load full right after install and still no firefox or Mplayer! What gives?

Internet works fine. good
Sound still has issues. possibly some IRQ conflict.

Driver question...uhhhhh...how do i install any current drivers for any of my hardware when they are all MS drivers?? I don't think there are linux drivers for half of my components??? Isn't this a problem?

Anyway, I'm very happy to finally have linux working and join the club! just a bit annoyed and worried still....
 
Old 02-26-2005, 02:12 PM   #2
tdonoughue
Member
 
Registered: Feb 2005
Location: The Woodlands, TX
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
Being relatively new myself, I hesitate to try to diagnose your problem. But then I go ahead and jump in anyway. <sigh>

It sounds as if something messed up your drive on which you have XP. Sounds like Grub is handing off to XP successfully (which I would think would normally be the problem). What is your drive structure (1/2 drives? 1/2/3/4 partitions? What type)? Was XP booting prior to the Suse install?

Finally, what commands is Grub running to get you to XP? You can find them by getting to Grub, hitting escape (answer yes) to go to text mode, highlight the Windoze entry and type 'e' to edit the line. What is there?
 
Old 02-26-2005, 05:56 PM   #3
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Hi Tim! thanks for the response.

Ok, here are my partitions on this hard drive...

Windows XP Primary 2gb (NTFS)-----Linux SUSE Primary 3gb (ext3)-------- Extended partition w/ virtual partitions 1. XP Swap (ntfs) 2gb 2. Linux Swap 1gb ----------Unallocated space 187gb -----------I

I'll get back with ya on what command line is running in verbose mode.

If I had to guess here, I would say that it's the same problem everyone is having. Grub is is not recognizing sectors on the boot partition because it physically "hid" them so the loader is getting part way through the XP boot but not completing. there is a disk utility that will edit the boot record on a HD. i'll have to manually check to see what it has hid and what it hasn't using it. i think this is a common problem with linux/windows dual OS setups as I found the article in reference to this topic. I guess i'll just have to read and learn and get my hands dirty so to speak
 
Old 02-26-2005, 09:50 PM   #4
tdonoughue
Member
 
Registered: Feb 2005
Location: The Woodlands, TX
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
OK. My next guess: the XP swap drive on the virtual partition. If Grub can't find that partition, that might explain why it gets part of the way through the boot (to the point that it tries to access the swap) and fails.

I don't know that the problem is in the boot sector. If that were the case, would not Grub fail to load? I think I was having this problem at one time. I got Grub stage 1, but not stage 2, because Grub could not find my partition (turned out the definition was incorrect in the BIOS, as I recall).

Where is the article you found? I found the Grub manual at www.gnu.org/software/grub/manual/grub.html quite helpful. Also, see http://www.linuxquestions.org/questi...icle&artid=370 on this site for some good info.
 
Old 02-27-2005, 09:16 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Quote:
What is the procedure to get the part.ed fix implemented now? and get my XP back??
http://portal.suse.com/sdb/en/2004/0...booting91.html

About the missing software:
http://www.linuxquestions.org/questi...hreadid=266647

Quote:
Driver question...uhhhhh...how do i install any current drivers for any of my hardware when they are all MS drivers?? I don't think there are linux drivers for half of my components??? Isn't this a problem?
It's a bit hard to say. You cannot install MS driver on your Linux system, that's for sure. But I don't think there is so much hardware that is unsupported. Tell us what device is not working and we will see...
 
Old 02-27-2005, 07:01 PM   #6
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by tdonoughue
OK. My next guess: the XP swap drive on the virtual partition. If Grub can't find that partition, that might explain why it gets part of the way through the boot (to the point that it tries to access the swap) and fails.

I don't know that the problem is in the boot sector. If that were the case, would not Grub fail to load? I think I was having this problem at one time. I got Grub stage 1, but not stage 2, because Grub could not find my partition (turned out the definition was incorrect in the BIOS, as I recall).

Where is the article you found? I found the Grub manual at www.gnu.org/software/grub/manual/grub.html quite helpful. Also, see http://www.linuxquestions.org/questi...icle&artid=370 on this site for some good info.
Hi Tim!

Yes you could be correct about the XP swap partition. It is possible but either way it still stems from the fact that it doesn't recognize or see certain sectors in the partition table. This is a common problem with dual OS systems that run linux and windows. Here are the articles that explain this situation

this is the main page that is a wealth of info for dual booters

http://www.goodells.net/multiboot/index.htm

here is the instructions on fixing boot records which SUSE screws up

http://www.goodells.net/multiboot/ptedit.htm

After reading this article and SUSE's info I know that this is probably my problem. The same one the sticky in this forum speaks of.
 
Old 02-27-2005, 07:07 PM   #7
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by abisko00
http://portal.suse.com/sdb/en/2004/0...booting91.html

About the missing software:
http://www.linuxquestions.org/questi...hreadid=266647



It's a bit hard to say. You cannot install MS driver on your Linux system, that's for sure. But I don't think there is so much hardware that is unsupported. Tell us what device is not working and we will see...
Thanks abisko! I'll check those links.

Well about the drivers .... i think Linux got most of my hardware going ok, but what about updates?? if I need to install an update to my mobo or soundcard or video card and all are MS drivers do I just have to wait around and hope that SUSE adds these updates to their Yast driver library??
My soundcard doesn't work but i don't thinks it's an driver error but like and IRQ issue which i need to resolve. It works fine in windows but not in Linux. hmmm.....

Driver support is the only real weakness I see in using Linux IMO.
 
Old 02-28-2005, 09:31 PM   #8
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Abisko00,

The first link you gave on applying the fix is the same place i went to when installing SUSE with the fix. I just tried apply this fix post-install...

I wrote down the instructions and followed them precisely and when I pressed the 'BACK" button on the 6th step I never got a message saying anything about a broken partition. So I don't think this is my problem.

The message I get right after Win XP starts to load is "autochk not found" and then my system crashes.

I know that it's all related to 'hidden partition sectors' . Here is what a member of another forum said....


Quote:
" You see, the problem is not that your computer can't find autochk.exe -- the problem is that it cannot find the system partition itself and therefore cannot traverse the directory path to find autochk.exe. This is exactly what happens if the partition is flagged as invisible (ie: "hidden NTFS") "
He also mentioned earlier...

Quote:
" your system partition is marked as "hidden NTFS". You can download a program called ptedit from PowerQuest for free. Boot to a DOS disk, run PTEdit, and change the "partition type" from hex 0x17 to hex 0x07.

If the message "autochk not found" is displayed but your computer otherwise completes the boot process normally, you need to remove Windows XP HotFix KB824105 in "add/remove programs".
the fix on Novell's site supposedly fixes any partition problems that Yast caused with it's partitioning tool.

From Novell's site...
Quote:
The partitioning tool parted, which YaST uses during the installation, may write an incorrect partition table. The problem occurs if

* the BIOS and Linux "see" different disk geometries AND
* the Windows partition is larger than about 8 GB (more precisely: if the first hard disk partition ends on cylinder 1024 or beyond this point).

When the system is booted, Windows may use the values in the partition table, which causes a failure.

Currently, this problem also occurs on other Linux distributions using kernel 2.6.
I don't think this is the problem I have and it's likely that the fix I did apply at install was effective, but this doesn't solve the "hidden NTFS problem". Novell needs to address this problem and include a fix this also.


Last edited by tecnolover; 02-28-2005 at 09:43 PM.
 
Old 02-28-2005, 10:00 PM   #9
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
The easiest and less painful way to boot your Windows XP from Grub is to activate the "lba" option in BIOS.
 
Old 03-01-2005, 02:27 AM   #10
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Tuvok
The easiest and less painful way to boot your Windows XP from Grub is to activate the "lba" option in BIOS.
Yeh, it mentioned that on Novells page, but I'm not sure exactly where that is in my BIOS. Gonna have to check. Are you sure it's not under disk settings in the system?

Also, how does setting LBA on fix the 'hidden NTFS' partition?? I don't understand.
 
Old 03-01-2005, 04:51 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
I think it would be helpful if you could provide us some information:

/boot/grub/menu.lst
/etc/grub.conf
the output of 'fdisk -l' ('l' like in 'like', you need to be root)
 
Old 03-01-2005, 04:06 PM   #12
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by abisko00
I think it would be helpful if you could provide us some information:

/boot/grub/menu.lst
/etc/grub.conf
the output of 'fdisk -l' ('l' like in 'like', you need to be root)
Hi Abisko00,

here is my menu.lst grub.conf and drive.map files. again, XP is on partition 1(hda1), linux on part 2 (hda2) of device hd0 . hope this helps!
--------------------------------------------------------------------------------
menu.lst

# Modified by YaST2. Last modification on Tue Mar 1 14:34:52 2005


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

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

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

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

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit
-----------------------------------------------------------------------------
drive.map

(hd0) /dev/hda
(hd1) /dev/hdc


Interesting! One thing I notice is that the root location for XP is not correct! Shouldn't it be (hd,0,0) ?????????????
Where 0 is the first device or HD and 0 is the first partition??

I'm going to try these lines instead since some other posts on the net mentioned this....

title Windows XP Pro
root (hd0,0)
makeactive
chainloader +1

I'll let you know what happens.
 
Old 03-01-2005, 06:18 PM   #13
tecnolover
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Yahoo!!!!!!!!!!!!!

Sucess my friends! Never have i been so happy to see the Win XP logon screen in my life! (window still sux though heheh)

I must give a lot of credit to Tim for his second link held all the answers!

http://www.linuxquestions.org/questi...icle&artid=370

It was in an linux answer forum here on this site. Bottom section of the article. This really saved me a lot of headaches and troubles. I was just about ready to start editing the boot partition in DOS with PTedit. (sigh) Here are the lines that did it!

title Windows XP
unhide (hd0,0)
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

It's the 'Unhide' command that makes those NTFS boot sectors visible again after Yast causes them to be hidden durring install. Well i've learned some new things for sure! Now i'm ready to set up dual boot XP/linux SUSE on 2 more home computers for family!

here is my original Grub menu.lst lines again. notice how simplified and wrong this list is!

title Windows XP Pro
root (hd1,0)
chainloader +1



thanks for all the help guys!
 
Old 03-02-2005, 02:44 AM   #14
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Glad you solved it!

This is a great example how important it is to provide good information in your posts. We could have helped you much earlier and better if we knew more about your partition structure and bootloader configuration.
 
Old 03-02-2005, 10:13 PM   #15
tdonoughue
Member
 
Registered: Feb 2005
Location: The Woodlands, TX
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
Congratulations! Glad we could be of some help.

Abisko00, seems as if we ought to have some sort of a guide for folks as to what type of info to provide to get help. I know it seems obvious to you about partition structure, bootloader config, etc. (and it is slowly getting obvious to me), but a lot of us newbies don't even know these things exist.

We could come up a list like: Won't boot? Give us the fdisk -l for starters.

Of course, a little more complex than that. Your thoughts?
 
  


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 Problems...big problems Goonie Linux - General 19 12-09-2006 04:44 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
dual boot problems chaos_dragon Linux - Newbie 3 10-24-2004 02:47 AM
dual boot problems, now no boot loader after fixmbr mipia Debian 2 04-04-2004 09:43 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM

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

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