LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Switch to generic kernel freezes system (https://www.linuxquestions.org/questions/slackware-14/switch-to-generic-kernel-freezes-system-4175507020/)

Pinonoir 06-04-2014 08:46 AM

Switch to generic kernel freezes system
 
I installed the generic kernel using the steps listed here-
http://docs.slackware.com/slackware:beginners_guide

However, when I went to switch to the generic kernel it locked itself up and refused to load further. I'm unsure as to whatr the problem might be, any help is appreciated.

WhiteWolf1776 06-04-2014 09:05 AM

did you create the initrd? What error does it lock up on?

Pinonoir 06-04-2014 09:09 AM

Quote:

Originally Posted by WhiteWolf1776 (Post 5182252)
did you create the initrd? What error does it lock up on?

I forget the error, but yes I created the suggested initrd and put it in lilo.conf after

allend 06-04-2014 09:13 AM

For making an initrd, running '/usr/share/mkinitrd/mkinitrd_command_generator.sh' is your friend.

Praise Alien_Bob!

Pinonoir 06-04-2014 09:16 AM

Quote:

Originally Posted by allend (Post 5182259)
For making an initrd, running '/usr/share/mkinitrd/mkinitrd_command_generator.sh' is your friend.

Praise Alien_Bob!

I ran the command and it's the same as the first time I tried making an initrd.

allend 06-04-2014 09:22 AM

Rather than guessing,
1. What command did you use to make the initrd?
2. What do have in /etc/lilo.conf?

Oh, and did you run lilo after making the initrd and editing /etc/lilo.conf?

Pinonoir 06-04-2014 09:27 AM

Quote:

Originally Posted by allend (Post 5182265)
Rather than guessing,
1. What command did you use to make the initrd?
2. What do have in /etc/lilo.conf?

I used what was suggested with /usr/share/mkinitrd/mkinitrd_command_generator.sh.

Here is my lilo.conf-
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
#compact
# faster, but won't work on all systems.

# 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 = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
# 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 = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
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/sda1
label = Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-3.10.17
root = /dev/sda1
label = slackware
read-only
# Linux bootable partition config ends

allend 06-04-2014 09:31 AM

From /boot/README.initrd
Quote:

4. Now that I've built an initrd, how do I use it?

Now that you've got an initrd (/boot/initrd.gz), you'll want to load
it along with the kernel at boot time. If you use LILO for your boot
loader you'll need to edit /etc/lilo.conf and add a line to load the
initrd. Here's an example section of lilo.conf showing how this is
done:

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-3.10.17
initrd = /boot/initrd.gz
root = /dev/sda6
label = 31017
read-only
# Linux bootable partition config ends

The initrd is loaded by the "initrd = /boot/initrd.gz" line.
Just add the line right below the line for the kernel image you use.
Save the file, and then run LILO again ('lilo' at the command line).
You'll need to run lilo every time you edit lilo.conf or rebuild the
initrd.

Pinonoir 06-04-2014 09:44 AM

That did it. Would it be good to leave the huge kernel as a backup or just remove it, and if so, how?

brianL 06-04-2014 09:45 AM

Leave it.

allend 06-04-2014 09:48 AM

Quote:

Leave it.
__________________
I'm a slacker by nature, a Slacker by choice.
And obviously a Slacker by experience.

brianL 06-04-2014 09:51 AM

:)
I used to have dogs, and that was something I had to tell them to do regularly: LEAVE IT!!!

allend 06-04-2014 09:55 AM

Never worked for the hair though, did it!

brianL 06-04-2014 09:59 AM

No, but as we say in Oldham: "Grass doesn't grow on a busy street". ;)
I read somewhere that some women are turned on by bald men. Trouble is, finding them. :cry:

allend 06-04-2014 10:17 AM

I still have hair, but share your problem. Is the common denominator too much Slacking?

brianL 06-04-2014 10:30 AM

Maybe. I'll get a wig and switch to Windows, see if my luck changes. :)

allend 06-04-2014 10:37 AM

Looking forward to the screenshot!
Choosing between women and Windows, or Slackware and lonely nights? Shheeit. It could drive a man to systemd.

1337_powerslacker 06-04-2014 11:36 AM

Quote:

Originally Posted by allend (Post 5182321)
Choosing between women and Windows, or Slackware and lonely nights? Shheeit. It could drive a man to systemd.

Blasphemy!


All times are GMT -5. The time now is 06:15 AM.