Solved

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

Posted on 2004-10-28
327 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
Question by:Linux_Hawk
    21 Comments
     
    LVL 44

    Expert Comment

    by:Karl Heinz Kremer
    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
    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
    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
     

    Author Comment

    by:Linux_Hawk
    I will try this solution.

    Thanks for taking the time.
    0
     

    Author Comment

    by:Linux_Hawk
    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
    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
    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
    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
    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
    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
    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
    This is against the EE rules: You need to use this forum to resolve the problem.
    0
     

    Author Comment

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

    Author Comment

    by:Linux_Hawk
    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
    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
    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:
    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
    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
    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
    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
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    877 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now