LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 07:43 PM   #1
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Rep: Reputation: 15
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

Last edited by Selos; 08-26-2003 at 07:44 PM.
 
Old 08-26-2003, 07:47 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
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
 
Old 08-26-2003, 07:57 PM   #3
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 08-26-2003, 08:20 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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.
 
Old 08-26-2003, 08:39 PM   #5
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
thx I'll try this right now

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

Last edited by Selos; 08-26-2003 at 09:38 PM.
 
Old 08-26-2003, 09:50 PM   #6
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Rep: Reputation: 15
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....
 
Old 08-26-2003, 10:03 PM   #7
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
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 )

Last edited by Selos; 08-26-2003 at 10:04 PM.
 
Old 08-26-2003, 10:07 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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.

Last edited by Mathieu; 08-26-2003 at 10:08 PM.
 
Old 08-26-2003, 10:37 PM   #9
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Rep: Reputation: 15
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)
 
Old 08-27-2003, 01:07 PM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
booting problem prince_linux Red Hat 1 10-22-2005 05:01 AM
Booting problem AbhishekSamuel Linux - Software 1 04-29-2005 01:20 PM
booting problem juanb Linux - Software 2 01-13-2004 10:04 AM
Booting Problem naveedpta Linux - General 1 11-20-2003 04:48 AM
Problem Booting lockejr Linux - Hardware 1 07-21-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration