Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Yo yo,
ive run into a problem dual booting with RH7.3 and winXP. I think ive searched trough most of the many similar subjects here but didnt either find a direct answer or really understand what was said..
I began with having win98se first and then installing linux with grub as dual-boot and it worked fine. Win was on primary partition and linux at hda5. I didnt have any separate boot-partition for linux, but installed grub to the mbr and made a boot-floppy.
Next i wanted to upgrade win to XP. I realized ill loose the mbr, but thought i could later copy the bootsector.lnx 512B to windows and dual-boot that way.
Only later i found out i was supposed to copy the bootsector stuff from the boot-partition i never had... Anyways tried to use a file /boot/grub/stage1 but it only brings a txt "grub" and blinking cursor.
Ive found some advice to reinstall grub some how and then fiddle with the grub-config to include xp as menu-choice, but wasnt sure if it applies here?
Any ideas? If you need some more details, just ask!
What is currently in your /boot/grub/menu.lst file?
The problem seems to be that you copied a file from which Grub can't get any information about executing a kernel. The following from the GNU Grub manual may apply to your situation:
Quote:
Once started, GRUB will show the command-line interface (see Command-line interface). First, set the GRUB's root device4 to the boot directory, like this:
grub> root (hd0,0)
If you are not sure which partition actually holds these files, use the command find (see find), like this:
grub> find /boot/grub/stage1
This will search for the file name /boot/grub/stage1 and show the devices which contain the file.
Once you've set the root device correctly, run the command setup (see setup):
grub> setup (hd0)
So having a Grub prompt is not a bad thing, in this case . For further info, might I suggest the Grub manual at:
#########################################
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
root (hd0,4)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda5 hdc=ide-scsi
title win98se
rootnoverify (hd0,0)
chainloader +1
#########################################
About the Grub prompt i get if trying to dual-boot without rh-boot-disk: allthough the cursor is blinking, i cant input anything..
If you have WinXP installed and you have left room for LInux, you can accomplish what you are trying to do easily by installing Red Hat 7.3 again. After installation asks you how you want to partition your disks there will be an option to determine which bootloader you want and where the bootloader goes. At this point it's VERY IMPORTANT that you give your Windows partition at the bottom a label and make it the primary booting partition. You should use GRUB as a bootloader and write the bootloader to the MBR.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.