GRUB recovery

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

GRUB recovery

Postby apiaio » Sun Dec 11, 2011 13:54

Hi there.
In the past I used LILO. When I needed to recowery LILO I simply chrooted into the system using live CD run command
Code: Select all
/sbin/lilo
and everything was OK. Now I will need to recovery GRUB I am afraid, but don't know how :oops: .
Any advice appreciated.
apiaio
Growing Hen
 
Posts: 115
Joined: Thu Jul 30, 2009 19:44


Re: GRUB recovery

Postby apiaio » Sun Dec 11, 2011 15:46

Thanks but AFAIR there is GRUB 1.xx installed.
apiaio
Growing Hen
 
Posts: 115
Joined: Thu Jul 30, 2009 19:44

Re: GRUB recovery

Postby dunsurfin » Sun Dec 11, 2011 17:43

If you have legacy grub then try supergrub disc. It's worked well for me.
http://www.supergrubdisk.org/
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: GRUB recovery

Postby Fitzcarraldo » Sun Dec 11, 2011 18:02

apiaio wrote:Thanks but AFAIR there is GRUB 1.xx installed.

GRUB 1.xx is GRUB 2. GRUB Legacy is 0.9x.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: GRUB recovery

Postby apiaio » Thu Dec 29, 2011 15:29

Finally I was forced to reinstall Grub2. I followed
HOWTO:Mount LVM
, chrooted into mounted LVM partition after that with the help of
HOWTO:Restore Grub2
created the new grub.cfg. When run command grub-mkconfig -o /boot/grub/grub.cfg there were message
Code: Select all
generating grub.cfg
Cannot find list of partitions! (Try mounting /sys)
done.

After reboot I can see
Code: Select all
~ub>

Info: I reinstalled GRUB because in the past Sabayon was installed on /dev/sdb now is the same installation on /dev/sda
apiaio
Growing Hen
 
Posts: 115
Joined: Thu Jul 30, 2009 19:44

Re: GRUB recovery

Postby apiaio » Thu Dec 29, 2011 15:55

Succeeded little. Before run grub-mkconfig -o /boot/grub/grub.cfg I mounted /sys
Code: Select all
mount -o bind /sys /LVM/vg_ .../sys
Now Grub shows and boot Windows from sda1, but no Sabayon available
apiaio
Growing Hen
 
Posts: 115
Joined: Thu Jul 30, 2009 19:44


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest