Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SuSE 9.1 XP Dual boot issue… Hung at < loading Grub >

Posted on 2004-10-28
21
Medium Priority
?
347 Views
Last Modified: 2013-12-15
SuSE 9.1 XP Dual boot issue… Hung at < loading Grub >

I see the issue someone already posted in concerning SuSE 9.1 dual-booting with XP.
But am wondering if any and which ones in particular might apply to my issue.

I installed XP first (as usual because MS does not like to play with the other kids on the block) then loaded SuSE 9.1 Pro.

All looked good except when I restarted the system it will go through POST, then hangs on < loading Grub > I tried it twice and have no option except to boot from the CD into SuSE. I have tried to repair, re-install and still it will not dual boot with XP.

I have never had issues dual booting with SuSE before, in fact that is why I have stayed with SuSE since 6.4 it was easy with no conflicts. I had it too easy I guess. I mean I never had to learn how to monkey around with the OS, it just has always worked out of the box for me and away I went running my programs and such…

Thanks in advance… Michael Adams, New Port Richey Florida.
0
Comment
Question by:Linux_Hawk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 10
21 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12438342
You can use your boot CD to boot the installed version of SuSE. Have you tried this? You can also boot the rescue system off the boot CD. This will allow you to mount the Linux partition and check the Grub configuration. Are you familiar with both these options?

I can walk you through the process, but I'd rather not waste any time describing something that you already know. :-)
0
 

Author Comment

by:Linux_Hawk
ID: 12438802
Yes, I have been able to boot with the CD and run Linux fine.
I tried the repair option also to no avail.
So I can boot and access SuSE and go into YAST and modify config files or such as needed to accomplish GRUB coming up and allowing me to boot to XP or to Linux.

Again, thanks in advance.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12439763
Boot into Linux and look at the file /boot/grub/menu.lst
Please post the content here.
What's your hard disk setup? How many disks, and which partitions are used by Linux and XP?

If everything is on the first disk, run this command as root user:
grub-install /dev/hda

This will re-install the boot sector on your first disk.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:Linux_Hawk
ID: 12440418
I will try this solution.

Thanks for taking the time.
0
 

Author Comment

by:Linux_Hawk
ID: 12448415
Tried it,  and grub does not install in the boot directory.
I have looked at 2 other SuSE PC’s and that is where it is supposed to install.
In /boot/grub

Last night I re-installed it (new install) 3 times and still received the same results.
I believe the new Asus MB is a big issue with it.
It has SATA RAID. And even with the SATA RAID disabled I think Linux recognizes it. The reason I believe it is that when I go to the boot loader configuration is is seeing the first IDE drive as  dev/hde  and the second hard drive as dev/hdf  and the 3rd  IDE hard drive as dev/hdg.

I think what I need is some coaching from someone knowledgeable with GRUB to walk through a custom setup. Because grub is trying to set up in dev/hda.  

Do you think you can help?

I am at work at this moment, but will be home 9:30 PM EST.

Thanks in advance…
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12448755
Is there anything in the /boot/grub directory?
Is grub installed on your system? You can check this with this command:
rpm -q grub

I can certainly walk you through the steps required to setup Grub.
0
 

Author Comment

by:Linux_Hawk
ID: 12448859
I will check this when I get home.

But when I ran ls -a on it in the boot directory it showed nothing... like the directory was empty.

I currently blew Windows away and loaded Linux only and with just SuSE 9.1 on it the system flies and everything seems to be working great.

But I do need the other environment to run a few work programs.

I am in Florida, where are you located and what time zone?  Do you use Yahoo chat?

Thank you… Michael.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12449126
I'm in upstate NY, so I'm in the same time zone and no, I'm not using any IM software.

The missing boot directory can be caused by a mounting problem. Depending on how you setup your disk(s), /boot may be it's own partition, and if this partition does not get mounted, this directory is empty.
You can always install Linux first (but leave room on the first partition for Windows), install Windows, and then configure Grub for your dual-boot setup.
0
 

