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.
Distribution: Red Hat Linux 8, 9, Ubuntu and Knoppix
Posts: 11
Rep:
Problems with new Ubuntu Kernel, won't load
I installed Ubuntu and went to the 'updates' and it installed a new Kernel. However, when I restart/turn-off the PC it doesn't load. Only way I can get it to work is to choose the other Kernel which ends in a 9, the new one is a 10.
Any reason why Ubuntu isn't booting with the new Kernel? and is there a way to make it boot correctly?.
First, I suggest using the Ubuntu kernel---the "Ubundu" ones have never been much good.....
I infer that, when you boot, you are getting a choice of kernels in the boot menu. You can change the default by editing the grub config file (/boot/grub/menu.lst).
If you look in /boot/grub, you will see ALL of the kernels that are available at bootup. You can disable any of these by hiding them in a folder.
Distribution: Red Hat Linux 8, 9, Ubuntu and Knoppix
Posts: 11
Original Poster
Rep:
Quote:
Originally Posted by Zeistler
Does the kernel start to boot and then fails or doesn't it boot at all?
It begins to boot then fails.
Quote:
I infer that, when you boot, you are getting a choice of kernels in the boot menu. You can change the default by editing the grub config file (/boot/grub/menu.lst).
If you look in /boot/grub, you will see ALL of the kernels that are available at bootup. You can disable any of these by hiding them in a folder.
As for hiding them, would I need to hide all of the above relating to -10? and what would I need to name the folder, and would it still need to be placed in boot?
I can't seem to edit the menu.lst file, it's read-only. How do I edit it?, I assume I log in as root, how do I do this in Ubuntu?.
I was thinking if I installed Red Hat 9 now, would I be able to choose between Ubuntu and Red Hat? as I assume Red Hat would use it's default boot loader once installed.
If you set up dual boot, you can use the bootloader installed by either one. As long as there is boot code in the mbr of the 1st drive, and the grub config is set correctly, you can dual-boot.
to edit menu.lst, use "sudo gedit /boot/grub/menu.lst". Or just "su" to take on root powers (see next)
Ubuntu has only one really dumb thing---disabled root account. To fix, so this: "sudo passwd root". You'll be prompted for your password and then for the new root password. For GUI login, go to System-->Administration-->Login Screen setup. Security tab--->Allow root user to log in...
Hiding the files is really just a housekeeping thing--to keep the options from appearing at bootup, you have to edit menu.lst. Hiding can be anywhere...
When the problem kernel "begins to boot and then fails" what error messages do you get?
Distribution: Red Hat Linux 8, 9, Ubuntu and Knoppix
Posts: 11
Original Poster
Rep:
Quote:
If you set up dual boot, you can use the bootloader installed by either one. As long as there is boot code in the mbr of the 1st drive, and the grub config is set correctly, you can dual-boot.
to edit menu.lst, use "sudo gedit /boot/grub/menu.lst". Or just "su" to take on root powers (see next)
Ubuntu has only one really dumb thing---disabled root account. To fix, so this: "sudo passwd root". You'll be prompted for your password and then for the new root password. For GUI login, go to System-->Administration-->Login Screen setup. Security tab--->Allow root user to log in...
Hiding the files is really just a housekeeping thing--to keep the options from appearing at bootup, you have to edit menu.lst. Hiding can be anywhere...
When the problem kernel "begins to boot and then fails" what error messages do you get?
Thanks.
I managed to edit the menu.lst file, and it now boots correctly.
However, I have a problem adding some applications such as Aegis Anti-Virus, it installs but doesn't add itself to the 'Accessories' like it says it has. Any reason why this is occuring? and how I can get Aegis to run.
As for setting up a dual boot code configuration between
Red Hat 9 and Ubuntu, how would I do this?.
Distribution: Red Hat Linux 8, 9, Ubuntu and Knoppix
Posts: 11
Original Poster
Rep:
Quote:
Originally Posted by pixellany
Yeah!!!--that's what we like to hear/
Thanks for the help. I would still like to find out the reason why the .10 Kernel doesn't work. Also does this effect the way programs are installed, and the updates since it mentions they need the .10 kernel.
Quote:
What is your current configuration? Just Ubuntu?
Partitions and drives? How many, size, etc.?
Easy answer: post output of fdisk -l (ell) this must be run as root (or with sudo)
This is the output of fdisk:
Disk /dev/hda: 20.8 GB, 20847697920 bytes
255 heads, 63 sectors/track, 2534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2489 19992861 83 Linux
/dev/hda2 2490 2534 361462+ 5 Extended
/dev/hda5 2490 2534 361431 82 Linux swap / Solaris
Just using ubuntu at the moment, tried to install Red Hat 9 again and it was very slow. Any reason why it was slow, it took around a few minutes for web pages to load.
IMHO--the first thing you need to do if you are going to be dual-booting, is to get a bigger harddrive. With 2 or more OSes.... plus data, you are going to run out of space very quickly.
This aside, the steps for dual-boot are:
Create empty space on the drive--eg using fdisk to resize your main partition. You will need to do this from a LiveCD, since you can't re-size a partition whill running from it. Be sure to backup important data first.
Install OS #2, letting its installer set up a new partition in the empty space.
Allow the new install to install the bootloader--it should see Ubuntu and automatically update the grub config file.
Since you already have grub in the mbr, you can skip this step in the new install--you will then have to manually edit the grub config file (/boot/grub/menu.lst)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.