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

Notices


Reply
  Search this Thread
Old 12-21-2013, 07:42 PM   #1
BAcidEvil
Member
 
Registered: Dec 2003
Distribution: Slack 14.1 3.18.1
Posts: 293

Rep: Reputation: 10
Installing Slack {Current} onto a USB HD


I boot off my DVD and get to the Setup. I fdisk and partition and write to my /dev/sdc and all works fine. I then install from DVD onto the USB HD and then I install a boot setup to my USB Thumb which is also recognized. I skip LILO and reboot.. It loads the Thumb Drive and also mentions loading my standard /sda Drives but then I get a Kernel Panic and it does not see my /sdc (USB HD). I have also tried LILO and the new ELILO as by default my MB uses UEFI but I also changed it to Legacy mode etc.. Basically I believe I have tried most options. It seems that during boot my PC has not yet loaded the USB HD in time for it to boot onto it?

Any suggestions?
 
Old 12-22-2013, 08:47 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Append rootdelay=20 to your command line, then if it works append that to your lilo.conf then rerun lilo. USB HD need some time to spin and before they do / won't be accessible.

Also, better name you root device by UUID or by LABEL in /etc/lilo.conf and /etc/fstab, as devices are named in the /dev tree in the order they become available to the kernel and this order can change in case of removable devices.

Last edited by Didier Spaier; 12-22-2013 at 08:55 AM.
 
Old 12-24-2013, 06:50 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
I had exactly the same problem. It seems also that rootdelay hasn't worked on 14.0 or 14.1. It last worked on 13.37.

The only alternative is to create an initrd.gz or rebuild the kernel.

initrd.gz is the quickest option if you have an already working system


This worked for me
Code:
mkinitrd -c -k 3.10.17-smp -m usb-storage:ehci-pci:ehci-platform -u -w 10 -f ext4 -r /dev/sdb1
The resultant initrd.gz needs to be moved to the boot directory of your USB disk.

See also -

http://www.linuxquestions.org/questi...-a-4175479742/

Alex
 
Old 12-27-2013, 04:44 AM   #4
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 230

Rep: Reputation: 75
Initrd was the solution that worked for when I had the same problem

regards
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] no boot from usb key installing slack 14 on HP mini pirozzi Slackware 19 10-11-2012 08:49 AM
Guide - Installing Slack 12.0 To a USB Drive Neil- Slackware 7 01-08-2009 06:03 PM
problem installing Slack with usb keyboard erpe Slackware 2 06-25-2006 11:08 AM
Installing slack on a USB hd sacredchao Slackware - Installation 3 07-23-2005 12:27 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration