Problems with freshly installed Slackware64 14 on a newly bought laptop
SlackwareThis Forum is for the discussion of Slackware Linux.
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 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
Code:
lilo
When i ran it, i had this error:
Code:
Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Fatal: Trying to map files from unnamed device 0x000e (NFS/RAID mirror down ?)
Here is how the end of it loooks like:
Code:
image = /boot/vmlinuz
root = /dev/sdb2
label = Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config by glupa4e begins
image = /boot/vmlinuz-custom-3.7.10
root = /dev/sdb2
label = 3.7.10-alien
read-only
# Linux bootable partition config by glupa4e ends
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:
Maybe when you will have posted your *whole* lilo.conf: you exhibit only the part about /dev/sdb2 but the error is about /dev/sda (it seems).
Here is my complete lilo.conf file
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
#vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdb2
label = Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config by glupa4e begins
image = /boot/vmlinuz-custom-3.7.10
root = /dev/sdb2
label = 3.7.10-alien
read-only
# Linux bootable partition config by glupa4e ends
Out of curiosity though: why do you put the boot loader on the MBR of /dev/sda, and have / and /boot on another hard disk (/dev/sdb)? At least I hope that /dev/sdb is not an USB hard disk?
Oh, and I don't see the point is having separate partitions for /tmp and /storage* but that's your machine
Could a wrong config file cause such problem with lilo really?
Maybe, maybe not but I notice that you used the generic config file. You should use the huge config file until you have been able to build an initrd file.
BTW A couple of helpful posters put out a kernel.build script that might help you in this thread (mine isn't working properly yet).
Out of curiosity though: why do you put the boot loader on the MBR of /dev/sda, and have / and /boot on another hard disk (/dev/sdb)? At least I hope that /dev/sdb is not an USB hard disk?
Oh, and I don't see the point is having separate partitions for /tmp and /storage* but that's your machine
/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.
May i use huge file from Slackware 14, which is for kernel 3.2.29 as a basis when building kernel 3.7.10 or 3.8.3?
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.
May i use huge file from Slackware 14, which is for kernel 3.2.29 as a basis when building kernel 3.7.10 or 3.8.3?
No, use that one (you installed a 64 bit Slackware, right?) instead
Quote:
Originally Posted by glupa4e
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.
Now in /etc/lilo.conf just replace all occurrences of
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!
And in the instructions, after "make oldconfig", skip "make xconfig" (you don't need to do that as you won't change the configuration) but go straight to "Building your kernel".
config huge file for 3.7.10 is not available anymore
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.