GRUB booting into it's command prompt .. after choosing Windows on last install~
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.
My problem is... whenever I boot to Windows ... when I restart my computer it will automatically go to the GRUB command line(instead of the "Choose your OS here!" graphical mode). I can start windows fine if I put those lines above.... but that just sucks if I have to do that to boot to linux/windows.
SATA hd has WINXP and as secondary slave drive
IDE has FC1 which is slave master drive
How does this happen, and how do you solve it? I currently removed the IDE ribbon off the computer so I can boot back to windows... but how do I overcome the problem to dual boot easily?
If grub is booting to command-line, it happens in /etc/inittab. Look for the lines which read:
# the default runlevel is defined here.
id:3:initdefault:
The default runlevel is 3 (command-line or text-mode). Edit that line to read id:5:initdefault: to make the default GUI instead of text-mode.
If that isn't the situation with your config, I'd suggest that, when Linux boots to command-line, just enter the command 'init 5' (without quotes) to complete the boot process into GUI mode, until you get it figured out.
PS Apologies all around. Are those lines in the /boot/grub/grub.conf? If not, put them there so that you don't have to enter them manually.
And, since you've shown us what the grub.conf looks like for windows, what do you have in grub.conf for FC?
Last edited by bigrigdriver; 11-28-2004 at 08:35 PM.
Unforunately, I cannot boot with 'init 5' because this is the GRUB command prompt. The above lines are in grub.conf .. sorry but I'm not 100% positive sure on the other lines for grub.conf as I didn't get a chance to write them down. Nevertheless, this is stock FC1 install so it may look normal.
I remember now what I did... I reinstalled FC1 because of this error... and it still does it for some reason! Now.. I can only reinstall/reformat/etc to boot to linux again.
Thanks,... but are there any other suggestions? I'm very patient just need the right answer
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
Quote:
Originally posted by bigrigdriver If grub is booting to command-line, it happens in /etc/inittab.
Umm... no.
He's getting a grub prompt, not a bash (or other shell) prompt. Is that hide/unhide/map stuff necessary in order for sata and raid to work? I suspect that is the source of the trouble. Not sure how to fix as I don't have much experience with sata or raid. I think that /boot/grub is unavailable on windows reboot because of the hide/map stuff.
The windows lines in grub.conf roughly state that to boot to the SATA drive normally as if grub.conf didn't even existed.
Unfortunately, I do not know the source of the problem ... but you may be right. I'll check in a few if it is the problem. But that means ANOTHER reformatting of the IDE.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.