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


  Search this Thread
Old 09-22-2005, 01:49 PM   #16
LQ Newbie
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0

No, I have enabled "hotplug" during installation Heh... I will try some other things, maybe I'll reinstall everything from beginning. I don't know. Anyway thanks for help If I make it work, I'll drop a line,but this won't happen in at least 3 days from now...
See you soon.
Old 10-20-2005, 07:15 AM   #17
LQ Newbie
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
It's me again... I've been trying to make it work once again but with no luck. Everything stops just before detecting hotplug devices, which is of course what it's all about.

Now I'm not sure whether building initrd is enough for kernel to see the external drive itself as a stationary disk, or even thoug after loading necessary modules it has to probe for hotplug devices...

I have tried everything step-by-step including very helpful Fluxx's suggestions and still no luck in this area. What is more I found that because the booting sequence never reaches hotplug detection and therefore no services are ran, it doesn't log any messages with potential suggestions.
...and so I can't even paste anything here for others to help me solve this problem

Any clues what can be wrong? Maybe someone had similar problems and if so, I'd be grateful to be notified somewhere in this topic.

I was trying myself to investigate scripts in /etc/rc.d/ as it seems that only part of those are initiated during startup.

...or is there something in previous tutorials that wasn't mentioned???

Hackers, Slackers, Developers, please help!
Old 10-20-2005, 08:12 AM   #18
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 446

Rep: Reputation: 46
Have you tried booting into single user mode?

Maybe you need to -

1. install default slackware again;
2. compile the kernel to build the modules mentioned above;
3. use lilo
4. build your initrd;
5. lilo

There's another thread that I'm mentioned in that you may find informative.
Old 12-11-2006, 05:48 PM   #19
LQ Newbie
Registered: Dec 2006
Location: Bath, UK
Distribution: Slackware, SLAX, Ubuntu, DSL
Posts: 1

Rep: Reputation: 0
Cool This works for me.

Hi All,

I'd like to say a great big "Thank You!" to Fluxx for his expertise here. I've just set this up on an ultra low power hp t5710 thin client with a generic usb portable hard drive and it works fine.

I used slackware 11.0 with the huge26.s kernel. This has the usb and scsi drivers in it. I still needed to use the initrd ram disk to force the system to wait, allowing the drive to initialise, prior to mounting the root filesystem.

Fluxx, if we ever meet, I owe you a beer.


Old 01-11-2007, 06:27 AM   #20
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 147

Rep: Reputation: 27
Post Here is how I do it.

These are the steps I follow in order to boot a USB hard drive.

Note: Change to the version of the linux kernel you are using.

Become root by using 'su -' :

su -
Change directory to /boot :

cd /boot
Make the initrd-tree :

mkinitrd -c -k -m ehci-hcd:ohci-hcd:uchi-hcd:usb-storage:ext3 -f ext3
If you get a WARNING: Could not find module for "uchi-hcd" message, do the following:

cd /boot/initrd-tree/lib/modules/
cp /lib/modules/ .
Change directory to the initrd-tree in /boot :

cd /boot/initrd-tree/
Make linuxrc and load_kernel_modules executable:

chmod +x linuxrc
chmod +x load_kernel_modules
Edit the load_kernel_modules file in the /boot/initrd-tree folder:

pico load_kernel_modules
add the following:
insmod /lib/modules/$(uname -r)/ehci-hcd.ko
insmod /lib/modules/$(uname -r)/ohci-hcd.ko
insmod /lib/modules/$(uname -r)/uhci-hcd.ko
insmod /lib/modules/$(uname -r)/usb-storage.ko

(if not already there)

Edit linuxrc file in the /boot/initrd-tree folder:

pico linuxrc

sleep 10
after #Load kernel modules: and before # Initialize LVM:

Change directory back to /boot :

cd /boot
Make the initrd:

Create a backup copy of the initrd.gz file:

cp initrd.gz initrd.2.4-2.6.gz
Edit they /etc/lilo.conf configuration file:

pico /etc/lilo.conf

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-
  root = /dev/sda1
  label = Linux_2.6.19.2
  initrd = /boot/initrd.2.4-2.6.gz
# Linux bootable partition config ends
Old 05-01-2007, 04:58 AM   #21
LQ Newbie
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Installation Of Fedora On USB Hard Drive

Originally Posted by Fluxx
I installed Slackware on a 1 GB USB flash drive with success and I am able to boot it with every notebook/pc which is able to boot from external USB drives. I am now in hurry but tonight I will be back to give a short how-to ...


gud work! pliz tell me the whole procedure.
i have hp laptop model nx-6120 and segate usb hard drive 80 GB .i want to install fedora on usb drive.i have windows XP on internal drive.


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
Installing RH9 on an external USB drive mveerdon Linux - Newbie 1 05-05-2007 04:19 AM
Installing Mandiva LE2005 on external USB drive? greekgoddj Mandriva 3 10-02-2005 07:09 PM
Installing Mandrake 9.2 on external usb drive OPALNUT Linux - Hardware 1 06-04-2005 07:55 PM
Installing Slack 9.0 on an external USB hard drive Elohist Slackware 5 08-03-2004 07:41 AM
problems with installing RH9 on external USB drive... mveerdon Linux - Software 1 08-29-2003 05:29 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 AM.

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