LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-20-2013, 07:29 PM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Failing GRUB install: Need advice


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!

http://imageshack.us/a/img854/8057/6uyx.jpg

http://imageshack.us/a/img163/4374/ngx0.jpg

http://imageshack.us/a/img189/7976/hdje.jpg
 
Old 07-20-2013, 09:05 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 07-20-2013, 10:25 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Original Poster
Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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!
 
Old 07-21-2013, 01:56 AM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Original Poster
Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by syg00 View Post
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.

Here is an old tutorial, but it expains how: http://www.goodells.net/multiboot/

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need advice about removing a failing HD... cbjhawks Linux - Hardware 5 02-05-2008 08:23 AM
OpenSuSE 10.3 failing to install GRUB w/nvRAID ciaran_skye SUSE / openSUSE 1 01-04-2008 02:16 AM
Fedora4 Install and Raid control with grub failing to boot blackman890 Fedora 1 03-18-2006 03:24 PM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
Xconfigurator failing, need advice aaroncaleb Linux - Newbie 4 07-16-2003 12:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration