June 12, 2014

How do I repair WBM/GRUB from GRUB rescue/ Live CD?

I recently tried to remove my Linux Mint partion (sorry Linux community, but I'm just not ready for you yet) from my Inspiron 1545. Whilst it was deleting the partion the laptop crashed and whenever I attempt to re-boot I get a gru rescue error. The WBM rescue disk I created does not work (GRUB gives an 'unknown file system' error while loading it). I have attempted to use a Live CD but it will not boot whilst the HDD is inserted. If I remove the HDD I can access the Live CD, but if I try to re-insert it the CD freezes and I am forced to turn off the system. Is there anyway to repair either bootloader and access Winodws 7?

Using grub command line Quick-Start Guide or refer to http://www.gnu.org...

Using grub command line Quick-Start Guide or refer to http://www.gnu.org/software/grub/:

First type in your root partition as environment variable.
Note tab gives you a completion:
set root=(hd0,5)

On a apple with GPT for example:
set root=(hd0,gpt5)

Then tell grub what kernel to load and pass kernel parameters.
Note there's an experimental multi-boot feature:
linux /boot/vmlinuz root=/dev/sda5 ro verbose

Initram Filesystem used to start the kernel:
initrd /boot/initrd.img

optional specify GFX payload - your screen resolution:
set GFX_PAYLOAD=1024x768

Finally boot your kernel:

Like  (0 likes)