D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Grub2 / grub update

 

On Sun, Oct 25, 2009 at 09:11:55PM +0000, Admin wrote:
> Henry Bremridge wrote:
 > 
> > Question
> > 
> > 1/ does anyone have an idea how to go back to grub from grub2? (From what
> > I have seen on Google, this appears to be unwise but ...)
> 
> I wouldn't bother.
> 
Noted

> > 2/ Does anyone have any idea how I can move forward. ...
> Usually the easiest solution to grub loader issues like this is to boot
> from a CD mount all the relevant partitions in a folder (/mnt/root) so
> the paths will be correct when you chroot to it, then chroot ( chroot
> /mnt/root /bin/bash).
> 
> Then you can use the usual tools, or commands to straighten it out.
> 
> In the old grub this was "install-grub" but I can't find the box I stuck
> grub2 on to check if it changed.

MANY THANKS

a) used systemrescuecd to boot into machine (using "rescuecd root=auto") That got me 
as boot and with a huge sigh of relief into my system

b) aptitude purge grub (cleared all various tinkerings)

c) aptitude install grub, installed grub2 from scatch and accepted
defaults

d) vim /boot/grub/device.map and then changed sda1 to hda

e) Reinstalled the latest kernel (as part of all the above I had somehow removed the 
kernel from /boot/

f) Restarted machine

That is enough of a scare for one night. Now to back up my hard-drive
before I do anymore damage


-- 
Henry
Photocopies or faxes of my signature are not binding. 
This email has been signed with an electronic signature in accordance with 
subsection 7(3) of the Electronic Communications Act 2000.
Digital Key Signature: GPG RSA 0xFB447AA1 
Sun Oct 25 22:16:05 GMT 2009

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html