Author Comment

by:Linux_Hawk
ID: 12449230
When I have tried to install Linux first in the past, Windows always messed it up.
Bu I was younger then.
Currently I have an 80 GB drive with 1 GB swap and the rest Reiser for the the OS and applications.

Are you familiar with SuSE and YAST? Does YAST have a resizing tool to resize the partition?

If so, and from what you are telling me I should be able to resize the partition and leave  30 GB for XP.
I should be able to install XP on the 30 GB, and then somehow access the MBR and modify it or put Grub there?

Have you done this before? Sounds tricky.

But it is worth a try, I have been futzing with this for 6 days now, and I need to update our Churches website. I need SuSE to do that, but need Windows for some of the data I get from the Church.

Hope to hear from ya soon.

Michael.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12449791
I am familiar with SuSE and YaST.

You can resize partitions with YaST, but unfortunately not Reiserfs partitions: They provide this feature so that you can make room on a Windows system for your Linux installation. You should have reserved the 30GB either before you installed SuSE, or during the installation by selecting to partition the disk manually.

If you first install Linux, followed by Windows, you have two options to boot your system: You can either use the XP bootloader, or you can boot the rescue system and then configure Grub for your dual boot system. You are not accessing the MBR for this, you let Grub do the work by running the grub-install program.
0
 

Author Comment

by:Linux_Hawk
ID: 12449961
I am at home now, can you call me, I can call you back I have free long distance...
If so, let me know and I will give you an email address we can communicate the information at.

Thanks... Michael.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12449976
This is against the EE rules: You need to use this forum to resolve the problem.
0
 

Author Comment

by:Linux_Hawk
ID: 12450035
I was not sure.... Sorry.
0
 

Author Comment

by:Linux_Hawk
ID: 12450047
Then another question...

Is it possible to Install XP to another Hard Drive then program GRUB to have a windows choice and point to the MBR on the other Hard Drive when selected?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12450068
It's easier to put Linux on the second hard disk. Windows is pretty picky about where it wants to be installed, and you have to switch the hard disks logically with the Linux boot loader so that Windows finds itself on the first hard disk. It can be done, but the biggest problem is to get Grub to swap the hard disks, and then boot from CDROM. So, if you have a choice, make your Linux hard disk the second hard disk. Thsi will however require some additional repairs: The boot configuration and the mounts use partition names, and these will change when you move the disk from the primary to the secondary position.
0
 

Author Comment

by:Linux_Hawk
ID: 12450122
No easy way huh???  :-)

Maybe it would be easier re-installing SuSE and leaving 30 GB for Windows.
Then installing windows.

I have heard of people having dual-boot issues like this before, but that was years ago, I cannot believe the difficulty I am having...

I also cannot believe how helpful you are on this issue guiding me and answering the many sometimes foolish questions. Thanks for hanging in there.

So if I did the above is the XP Boot Loader simple to set up now????
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 2000 total points
ID: 12450156
This page describes how to setup both Grub and the XP bootloader: http://icculus.org/~lucasw/Linux/Linux%20and%20XP%20Bootloading.html
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12450163
This was the wrong link. Sorry about this, give me a few more minutes, and I'll post one that works.
0
 

Author Comment

by:Linux_Hawk
ID: 12450168
I will be trying and making at least one of these work on Sunday.

Thanks for your time. I hope I can help pass some of this along in the future and make a contribution as you have.

Take care and hope to chat again.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12450169
This is the link: http://www.enterprisedt.com/publications/dual_boot.html
It's about Win2K, but XP uses the same mechanism.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12450176
And here is one more: http://www.wlug.org.nz/HowToBootLinuxUsingWindowsLoader

You can never have enough descriptions of such a processs: Every author comes from a differnt angle, and you may find someing in one article, that's not sufficiently described in another.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question