LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-22-2005, 01:49 PM   #16
narson
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
narson
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
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 379

Rep: Reputation: 37
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.

http://www.linuxquestions.org/questi...5&pagenumber=2
 
Old 12-11-2006, 05:48 PM   #19
Si-AvonUK
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.

Regards,

Simon.
 
Old 01-11-2007, 06:27 AM   #20
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1
Posts: 146

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

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

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

Become root by using 'su -' :

Code:
su -
Change directory to /boot :

Code:
cd /boot
Make the initrd-tree :

Code:
mkinitrd -c -k 2.6.19.2 -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:

Code:
cd /boot/initrd-tree/lib/modules/2.6.19.2/
Code:
cp /lib/modules/2.6.19.2/kernel/drivers/usb/host/uchi-hcd.ko .
Change directory to the initrd-tree in /boot :

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

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

Code:
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:

Code:
pico linuxrc
add:

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

Change directory back to /boot :

Code:
cd /boot
Make the initrd:

Code:
mkinitrd
Create a backup copy of the initrd.gz file:

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

Code:
pico /etc/lilo.conf
add:

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.19.2
  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
satyam_ankur
LQ Newbie
 
Registered: Apr 2007
Posts: 7

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

Quote:
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 ...

Fluxx.

hi
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.
 
  


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
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


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

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