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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

i finally had some time to try and build a new kernel. As i already said, this was my first time doing so. I followed those instructions. I decided to build kernel 3.7.10. I downloaded it, verified the GPG and found a generic config file from here . Everything went fine until i had to run

Now i am not able to see the entry for the new kernel when booting. At least the old kernel is still loading. I changed the desktop environment to XFCE. One event that for sure causes the laptop to freeze is inserting a MicroSD card in the reader slot. That causes a kernel panic and it switches back to text console.
Here is how my /etc/fstab looks like:

/sdb is actually an SSD disk which was additionally added to the initial configuration. I decided to put /boot and / on it. I have decided to use the other HDD disk for storing user files.

I remember having one issue during the installation. BIOS was detecting the devices in a different order than Linux so i had to make it like that. If you think, it would be better to change this and give your suggestions, I am ready to follow them, because I am anyway a newbie.

I remember having one issue during the installation. BIOS was detecting the devices in a different order than Linux so i had to make it like that. If you think, it would be better to change this and give your suggestions, I am ready to follow them, because I am anyway a newbie.

That *could* be the cause of your problem.

My assumption is that when you boot, / is not mapped to /dev/sdb2.

So I'd suggest to name that partition by UUID instead of by its location in the /dev filesystem.

To help you doing that, please provide output of following commands (the second one should be typed as root):

Code:

cat /proc/partitions
blkid

Oh, and use a huge config file as a basis, as already advised. Or at least make btrfs (and ext4 and ext2 while you are at it) file systems built-in (not modular), otherwise you won't be able to boot anyway.

Additionally, maybe a SSD needs some time to sync (as an USB device does). Would that be the case you would have to add 'append "rootdelay=15" to the corresponding image section, but we'll see that later if need be.

If you let me know which options to mark with an "*" (in order to make btrfs, ext2, ext4 built in) , I will check them when configuring the new kernel.

Don't worry about that, you'll be installing a huge kernel so all that you need will be built-in. You will just have to rename it as .config and run "make oldconfig" before making the kernel & modules and install everything.

thank you for your hints. I will follow them. So what i need to do one more time.
I will follow the instructions one more time.
I will download kernel 3.8.3 or 3.7.10 and check its integrity by GPG.
Then, i will use as config file, the huge one referred above, download it and rename it to .config.
Then follow the instructions onwards. I will build the kernel and edit lilo.conf file.
Meanwhile you will be informed if i am experiencing difficulties.
Thank you all for the help up to now!

Hello,
finally i have some time to try and build the kernel. Unfortunately, the huge config file for 3.7.10 is not available here any more. There is config file for 3.8.4. Should i download and try 3.8.4 using the available huge config file for it? I could not find the config file for 3.7.10 as archive. I have not also downloaded it.
What would you advise me to do?