LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-04-2010, 05:17 PM   #1
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Slackware install and boot on USB hard-drive


I am hoping to find some-one to help me install Slackware on a USB hard-drive and get it to boot.

I get it installed just fine, except, when I go to boot into it, I get a kernel-panic --error message. I am sure its the kernel and that I need to some-how set up a initrd, however, I am a little rusty these days and can not quite seem how to do it.

I have a Western Digital Passport external (USB) hard-drive.

I will joy-in all help, and, I'll keep looking.

P.S.

I can not wait to see Slackware 13, in-part, because, its the first official (Slackware) 64 bit system.

Last edited by khronosschoty; 04-04-2010 at 07:05 PM. Reason: Clarity.
 
Old 04-04-2010, 06:48 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
On my system I can boot from an external USB drive by adding:
Code:
append="rootdelay=20"
to the top of lilo.conf and rerun lilo. This causes lilo to wait while my drive comes up. If I run the generic kernel and need to create an initial ram disk I have to give the following parameters to mkinitrd:
Code:
mkinitrd -k $(uname -r) -f ext4 -r /dev/sdc2 -m ext4:usb-storage:ehci-hcd -w 20
to get it to work. Your parameters will obviously vary to suit your settings however I don't need to run an initrd unless I'm running the generic kernel.

Last edited by bgeddy; 04-04-2010 at 06:50 PM. Reason: Spelling
 
Old 04-04-2010, 06:57 PM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Please find pencil and paper to record your error message (as much as possible).

Probable cause: Your partitions have different device names every time. Then mount your partitions with UUID. To mount the root partition by UUID, append "root=UUID=the_uuid_of_your_root_partition". For other partitions, change in the file "/etc/fstab" the device names to UUID=...

The file format of "/etc/fstab" is described by fstab(5) (command "man 5 fstab").
 
  


Reply



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
Debian USB install fails to boot after adding hard drive martinezpt Linux - Hardware 5 11-21-2010 07:21 PM
Slackware 12/ usb hard drive install will not boot jwk2801 Slackware - Installation 5 02-15-2008 07:11 PM
Slackware 10.2 on USB hard drive Boot problem nerez Slackware 4 09-21-2006 03:40 PM
how to install a usb hard drive in slackware 10.1...? sugar2 Linux - Hardware 7 02-15-2006 01:43 PM
boot problem after Slack 10 install to usb Hard drive... Elohist Slackware 2 08-04-2004 12:42 PM

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

All times are GMT -5. The time now is 06:33 PM.

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