LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-22-2012, 06:56 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 285

Rep: Reputation: 20
booting 13.37 install off usb stick, and getting panic


I'm tyring to boot Slackware 13.37 install, on a USB stick, on a i7 machine I am building.

The machine boots off harddrive with slack install.
The machine boots clonezilla off a USB stick.
The machine crashes with a kernel panic when booting the 13.37 install system. The panic starts after the opportunity to input boot parameters.

Does this ring any bells?

The processor is a Intel 3770 and the MB is a GA Z77 D3H.

Thanks for any thoughts.

I will continue to mess around.
 
Old 06-22-2012, 09:58 PM   #2
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 285

Original Poster
Rep: Reputation: 20
Still investigating, but it appears that neither the harddrive or the SSD are recognized by Clonezilla.

It also appears that the USBstick boot of Slackware crashing with a kernel panic may be the result of the UEFI bios on this motherboard. At first blush, apparently Slackware does not recognize the hardware, because it was not built to include the EFI library.

I don't have a CD on this system, but I can see that perhaps I should get a CD/DVD reader because I don't see a short path. I will most likely have to modify the install DVD, and all this will probably take quite a few iterations. Agh.

Stay tuned. And I welcome any ideas. I'm sure this can be done, and I am not sure I have a good analysis of the problem.
 
Old 06-23-2012, 12:00 AM   #3
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 285

Original Poster
Rep: Reputation: 20
I am a bad boy for not consulting the compatible hardware list. Eventually, it wouldn't matter. New MBs new BIOS, it's just the cycle of life.

Meanwhile, I took the HD and the SSD and placed in a 775 chipset system I had, which booted right up with a Clonezilla USBstick boot, and also booted with a Slackware DVD copy on a USB stick. Harumph, I guess the says of easy bootsticks are over.

Well, I cloned the HD onto the SSD, MD5SUMed them, and then booted the SSD drive, just to convince me that it works OK. Then I put the SSD drive into the new system, and it boots to the Slackware splash page and then goes black. Sounds like Linux is unable to live a normal life on that system.

Searching LinuxQuestions, I found that some have luck running with UEFI. Others don't. My simplistic assumption is that not all UEFIs are created equal.


Well, that's the update for tonight. I really home that someone who has the same MB I do, GA Z77 H3D chimes in and says "No problem linuxbird, you just need to configure the UEFI BIOS like this, and bingo, everything works." Somehow, I am not optimistic. Change my day.
 
