Slackware 13.37 installation on an external USB hard disk - nano how-to
I have an external USB hard disk, mainly used for backups. As it is 1 TB wide I decided to install Slackware 13.37 on it, just for fun.
At first I didn't succeed, so here is what I did to eventually get it done.
Before we begin, I suppose that you have:
Feed back is very welcome, especially:
Thank you very much for a detailed howto. It'll come in handy!
Hello Didier Spaier,
It's a great article, congratulations!
Can you detail me the six step, please?
Hello sgsmart, welcome to LQ.
Unfortunately I am not allowed to edit my first post in order to detail step #6, because it is more than 5 days old.
Anyway here are the details of that sixth step.
To know how to make an initrd, just follow instructions in /boot/README.initrd in Slackware 13.37
If you prefer to go by the "recompile the kernel" way, first make sure you installed the relevant kernel-source packages, that is to say the one which matches your running kernel.
Then do what follows in a terminal as root.
1) Find the corresponding symbol with Ctrl+F. In case of several answers, read carefully the comments for each of these to spot the relevant one.
2) Check the relevant entry to make the driver built in.
While you are at it, don't forget to check that the filesystem of your root partition be built in as well.
Oh and I suggest that you customize the local version (symbol to search with Ctrl+F: "localversion") in order to distinguish this kernel from the stock one.
Now you can save the configuration, make the kernel and install it as usual.
As a reminder:
I have got it!
I am now in Slackware on USB.
Thanks Didier Spaier for the reply.
I have not got "recompile the kernel", yet...
Nevertheless, I got it.
Initially, I got a frozen screen.
But I booted from Slackware DVD, into the terminal, I went to fourth step, then fifth
skip sixth, after seventh and I run lilo command.
I got some warnings, right, but I reboot and at the end I boot from USB.
Yeah!... this found for me. Although it takes more than five minutes to boot. (:
i ran through step #3 and the list didn't show any "usb_storage" or "uas".
so i guess i am supposed to include "ehci-hcd", uhci-hcd and "ext4" with either recompiling the kernel og making an initrd?
Hi Suliskongen and welcome to LQ.
I guess you started with a huge kernel running, not a generic one. That would explain why you don't see usb_storage in the list as this driver is already buit in in huge kernels (thus it doesn't appear in lsmod's output as that command only lists drivers shipped as modules).
If that is the case, as the huge kernel as the saying goes already ships "everything including the kitchen's sink", steps #3 and #6 are in fact not necessary in your case (uhci_hcd, ehci_hcd and ext4 are all buit in the huge kernels as well), unless you see another kernel module in the list.
Regarding uas, if it doesn't show you simply don't need it (not all USB hard disk use that) so don't worry about that either.
But if you took as a basis a generic kernel then something is wrong: you should see at least usb_storage in the list as it is needed by all USB disks but shipped as a module in generic kernels.
|All times are GMT -5. The time now is 08:55 PM.|