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.
i just installed kubuntu (the hard way, with wubi), but now that it installed properly, i can't access it. When the system boots i get thrown straight into windows, with no GRUB. i pulled back up the livecd and tried fixin grub with grub-install and i keep getting the error stage1 not read correctly. i used grub-install --recheck, it prompted me to generate GRUB menu.lst, i agreed, then it couldn't find /boot/config*. it did finish updating menu.lst though.
Got a feeling you typed "grub" instead of "sudo grub" causing the kernel refusing to let you see the stage1 file because you did not ask for the root privilege with "sudo".
The "setup" command did manage to find the stage1 file and now Grub has been installed and will boot to at least a Grub prompt.
If you get a Grub prompt that means Grub has been installed. If you see a boot menu that means the Grub's configuration file /boot/grub/meni.lst exists. You control Grub by editing its menu.lst. If there is no menu.lst you can write one yourself.
If you see no booting menu but a Grub prompt you can use it to boot up "manually" any system that has ever been invented on a PC.
I am not sure about the linux entry, it make sense to me (but i have never tried this) that if you supply the same information you did about windows about linux it should work, you just need to know where linux is, the kernel you have. if it does not work you can always go and change it again...and i bet the linux entry is already there anyways Keep in mind to the the top entry under the "## ##End Default Options##" will be your default boot OS so if you want linux be sure to put it at the top.
Be sure to save the file. next time you reboot you should see windows on the grub list.
If you have a Grub you can boot up kubuntu manually this way
(1) Define the root partition you wish to boot as you already know Kubuntu is in (hd0,5) by command
Code:
root (hd0,5)
(2) Type the "kernel" command and half-guess the kernel name and let Grub to find the rest
Code:
kernel /boot/vmlinuz
in the above do not press return but hit the "tap" key. Grub will show all the files name that match the front end name of "vmlinuz". There may be several choices. Select any one and type the full name and add "ro root=/dev/sda6" like this
This is the simplest way of booting up a Kubuntu. When I try mine Kubuntu has only chice.
(3) Repeat Step (2) but for the "initrd" command. You hit the "tap" after finishing
Code:
initrd /boot/initrd
Kubuntu has more than one choice. Just choose one that has the same tail.
(4) Give the green light to Grub to fire up the Linux
Code:
boot
I have tried on my Kubuntu and can confirm it works OK. That is the way I boot any Linux that does not have a boot loader installed. Some distros may need "rw" instead of "ro" (read-write instead of read-only parameter).
Give it a try and if you still have a problem post here the output of Grub command
Thanks for all ur help. you're making my linux experience a lot nicer... i went through all the steps and finally figure dout what was wrong. when i installed from the liveCD (via wubi) it didn't create any file in boot. from the help here i constructed the grub files, and gave it a crack, to no avail. with a bit more searching, it turns out that the kernel and ramdisk files hadnt been copied from the cd. i found them under the wubi folder and copied the kernel and ramdisk into the boot folder.
Joila, it works!
Thanks again, for a linux newbie, it's reassuring to no that there are people willing to help. Dpending how kubuntu stacks up with all the reasons i use windows, we may have a new convert.
We are just PC users enjoying Linux. Don't see any reason why can't you do the same.
You will find as far as booting goes Linux is light years ahead of the M$ systems. You can round up every M$ system that has ever been sold by M$ and install them in the PC and a Grub prompt is all you need to fire everyone up. The Grub's configuration file menu.lst is just a script file containing the manual commands you use, with the addition of the "title" statement to tell yourself the operating system you are about to boot up.
Booting is child play in Linux if you bother to understand it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.