LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-26-2005, 07:17 PM   #1
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Winxp Dual Boot with Suse 9.2


Admittedly I am a complete newbie with linux. I have scoured he internet for a solution but I cannot find one. Basically linux works fine accept for my sound card but I will address that one once I get my windows working. I boot and get a grub menu I pick windows 1 and get a black screen with

root (hda0,0)
makeactive
chainloader +1

then a blinking cursor.

I am at a total lost as to what I am doing wrong and I really dont want to take the coward's way out by reformatting from scratch.

Here is my menu.lst:
# Modified by YaST2. Last modification on Sat Mar 26 18:14:08 2005


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 SUSE LINUX 9.2
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0 splash=silent resume=/dev/hda2 desktop elevator=as showopts
initrd (hd0,2)/boot/initrd

title windows 1
root (hd0,0)
makeactive
chainloader +1

title windows 2
root (hd1,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

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

My device.map:
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda
(fd0) /dev/fd0

my grub.conf:
root (hd0,2)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,2)/boot/grub/menu.lst
quit


Any help would be really appreciated. Thnaks in advance.
 
Old 03-26-2005, 11:02 PM   #2
knoxlinuxuser
Member
 
Registered: Feb 2005
Location: Knoxville, Tennessee
Distribution: SuSE 9.0, Gentoo 2005.0, Fedora Core 4
Posts: 42

Rep: Reputation: 15
Hello,

Syntax is very important, there needs to be a space between chainloader & +1. It should look like "chainloader +1"

I'm also not sure the "make active" necessary, but if it works there is no reason to take it out.

I tested it on my PC and got similar results. The bottom line is it won't boot without a space.

Good luck wtih Linux.
 
Old 03-26-2005, 11:41 PM   #3
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Nope it just comes up:

root (hd0,0)
filesytem type is fat. partion type 0xC
chainoader +1
 
Old 03-29-2005, 08:22 AM   #4
brundles
Member
 
Registered: Nov 2003
Location: UK
Distribution: SUSE 9.2
Posts: 77

Rep: Reputation: 15
Has this happened since you installed SuSE?

I had a similar problem which turned out to be down to the existing partitions on the harddrive. The PC had a hidden partition which included all of the system recovery/restore data. Windows can't see it but Linux and GRUB can. Does the 'windows 2' partition boot?

Without meaning to cause offence at the question, looking through the boot.lst file you have two physical drives with a bootable window partition on each. Is this correct?
 
Old 03-29-2005, 12:21 PM   #5
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
The first drive is winxp/linux and the second drive is just a ntfs formatted disk I use for downloads and storage. My thought is the for some reason grub is getting confused but don't know what to do or how to fix.
 
Old 03-29-2005, 12:27 PM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Quote:
title windows 2
root (hd1,0)
chainloader +1
So this doesn't make sense. As long as there is not OS, grub cannot boot it. But that is not causing your problem, I suppose. Anyway, you should delete this part.

Could you please post us the output of 'fdisk -l' (you need to be root)? This will help us to understand your partition structure.

Last edited by abisko00; 03-29-2005 at 12:29 PM.
 
Old 03-29-2005, 12:47 PM   #7
brundles
Member
 
Registered: Nov 2003
Location: UK
Distribution: SUSE 9.2
Posts: 77

Rep: Reputation: 15
As abisko says, an fdisk report should help things.

Looking at the grub file, there's a third partition on that first drive (would be equivilant to hd0,1 in the GRUB file) - this may be the one you need.

One further question - the device map refers to what I suspect is a S-ATA harddrive. How does that fit in your configuration? You've only referred to 2 harddrives yet the device map has 3 references.
 
Old 03-29-2005, 01:14 PM   #8
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
oh sorry i forgot the other external hard drive which is also ntfs. It is a usb connected drive.
 
Old 03-29-2005, 01:17 PM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Quote:
Originally posted by ozman46
oh sorry i forgot the other external hard drive which is also ntfs. It is a usb connected drive.
Do you still have the same problem when you detach the USB drive before booting?
 
Old 03-29-2005, 02:26 PM   #10
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
No change when I unplug it. Here's my fdisk log:

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 8384 67344448+ c W95 FAT32 (LBA)
/dev/hda2 8385 8515 1052257+ 82 Linux swap / Solaris
/dev/hda3 8516 14592 48813502+ 83 Linux

Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 14946 120053713+ 55 EZ-Drive

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

Device Boot Start End Blocks Id System
/dev/sda1 1 9964 80035798+ 7 HPFS/NTFS
 
Old 03-29-2005, 02:50 PM   #11
brundles
Member
 
Registered: Nov 2003
Location: UK
Distribution: SUSE 9.2
Posts: 77

Rep: Reputation: 15
Things look OK from the FDISK to me.

Does the partition look sane if you look at it while booted to Linux?

Not sure if it'll make a difference as the system stuff is likely at the start of the partition, but what partition resizing did you do when you installed SuSE? I'm just wondering whether the boot section of the Windows partition could have been corrupted by the install.
 
Old 03-29-2005, 10:58 PM   #12
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 59

Rep: Reputation: 17
Unhappy

Just wondered if you did a disk defragment of Windows before you tried to install Suse? If you didn't, it's very possible that Suse wrote over part of the Windows partition during the installation process. If this happened, you probably need to do what you called the cowards way out, that is reformat the disk, re-install Windows and then after doing a disk defrag, install Suse. I've used Suse 9.1 and 9.2 in the past year and each one installed flawlessly. But even Suse recommends doing the disk defrag of Windows prior to installing Suse, for this very reason.
 
Old 03-29-2005, 11:56 PM   #13
ozman46
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
That was the first thing I did. Oh well looks like I have to reformat, but hey I needed to to do it anyway. At least the partions are done and I don't have to repartion . Thanks to everyone who answered my post, I learned alot.
 
  


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 WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 01:39 PM
cannot dual boot suse 9.1 and winxp between sata and ide respectively jarobman SUSE / openSUSE 7 01-12-2005 12:06 AM
I Want To Change From RedHat to SuSE 9.1 in A WinXP Pro. Dual Boot System Raj_Nair Linux - Newbie 3 06-06-2004 01:28 PM
Installing WinXP in a SuSE 9.0 enviroment (dual boot) fubzot Linux - Newbie 3 04-15-2004 03:05 PM

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

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