I did not install ANY boot for openSUSE, and now I cannot boot into it.
I think the answer may be to use NeoGRUB within EasyBCD, but I need some help configuring it.
I did not install ANY boot for openSUSE, and now I cannot boot into it.
I think the answer may be to use NeoGRUB within EasyBCD, but I need some help configuring it.
Here is the sample NeoGRUB code from the site:
# NeoSmart NeoGrub Bootloader Configuration File
#
# This NeoGrub menu.lst file should be located at \NST\menu.lst of the boot drive.
# Please see the EasyBCD Documentation for information on how to create/modify entries
title Ubuntu
find --set-root /boot/vmlinuz-2.6.17-10-generic
kernel /boot/vmlinuz-2.6.17-10-generic ro root=/dev/sda2
initrd /boot/initrd.img-2.6.17-10-generic
The instructions are here:
NeoGrub Linux - NeoSmart Technologies Wiki
Sorry I am still new at this. I am not used to not being the expert. Thanks for all your help.
I do know that where it says sda2 above, it should be sda6 for me.
When I added an entry using EasyBCD to the correct partition, it says this:
Name: openSUSE
BCD ID: {d2c7077a-e0b5-11df-bdbc-a7a8ff86a8bf}
Drive: C:\
Bootloader Path: \NST
st_linux-B1858EDC50DDBA56845B73EEB85EDA96.mbr
This should be enough for you to help me I think.
Dude
I think you have been misinformed about ‘Grub’
It works better than any of this other ‘stuff’ you are messing with.
But while I wait, I am going to give it a shot, tell me what I need to change:
title openSUSEorWhateverIwantToCallIt
find --set-root /boot/vmlinuz-MYCURRENTKERNEL
kernel /boot/vmlinuz-MYCURRENTKERNEL ro root=/dev/sda6
initrd /boot/initrd.img-MYCURRENTKERNEL
Please tell me what MYCURRENTKERNEL should be.
Also is “vmlinuz-” and “initrd.img-” correct? To me it sounds like you would use that for a virtual machine…
Maybe you’re right. I am open to advice.
I replied to your other post: http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/453239-how-add-boot-records-if-i-did-not-install-any.html
Really?.. lol!
Absolutely. =D
Here is the example for sda2:
grub
grub> find /boot/grub/stage2
(hd0,1)
grub> root (hd0,1)
grub> setup (hd0,1) # install in bootsector of sda2
grub> setup (hd0) # install to MBR
grub> quit
How to install on sda6?
And how to use Parted Magic to do so?
And will this be all I have to do? Or will I need to configure it?
Thanks in advance!
please_try_again,
here, look, I made you an avatar which matches up perfectly (If you use it, I will not use it as my avatar):
First, PartedMagic is for partitioning your drive(s), not installing the bootloader (grub). You’re confusing us. You don’t say what version of openSUSE you’re using and the examples you show are for Ubuntu which uses a different bootloader (grub2, not legacy).
I’d recommend you read the man page for grub. To install grub on a single drive system, do the following:
root (hd0,#) {where # is the partition # counting from 0, sda6=5)
setup (hd0,#) OR setup (hd0){for MBR}
Tom
No. Well … yes but no. Many of us use PartedMagic to reinstall Grub.
You’re confusing him.
No - Yes, Ubuntu uses Grub2. No, I haven’t seen any Grub2 example here.
I’d recommend you do that too.
Even more confusing: The latest releases of Parted magic don’t have grub legacy
You need this one: http://dl.dropbox.com/u/10573557/pmagic-4.5.iso
arf ! …
The OP will be very happy about that.
The Grub version in PartedMagic has changed. You have to use the one in the link provided by caf4926 in the post above. The one you downloaded won’t work. I’m sorry about that.
Yes, I figured Parted Magic is for Partitioning; I thought he was getting at something else. * But I know how to partition and I use gParted or Windows Disk Management.
I ended up and reinstalled. Installed the default boot options, and now all is well.
Thanks for all your help!*
Hi please_try_again;
Thanks for correcting me on that. I’ve used PartedMagic many times but not for repairing Grub. Not too old to learn new tricks (yet).
Tom
Yep but it might change because (something I didn’t know):
So if PartedMagic now uses Grub2, it might be good enough to reinstall Grub2 on Ubuntu but it won’t help in case of openSUSE. IMHO we need to make this information more obvious … maybe stick the link above in this subforum (?) or finally stop recommending the use of PartedMagic to reinstall Grub.
You can skip using the neo_grub utility.
use easybcd with the Linux/BSD option.
for opensuse, use type: grub legacy, Name=whatever, Device=the boot/root partition of openSUSE. usually sda4/5 (depends upon your particular configuration).
sometimes, you will have to experiment with all the non-windows partition.
last option is to use auto!
reo