LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-02-2015, 03:52 AM   #1
MrMe01
LQ Newbie
 
Registered: Sep 2015
Posts: 13

Rep: Reputation: Disabled
Rolling Grub2 back to Grub on Debian Jessie (8)


I'm trying to run 'grub-install /dev/sda', it stays stuck on 'Searching for GRUB installation directory ... found: /boot/grub' after leaving it for an hour, nothing happens. I have tried removing all Grub related packages and installing grub-legacy several times, to no avail.

The machine is quite an old one and is an offline sandbox for a friends kid who likes to tinker with older OSes. The hard disk has failed in it so I have donated an old drive to get the machine back up and running for him, as the menu.lst is a lot easier to modify than the newer grub.cfg, he would like the older grub back. Can anyone shed light on this?

I've done a few searches particular for Debian 8, but the closest I can find is for Ubuntu here, https://help.ubuntu.com/community/Gr...to_GRUB_Legacy

I have tried to use both the grub rescue disk and the command line listed in the link above.
 
Old 09-02-2015, 10:55 PM   #2
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 164

Rep: Reputation: 18
The MBR must point to wherever grub lives.

The grub config files and menu.lst must name where the bootable os lives.

Some of the old grub versions try to install grub on wherever you booted from. That's not what you want. After booting from your rescue disk, you must verify that the MBR goes to the grub you want and those grub files go to the os you want.

Have you done that?
 
Old 12-07-2015, 03:11 PM   #3
Weeszschneh
LQ Newbie
 
Registered: Dec 2015
Location: Germany Saxony
Distribution: Debian
Posts: 1

Rep: Reputation: Disabled
I think I ran into the same problem. I've got an ten years old server, booting via CF-card. After setting up Jessie on a host with VirtualBox without problems and with grub2, the server didn't boot from the CF-card. Trying to follow the mentioned procedure to roll back to grub-legacy, even with "native installation" the "stage1"-file could not be found.
After installing grub-legacy with apt-get the /boot/grub directory is not populated with the grub files (stage1 ..).
The solution was to copy the files in /usr/lib/grub/i386-pc into /boot/grub and redo the "native installation".
I could imagine that the package (deb installation archive) could be set up a little bit better, but I am not familiar with creating packages. So my question: A feature or a bug?
Hope, it helps.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual boot jessie/mint lvm, grub shows debian and mint, all only boot debian slacker_ Debian 12 03-12-2015 01:13 AM
[SOLVED] Grub2 reinstall after Debian downgrade from Jessie to Wheezy chris.j Debian 1 01-04-2015 03:07 AM
[SOLVED] debian jessie efi grub read error acer e1-532 zomane Linux - Laptop and Netbook 1 04-19-2014 03:02 PM
grub rescue> stuck . . . is grub2 only a Debian problem? jenaniston Debian 4 02-13-2010 04:39 AM
GRUB Error 18 and problems rolling back to WinXP GapToN Linux - Hardware 2 04-15-2007 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:44 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