Siduction Forum

Siduction Forum => Software - Support => Topic started by: GoinEasy9 on 2013/11/27, 02:45:23

Title: (solved) Restoring from grub> prompt on dual boot
Post by: GoinEasy9 on 2013/11/27, 02:45:23
Hi all

I have a laptop that has siduction dual booting with W7 using EasyBCD.  Since my wife uses the laptop, I haven't had a chance to update it in a month or so, and, had approximately 400 applications to update.  After the update, booting to siduction led to a grub> prompt.  The few times this has happened before, I just had to redo the setup for EasyBCD, and, all was well, but, today it didn't work.  I wanted to restore from the grub> prompt, but, it seems all the instructions lead to restoring it on the mbr, and not to the partition.

Example:
grub>root (hd0,4)
grub>setup (hd0)  <-- I can't find an option to setup to the root partition.  (Also, in grub2 the command may be "set" not setup)
grub>quit
exit

My question is, is there a way of using the grub> prompt to restore to the root partition, like I did during install? 

I'm going to poke around using a liveCD.  While I admit the problem may be with EasyBCD, I'd still like to figure out what went wrong, and, since I haven't used the grub> rescue feature in years, I'd still like to learn if it's capable of doing a restore to the root partition instead of the mbr.

Any hints would be appreciated.
Title: Re: Restoring from grub> prompt on dual boot
Post by: GoinEasy9 on 2013/11/28, 03:52:04
I guess no one else uses EasyBCD.  I've also learned that the grub> prompt is coming from EasyBCD and not siduction's grub.  I'm wondering if something has changed in grub2.

Well, next I'll try to reinstall grub from a LiveCD, and see if that makes a difference.  Sigh, last time I had to mess with grub was back when legacy was the norm.  It was much simpler.  I really don't want to access Windows from grub2, so I guess I'll have to work something out.
Title: Re: Restoring from grub> prompt on dual boot
Post by: michaaa62 on 2013/11/28, 10:56:36
There used to be supergrub CD, that might pick the setup from your partitions and boot your siduction, but used it last a couple of years ago to boot some ancient SuSE install of a friend. I am not up to date with it working
Title: Re: Restoring from grub> prompt on dual boot
Post by: dibl on 2013/11/28, 16:03:25
This one (http://www.ultimatebootcd.com/) has a good reputation (I hope I never need it ....).
Title: Re: Restoring from grub> prompt on dual boot
Post by: piper on 2013/11/28, 20:20:29
Why not just put a live cd in and do
======================================

mkdir -p /media/(whatever partition)   
     
mount /dev/(whatever partition) 

/media/(whatever partition)        /usr/sbin/grub-install --recheck --no-floppy --root-directory=/media/(whatever partition)  /dev/(whatever partition)


In example
================

mkdir -p /media/sdb3

mount /dev/sdb3  /media/sdb3

/usr/sbin/grub-install --recheck --no-floppy --root-directory=/media/sdb3  /dev/sdb
Title: Re: Restoring from grub> prompt on dual boot
Post by: GoinEasy9 on 2013/11/28, 22:43:16
Thanks piper for the step by step instructions.  It's been a long time, so, I appreciate it.

@michaaa62 I have supergrub disk, but, from what I remember, it only works with legacy grub.  Supergrub disk 2 is supposed to work with grub2, but I haven't seen a download link I could trust until dibl posted the link to the Ultimate Boot CD, which has SuperGrub and SuperGrub2 in its list of features.  Thank you all for the suggestions and links.

Hopefully, piper's instructions will work.  If not, it may be a problem with EasyBCD.  As soon as I find the time, I'll experiment and post back the results.
Title: Re: Restoring from grub> prompt on dual boot
Post by: GoinEasy9 on 2014/01/07, 00:46:30
I know this thread is over a month old, but, I wanted to document the solution. 
 
While Piper's instructions worked, it still didn't allow me to use easyBCD to boot grub2.  While updating my eeePC (different laptop), the same grub prompt came up.  The only difference was when booting into Windows 7 to try to reconfigure easyBCD, I was notified of an easyBCD update.  So, after updating (actually reinstalling) easyBCD, the grub prompt disappeared and siduction booted normally.  Going back to the laptop that first had the problem, doing a reinstall of easyBCD also allowed siduction to boot normally..  So,  the problem was easyBCD, or the way grub2 interacts with easyBCD.  The reinstall of easyBCD solved the problem.

Thanks for the responses.  I needed a refresher course on grub trouble shooting.