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.
It's been a while since I installed GRUB manually. I need some help with a failed install. This is on an older server that recently experienced a bootloader issue (accidently created by myself!) Anyway, I tried to repair my damage by installing GRUB (version 0.97). The horrible cellphone screenshot pictures below tell the story of what I tried. The first shows that the GRUB files exist on the disk. The second shows what I did on the GRUB commandline to try to install it. The third shows what happens when I try to boot (just a black screen with the message you see on the lower right, and a flashing underline cursor on the lower left). The GRUB files were created long ago when Debian Sarge was installed on this system. However, the system was never booted via GRUB. At that time I had the XOSL bootloader installed and used that. So while the GRUB files I'm trying to use now have been present for years, they have never been used. XOSL has been wiped out, so I cannot revert to that (not that I would want to anyway).
All the screenshots below were taken when I booted the system from a SystemRescueCD Linux LiveCD. And it was from that LiveCD that I ran the "grub" command.
Any hints on what I did wrong? Suggestions for how to do it right? This is for a computer at my work, and repair is urgent. Thanks in advance!
If it's an old piece of kit, the BIOS may require the boot flag to be valid. It makes no sense to have it on a logical partition anyway (M$oft don't allow it).
With that setup, I'd put it on the extended (makes no sense either, but usually works), or try it on one of the pv's - that I haven't tested.
I found the problem. I was running grub off of the SysRescueCD. Installing using that version of grub, with a different version of the stage1/2 files existing on the harddisk did not work.
From a SysRescueCD boot, I mounted the relavent filesystems from the hard disk (/, /usr, et.al.) Then I chroot'ed into that environment and ran grub from there to do the setup.
This worked, and the grub installation is now functional. Thanks for your reply syg00!
It makes no sense to have it on a logical partition anyway (M$oft don't allow it).
If you're referring to the general wisdom that Windows cannot be installed on a logical partition, that is incorrect. I have installed it on a logical a couple of times. Works fine. There are a few tricks to installing it this way however.
I haven't messed with Windows for a few years, having switched pretty much to totally Linux. It is possible that newer versions of Windows have made booting out of a logical easier, or possibly they have made it harder. Back when I was booting Windows out of a logical, it was Win2000.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.