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.
For the sake i installed the new kervel version 2.6.26..i will tell the steps which i done here..
step 1)tar -xzvf linux-2.6.26.tar.gz
step 2)cd linux-2.6.26
step 3)make menuconfig
(I didnt do any changes)
step 4)make
step 5)make modules_install
step 6)make install
After i typed this i got the following things
sh /home/sharief/Desktop/linux/linux-2.6.26/arch/x86/boot/install.sh 2.6.26 arch/x86/boot/bzImage System.map "/boot"
In order to use the new kernel image you have just installed, you
will need to reboot the machine. First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.
Checking for ELILO...No
GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/vmlinuz-2.6.26
root@sharief-desktop:/home/sharief/Desktop/linux/linux-2.6.26#
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.26 ie new one
root (hd0,0)
kernel /boot/vmlinuz-2.6.26 root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro quiet splash
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
when i reboot the system i entered in to new kernel i am getting this error
starting up.....
uncompressing linux...ok,booting the kernel
[ some number]kernel panic : not syncing; VFS; Unable to mount root fs on unknown-block (0,0)
Ok, you can probably make the boot work without the initrd line as in your previous entries. However you need to make some changes in the kernel config.
Run "make menuconfig" from the kernel source folder. In the file system section, compile in ext2 and ext3 support (mark them with * and NOT 'M'). I presume you use ext3 for root. That should be enough.
After the kernel is compiled, you most likely need to remove those UUIDs from the new menu.lst entry and replace it with root=/dev/hdax
You should have the same in /etc/fstab. I presume you have a single HD on this machine? If you boot with one of the entries that has an initrd, your harddrive is probably called /dev/sda. So run "fdisk -l /dev/sda" from root. It will list partitions. Find the one that is root and in menu.lst and /etc/fstab use the same number (after the sda part) there. The drive will most likely be renamed from sda to hda when you boot without initrd, but the number will be the same. I have root on the second partion on my machine. With initrd running it was called /dev/sda2, without it is called /dev/hda2.
I think the UUID stuff only works with initrd. So alternatively you could build a new initrd.img file, but I'm not sure how to do that on your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.