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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-26-2003, 06:43 PM
|
#1
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Rep:
|
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 06:44 PM.
|
|
|
08-26-2003, 06:47 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374
Rep:
|
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
|
|
|
08-26-2003, 06:57 PM
|
#3
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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
|
|
|
08-26-2003, 07:20 PM
|
#4
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
08-26-2003, 07:39 PM
|
#5
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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 08:38 PM.
|
|
|
08-26-2003, 08:50 PM
|
#6
|
Member
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34
Rep:
|
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....
|
|
|
08-26-2003, 09:03 PM
|
#7
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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 09:04 PM.
|
|
|
08-26-2003, 09:07 PM
|
#8
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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 09:08 PM.
|
|
|
08-26-2003, 09:37 PM
|
#9
|
Member
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34
Rep:
|
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)
|
|
|
08-27-2003, 12:07 PM
|
#10
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
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 08:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|