Old 06-24-2012, 04:51 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,630

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
Originally Posted by linuxbird View Post
Then I put the SSD drive into the new system, and it boots to the Slackware splash page and then goes black.
The lilo splash? Ok, so then this system is already configured to provide a BIOS compatibility layer (otherwise you couldn't have had lilo come up).

Just a guess but perhaps the reason for the black screen is due to the lack of EFI Framebuffer support in the kernel (since Slackware does not have this enabled by default). If this suspicion is correct, you should be able to wait until you think booting has complete and login blind, then (assuming you have X and a window manager installed) type startx. At this point the X driver for your video card should take over from the Framebuffer and you should hopefully see something. Alternatively if that is difficult to do or you don't have X but do have network and sshd configured on startup you could try sshing into the machine from another machine on your network to check that Slackware is actually running.

If this is the problem the simple work around is to have Slackware start in runlevel 4 by customising /etc/inittab. The only downside is that you will miss the boot sequence and won't have access to your virtual terminals. The best solution however would be to recompile the kernel with EFI Framebuffer support (CONFIG_FB_EFI=y).

Last edited by ruario; 06-24-2012 at 05:18 AM. Reason: added the kernel option
 
Old 06-28-2012, 08:37 AM   #5
Eeel
LQ Newbie
 
Registered: Feb 2012
Location: Paris - France
Distribution: Slackware 14 64bit Multilib
Posts: 22

Rep: Reputation: Disabled
In case you don't solved your probleme, I've recently try to boot a rsync backup of my systeme on a usb boot stick and encounter a kernel panic, to solve it i have to build a Generic Kernel initrd following README.initrd and add some delay to the usb device to boot, also include some usb module in the initrd:

using mkinitrd -F:
Code:
# mkinitrd.conf.sample
# See "man mkinitrd.conf" for details on the syntax of this file
#
SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="0"
OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="$(uname -r)"
KEYMAP="fr"
MODULE_LIST="ext4:uas:usb_storage:ehci-hcd:uhci-hcd:ohci-hcd:mbcache:jbd2"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
#ROOTDEV="/dev/sda1"
ROOTDEV="UUID=fe2f192c-7764-423b-9a1d-8dabe4279fb5"
ROOTFS="ext4"
#RESUMEDEV="/dev/sda2"
RAID="1"
LVM="1"
UDEV="1"
#MODCONF="0"
WAIT="10"
my lilo.conf:

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# Append any additional kernel parameters:
append=" vt.default_utf8=1 label=usb-bkp"
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
#
prompt
# Timeout before the first entry boots.
timeout = 120
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
image = /boot/vmlinuz
  root = "LABEL=usb-bkp"
  initrd = /boot/initrd.gz
  label = USB-bkp
  read-only
# Linux bootable partition config ends
i use UUID and LABEL to boot on any sd[a,b,c, ect] the key boot on, and that's what take me most time searching/testing

blkid /dev/sdX1 to get your UUID
e2label /dev/sdX1 usb-bkp to LABEL the key
 
1 members found this post helpful.
Old 06-28-2012, 08:53 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,630

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
I think Eeel raises a good point here that I missed as you have so many threads on this issue. I see in this one you mention USB booting. It may well be the fact that the kernel modules needed for USB booting are not available.

Read Slackware 13.37 installation on an external USB hard disk - nano how-to by Didier Spaier.
 
Old 06-30-2012, 11:16 PM   #7
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 285

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Eeel View Post
In case you don't solved your probleme, I've recently try to boot a rsync backup of my systeme on a usb boot stick and encounter a kernel panic, to solve it i have to build a Generic Kernel initrd following README.initrd and add some delay to the usb device to boot, also include some usb module in the initrd:

using mkinitrd -F:
Code:
# mkinitrd.conf.sample
# See "man mkinitrd.conf" for details on the syntax of this file
#
SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="0"
OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="$(uname -r)"
KEYMAP="fr"
MODULE_LIST="ext4:uas:usb_storage:ehci-hcd:uhci-hcd:ohci-hcd:mbcache:jbd2"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
#ROOTDEV="/dev/sda1"
ROOTDEV="UUID=fe2f192c-7764-423b-9a1d-8dabe4279fb5"
ROOTFS="ext4"
#RESUMEDEV="/dev/sda2"
RAID="1"
LVM="1"
UDEV="1"
#MODCONF="0"
WAIT="10"
This was helpful, and reminded me to look at timing issues, which solved a problem related, but not the intent to this post. Thanks for passing on.

With respect to your using lilo, I think the use of elilo may be appropriate, in my instance, over lilo. I did find that there was another UEFI configuration which when I set, allowed me to get further in my boots.

I can now run the install kernel, but cannot actually accomplish an install, but that is in a different thread.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting from USB stick Completely Clueless Linux - Hardware 2 08-25-2010 02:03 PM
GRUB: Booting from USB; Creating the Ultimate Bootable USB Stick Jinouchi Linux - Software 2 04-07-2010 04:17 PM
Booting through a USB stick kris.c Linux - Hardware 3 05-27-2007 06:39 PM
Kernel Panic with USB stick as >only< linux partition(s) shinobi_dude Linux - Newbie 3 04-18-2007 09:10 AM
Boot from USB stick if no booting USB in Bios 1kyle Suse/Novell 1 03-26-2007 12:24 AM


All times are GMT -5. The time now is 05:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration