Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed my Suse 9.2 version on a single hard disk with multiple partitions and a Win Xp OS at that time. Now due to a series of problems I was forced to format the Windows partition so as to reinstall the system.
I have set booting from cdrom first in bios and then expected to run the windows setup, yet grub starts all of the time.
I have read in the administrator's guide grub related issues. I have restored the previous MBR, yet I can't boot from the Win bootable CD.
Please help!!!
I've seen this before. Rather than try to boot from cdrom first, try removing your hd (not physically) as an option for boot (in the bios). In other words, you should have only one boot device listed in your bios, and that is your CDRom. You will still be able to access your hd, just not boot from it. After you are finished, just reboot and change your bios back. Most of the time this will work.
So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.
By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.
You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.
Thank you very much, yet there are still 2 minor issues:
1. I don't have a boot.ini as my WinXP system has been erased, I only have SuSe now.
2. I don't use a floppy disk
I have noticed that you can boot to LINUX, so you may update your kernel to 2.6.13.1 or later and enable the KEXEC option. Download two utilities KEXEC and GRUB4DOS, and run this way:
kexec -l grub.exe
kexec -e
this will enter the grub environment and you can boot the memdisk and sbm.bin as stated above.
thanks a lot, i have tried to make a bootable cd option in grub but haven't succeeded.
as i was very irritated i purged the mbr to it's initial values.
too late.
i will try your alternative as soon as i get the chance.
Here's what I did:
I downloaded grub4dos.
Using the yast2 or yast menu in Suse I restored the MBR to the state prior to the Linux distribution install. Therefore when I boot grub doesn't start anymore. I finally managed to boot from cdrom and installed winxp.
Obviously xp started automatically. (power on self :-) )
While in xp I installed totalcommander and a plugin to view reiserfs and ext3 partitions. I backed up all my important files from Linux, archived
them,mailed them and copied them to the ntfs partitions.
I also copied the grldr and grldr.mbr files from the grub_for_dos-0.4.1pre32.tar.gz to my c:\ ntfs partition where winxp is installed. I opened c:\boot.ini and appended the following line
"C:\GRLDR=START GRUB" to the end of the file.
Now when I boot there are 2 options: XP and STARTGRUB.
When I choose STARTGRUB there I find the options in my /boot/grub/menu.lst
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.