GRUB problem : "Loading Stage 1.5" in infinited loop
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
GRUB problem : "Loading Stage 1.5" in infinited loop
Hello,
I've a ABIT BX133-RAID motherboard (chipset Intel BX) with an embedded HighPoint (HPT) 370 controller for 4 additional UDMA100 hard disks.
The Intel BX IDE connectors are IDE1 and IDE2. The HPT IDE connectors are IDE3 and IDE4.
I have a 80Gb WD connected as primary on IDE3, a 80Gb Seagate connected as slave on IDE3, a 80Gb Samsung connected as primary on IDE4 and a 40Gb Maxtor connected as slave on IDE4.
I've first installed Windows XP on C:\ on the first HD; then used the other 2 80Gb HDs for additional partitions. Everything went fine and system run this way for a week.
Then I got a copy of Ubuntu 8.04 and installed it on the 40Gb Maxtor (slave HD on IDE4).
So Ubuntu recognized the hard disks as hde, hdf, hdg and hdh. Ubuntu was intalled on hdh and I've choosen to install GRUB during the automated installation. Unfortunelty I don't remember exactly what Grub asked me by the time (where to install itself), I think it was in hdh0, but I'm not sure.
Then, after finishing installing Ubuntu, I rebooted it, Grub menu loaded correctly and I loaded Windows. Windows loaded fine and I booted it again, but this time, the loader gets to GRUB 1.5 while booting then starts a reboot, indefinitely. I must use the Ubunt disk and reinstall Ubuntu to break out. Then the system works once and I can boot properly to XP or Ubuntu; the next time I reboot I am again in the loop...
I've gone through everything I found on the internet regarding seting up GRUB again (setup hd3,0), reinstalling in (grup-install bla bla bla) but nothing works!
My suspicious is the slave HD on the second HPT controller (that Linux recognizes as hdh), but I'm definetly not sure, this is a long shot. I'm thinking in removing it and putting on IDE1 (UDMA33 controlled by Intel chipset, but I would lose the performance boost that's intended with this board) as primary then reinstall everything one more time.
But just to make everybody know, I didn't install the OSs as RAID; they're only connected to RAID IDE connectors, but there are no RAID setup for the WindosXP nor for the Ubuntu.
Anyhow, I'll check the article and see if/how it applies to my problem.
1) like I said in the previous post, I didn't install Windows neither Ubuntu as RAID; do I still need to install grub on all hard disks?
2) assuming YES as answer for the above question, should I do as described on the article? (so, in my case, I need to enter root (hd0,0) + setup (hd0) for the primary HD on IDE3 (Windows), root (hd1,0) + setup (hd1) for the slave HD on IDE3 (Windows), root (hd2,0) + setup (hd2) for the primary HD on IDE4 (Windows) and, finally, root (hd3,0) + setup (hd3) for the salve HD on IDE4 (Ubuntu)?
3) different question: what if I overwrite the MBR using Windows Recovery Console from WindowsXP Install CD (using the fixboot command)? Will it destroy grub? Will I be able to enter Ubuntu afterwards? Is there any way to use the Windows boot loader to load both WinXP and Ubuntu? Or it's compulsory to have a Linux loader like GRUB or LILO?
You can overwrite the mbr as many times as you want without destroying your windows installation. The mbr points to the partition to boot from. To help more we need you to post your sudo fdisk -l using your ubuntu as a live cd. The procedure you are mentioning above is chainloading. Here is a good article
You can overwrite the mbr as many times as you want without destroying your windows installation. The mbr points to the partition to boot from. To help more we need you to post your sudo fdisk -l using your ubuntu as a live cd. The procedure you are mentioning above is chainloading. Here is a good article
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd3,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c92660b5-2b8c-4895-8501-9591ba4f86c8 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd3,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c92660b5-2b8c-4895-8501-9591ba4f86c8 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd3,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hde1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
(END)
It is almost compulsory to use grub or lilo for dual boot.
From within Ubuntu, if you simply do
#sudo grub-install /dev/hde
Then all your problems may be solved
Ok, just did it:
Code:
root@ubuntu:/boot/grub# grub-install /dev/hde
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hde
(hd1) /dev/hdf
(hd2) /dev/hdg
(hd3) /dev/hdh
root@ubuntu:/boot/grub#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.