• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

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

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
Linux_Hawk
Asked:
Linux_Hawk
  • 11
  • 10
1 Solution
 
Karl Heinz KremerCommented:
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
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Linux_HawkAuthor Commented:
I will try this solution.

Thanks for taking the time.
0
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
This is against the EE rules: You need to use this forum to resolve the problem.
0
 
Linux_HawkAuthor Commented:
I was not sure.... Sorry.
0
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
This page describes how to setup both Grub and the XP bootloader: http://icculus.org/~lucasw/Linux/Linux%20and%20XP%20Bootloading.html
0
 
Karl Heinz KremerCommented:
This was the wrong link. Sorry about this, give me a few more minutes, and I'll post one that works.
0
 
Linux_HawkAuthor Commented:
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
 
Karl Heinz KremerCommented:
This is the link: http://www.enterprisedt.com/publications/dual_boot.html
It's about Win2K, but XP uses the same mechanism.
0
 
Karl Heinz KremerCommented:
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 11
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now