LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with booting and grube (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-booting-and-grube-86047/)

Selos 08-26-2003 06:43 PM

Problem with booting and grube
 
so, i finaly got my hdd in the new comp an re-installed red hat 9.0, but once i had finished i was faced with new probs :/

my system looks like this

IDE primary master (hds) with winXP
IDE primary slave (hdb) with RH 9.0

during install of redhat i choosed to install grube on hdb becaus i was not sure if installing the bootmanager would kill my windows.

ok first reboot without boot disk, xp loads instead of the bootmanager. ok, changed the boot-part in my BIOS so that hdb gets bootet first, but instead the graphical bootmanager i had on my old PC while linux was the only OS installed, i get a text interface grube> and i can not login because it refuses to load the kernel. i told him the path to the kernel (i found the syntax in a manual) bit it did not work.. with boot disk it works but i do not always want to use this disk :/
so is there a possibility to "repair" grube (whatever it has) or can I installthe bootmanager on my windows HDD woithout killing it? (if so, how do i do this? *did not found s.th. :()

am thankfull to anyone who helps me :)
and thanks for reading this :)

exodist 08-26-2003 06:47 PM

lol, its grub, not grube, and I am afraid I do not use it, but Iassume then when you get grub> type enter and nothing else it might work, if not try linux enter

Selos 08-26-2003 06:57 PM

hehe, but under my name there stands Newbie, and thats not for nothing or by joke *g*
but i'll write behind my ears :)

i already tried only pressing enter, but then it only opens a new line with grub(e)> :P
I'll try entering linux :) thx for help :)

Mathieu 08-26-2003 07:20 PM

Quote:

can I install the bootmanager on my windows HDD without killing it?
Yes, you can install GRUB on the windowsXP HDD. It will not hurt winXP.

If you are still having problems, you can use your Boot Disk to boot the system.
Login as root and type the following command:
Code:

grub-install /dev/hda
This will install GRUB in the Master Boot Record on your primary master.

Selos 08-26-2003 07:39 PM

thx I'll try this right now :)

edit:
ok i got it with the command above, thanks a lot :)

Bullzeye 08-26-2003 08:50 PM

does grub work better then lilo with xp? I did an install and let lilo go to mbr and bam no xp. Was easy to fix, boot with xpcd, recover console fixmbr reboot...

But right now I am booting from floppy, would rather boot from hd....

Selos 08-26-2003 09:03 PM

yes it's working fine, i performed the command as above with root-login and rebootet from my winXP HDD and voila, the choice window apeared as preferred :)
i did never use lilo but i am grub works fine!


This is what grub looks like (not mine but in general :) )

Mathieu 08-26-2003 09:07 PM

Bullzeye:

Personally, I prefer GRUB.

However with Lilo, you should be able to boot windowsXP.
The installation may not have automatically added the entry in /etc/lilo.conf to boot winXP.

Bullzeye 08-26-2003 09:37 PM

what command goes there? is it going to be same for grub? I am probably going to boot to floppy then install grub? or boot using lilo then install grub? put them on mbr? or on hda1(the xp dir)

Mathieu 08-27-2003 12:07 PM

No, the configuration for GRUB and Lilo are different.
Quote:

I am probably going to boot to floppy then install grub?
From this, may I assume you want to install GRUB.
If yes, use the command posted above.
Also, if you want help setting up GRUB to boot winXP, post the output of the following command.
Code:

fdisk -l
And once you have installed GRUB, the location of the GRUB configuration file is /boot/grub/grub.conf


All times are GMT -5. The time now is 12:18 AM.