Linux - NewbieThis 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.
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.
GRUB is a bootloader. This is what loads up your operating system when you boot your computer. If you are getting this, it probably was not configured quite right during the install. If you remember what partition you installed linux on (/dev/hd....) then I could likely help you at least boot into your system so you could fix it to boot to the GUI like you want.
grub> is the grub prompt. grub is one of two common bootloaders for linux, the other being lilo. usually, grub is configured to automatically boot the system, though not always. I believe you can type help at the prompt for some help on loading your system with grub.
Originally posted by jrtayloriv GRUB is a bootloader. This is what loads up your operating system when you boot your computer. If you are getting this, it probably was not configured quite right during the install. If you remember what partition you installed linux on (/dev/hd....) then I could likely help you at least boot into your system so you could fix it to boot to the GUI like you want.
jrtayloriv
I believe it's the hda2 partition, but I'm at a loss from there.
did you create a /boot partition in addition to the root (/) partition? or did you just create one linux partition and install everything on there?
basically all you need to do is look up how to write a grub.conf file (the config file that is used when installing grub) and run those commands from the grub prompt to get your system up and running
assuming your linux boot partition was hda2 and your root partition was hda3 you would say something like this: (type enter after each one)
NOTES:
1) the first command root tells it where to look for the kernel NOT where your root partition is, so on the next line after the "kernel" command, /linux-kernel-filename is the relative path from wherever you told it to look for the kernel.
2) The second part of the second line tells it what you actually want to mount as the root partition after it has found the kernel.
3) remember this is assuming that you did create a /boot partition and that your kernel is located in /boot. if you did not create one, and instead installed everything on one partition, you would still set the first line to root(hd0,1) BUT also set root=/dev/hda2 in the second line with the kernel file path being relative to the "/" directory.
Feel free to ask if you have any more questions or if this does not work out for you. Try searching for how to work with grub though, it will serve you well in the future
hope this helps,
jrtayloriv
Last edited by jrtayloriv; 01-29-2005 at 01:49 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.