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 03-28-2006, 11:42 PM   #1
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
Dual Boot SuSE10


I just decided to give linux another try after a few years of putting up with windows again. Suse 10 installed fine. I have 2 hard drives, the first was entirely dedicated to XP pro, and thats the way I configured it with the install. The 2nd drive is where all the SuSE stuff went. SuSE works fine,but I just tried to load up windows and I get to a screen that says:
chainloader(hd0,0)+1
It just sits there.

Whats wrong?
 
Old 03-29-2006, 02:02 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
post the o/p of your grub.conf or menu.lst and..
#fdisk -l

regards
 
Old 03-29-2006, 03:09 PM   #3
olkar
LQ Newbie
 
Registered: May 2005
Location: Australia
Distribution: Mepis, Xandros, Fedora C4, Knoppix, Debian sarge
Posts: 20

Rep: Reputation: 0
Hi Halfstep

Your problem is that Suse has altered your MBR Master Boot Record
You can try fixing this by booting into XP from it's CD-ROM and using the recovery console to repair the MBR but you will loose Susie.

You can get more info on this from a tutorial (165kb) I wrote at:

http://members.dodo.com.au/~nmj/down...ystem_boot.rar

Good Luck
Olkar

Last edited by olkar; 03-29-2006 at 03:14 PM.
 
Old 03-29-2006, 06:26 PM   #4
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
This is my grub.conf
---------------------------------------------------
setup --stage2=/boot/grub/stage2 (hd0) (hd1,1)
setup --stage2=/boot/grub/stage2 (hd1,1) (hd1,1)
quit
---------------------------------------------------

This is my menu.lst
----------------------------------------------------------------------------
# Modified by YaST2. Last modification on Tue Mar 28 04:18:14 UTC 2006

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,1)
kernel /boot/vmlinuz root=/dev/hdf2 vga=0x31a selinux=0 apm=off acpi=off
mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll
resume=/dev/hdf1 splash=silent showopts
initrd /boot/initrd

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,1)
-----------------------------------------------------------------------------

Here is fdisk of the linux partition:
linux:/boot/grub # fdisk -l /dev/hdf2

Disk /dev/hdf2: 298.9 GB, 298988928000 bytes
255 heads, 63 sectors/track, 36350 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
----------------------------------------------------------------------------

And here is a fdisk of my windows partition:
Disk /dev/hde1: 300.0 GB, 300058182144 bytes
255 heads, 63 sectors/track, 36479 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/hde1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 does not end on cylinder boundary.
/dev/hde1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 does not end on cylinder boundary.
/dev/hde1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 does not end on cylinder boundary.
/dev/hde1p4 167628 167631 25817+ 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
 
Old 03-29-2006, 06:31 PM   #5
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
first reinstall winblows. then reinstall linux. set the mbr to dualboot using grub. let winblows clean up any partition mess. reload everything from backup. this should work.
operator
 
Old 03-29-2006, 06:38 PM   #6
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Why do i need to re-install windows? I don't really understand whats going on. SuSE seems to know that I have windows installed because if I explore that drive i can see all my old files.
 
Old 03-29-2006, 10:05 PM   #7
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

Rep: Reputation: 30
ur mbr has to get str8 and your partitions have to also. there r other ways to fix it but, this is the easiest way.
operator
 
Old 03-30-2006, 12:42 AM   #8
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hi,

Quote:
Here is fdisk of the linux partition:
linux:/boot/grub # fdisk -l /dev/hdf2
i asked for
#fdisk -l

It could have been #fdisk -l /dev/hdf (note: '2' is not there)

regards
 
Old 03-30-2006, 12:46 AM   #9
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry ruudra, here is the fdisk -l

linux:~ # fdisk -l

Disk /dev/hde: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 36480 293025568+ 7 HPFS/NTFS

Disk /dev/hdf: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdf1 1 131 1052226 82 Linux swap / Solaris
/dev/hdf2 132 36481 291981375 83 Linux
 
Old 03-30-2006, 03:49 AM   #10
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
the following entry doesn't seems to be right:
Quote:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1
although i don't use SuSE but i googled and found that it should be like :

Quote:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP Pro
root (hd0,0)
chainloader +1
first try with this, if won't get success then we will try something else.

regards
 
Old 03-30-2006, 06:10 PM   #11
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
ruudra,

That did not work. What happened was when I told it to boot windows, it displayed some error message to quickly for me to see.
 
Old 03-30-2006, 07:27 PM   #12
halfstep
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Original Poster
Rep: Reputation: 0
The error message is something like this:
Initializing gfx code
Static Memory...(random mem codes)
malloc 0 (random mem codes)
malloc 1 (random mem codes)
malloc 2 (random mem codes)
malloc 3 (random mem codes)

Then it just goes back to the boot menu.
 
Old 03-30-2006, 09:15 PM   #13
tallmtt
Member
 
Registered: Jun 2005
Location: Georgia, USA
Distribution: Arch, Gentoo, Ubuntu
Posts: 91

Rep: Reputation: 15
First - you do NOT need to reinstall windows. That said, if you need to use windows before someone is able to help you fix the problem, you can reinstall the mbr by using the windows cd. You do not need to reinstall the os, just the bootloader.

After you do this, you will not be able to boot into Suse. To do that you will need to reinstall the Suse bootloader (grub). To be completely honest, I have not been successful everytime with my reinstallations of grub - that is likely due to the fact that I seldom need to, and I do not remember the exact process. I think you can actually do that using the Suse cd. Whenever you do, double check all settings.

Sorry for not being more helpful - I have been where you are and remember the frustration. I have since been able to go completely Windows free on my personal PC.
 
Old 03-31-2006, 02:11 PM   #14
olkar
LQ Newbie
 
Registered: May 2005
Location: Australia
Distribution: Mepis, Xandros, Fedora C4, Knoppix, Debian sarge
Posts: 20

Rep: Reputation: 0
Hi Halfstep
The link I showed in my previous post includes in the rar file 2 small free programs (MBRWIZ.exe and Bootpart.exe). there is also a pdf file detailind how to multi boot a number of systems on one computer. On my primary puter I boot into W98, XPpro-1 on one drive and XPpro-2 on another (just for fun). I also have Linux Xandros, Mepis, Fedora C4 & Debian Sarge on this computer. All programs are blisfully unaware of each other, all this is done via the Boot.ini file of windows using bootpart.
There is technically no limit to the number of OS & versions/distros you can boot into apart from disk space limitations.
That is why I suggested you reinstall Windows to reset the MBR then you can install as many Linux distros as you wish. MBRWIZ is a small program that allows you to backup/copy/reset the MBR. That way you don't have to reinstall anything if u stuff up & lilo or grub manage to alter the MBR

Good luck
Olkar

Last edited by olkar; 03-31-2006 at 02:18 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
how to set up pppoe in suse10... not able to acces adsl modem thru suse10 akshay_jp SUSE / openSUSE 5 09-04-2006 10:39 PM
Dual Monitor using Suse10 mayaLinux Linux - Hardware 4 05-09-2006 12:50 PM
Suse10 dual boot issue kidmarek Linux - Networking 1 03-31-2006 10:13 AM
SUSE10 dual boot with XP phxKING SUSE / openSUSE 2 02-17-2006 04:26 PM
Nvidia dual monitor on SuSe10 koy Linux - Hardware 2 01-24-2006 12:14 PM

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

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