LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install Slackware 14.0 into external USB hard disk? (http://www.linuxquestions.org/questions/slackware-14/how-to-install-slackware-14-0-into-external-usb-hard-disk-4175429906/)

beyond291 10-01-2012 11:23 AM

How to install Slackware 14.0 into external USB hard disk?
 
I have a notebook running Windows 7 and an empty external USB hard disk. I would like to install Slackware 14.0 into external USB hard disk. How to do it?

Thanks!

Habitual 10-01-2012 11:58 AM

I used a 4Gig stick and unetbootin.
I ignore the "Distribution" drop-down box and just pointed it at the .iso

Edit: I did this on slackware 14 but there's no reason it shouldn't work in Windows as well.

Iberwil 10-01-2012 12:02 PM

Habitual,

Did you use that stick for installation as well?

If yes, how did you direct the setup menu to the stick as source media?

Thanks.

Stephen Morgan 10-01-2012 12:24 PM

The normal way but specifying destination partitions in /dev/sdb orsdc or whatever your external drive is. That destination for lilo, too. Change the BIOS to boot from USBHDD (or equivalent) first, then it'll boot from the external drive if it's plugged in or Windows otherwise.

Unetbootin used a vfat partition so you could use a partition for the installation media and another partition for the destination. 4G isn't very big, though, so there wouldn't be room for the installation media and the packages to be installed and a destination.

Habitual 10-01-2012 12:37 PM

Quote:

Originally Posted by Stephen Morgan (Post 4794176)
...Change the BIOS to boot from USBHDD (or equivalent) first....

What he said. :)

yars 10-01-2012 12:39 PM

You can boot from Slackware DVD and install it to the external hard drive directly.
Boot from DVD with a parameters by default, plug in your USB-HDD, then, make sure that your USB-HDD is available:
Code:

dmesg
Then, prepare this:
Code:

fdisk /dev/sdb
where /dev/sdb is your external hard drive. Prepare a few partitions: for '/' (root directory) and swap. This is minimal for working. Swap partition should have a dimension according to the RAM capacity. For example, you have 2 Gb RAM, then swap should be same.
Then, just type 'setup' and follow the on-screen instructions.
Do not install lilo, just completely the installing, and install lilo manually:
Code:

lilo -b /dev/sdb
.
Something like this.
P.S. Sorry for my english.

ruario 10-01-2012 12:39 PM

Quote:

Originally Posted by beyond291 (Post 4794136)
I would like to install Slackware 14.0 into external USB hard disk. How to do it?

Step 1 would be to use the search function to see if anyone has already answered this:

Slackware 13.37 installation on an external USB hard disk - nano how-to

P.S. If this helps you and/or answers your questions, thanks should go to Didier Spaier.

colorpurple21859 10-01-2012 12:42 PM

It depends on your setup. . Are you installing from cds/dvds or from an iso file? Do you already have another linux distro installed and wanting to multiboot. I'm assuming your talking about a usb hard drive and not a flash drive. If so, it would be no different then installing to an internal hard drive. You will have to create a linux partition and a swap partition before running setup.

beyond291 10-02-2012 09:06 AM

Quote:

Originally Posted by ruario (Post 4794185)
Step 1 would be to use the search function to see if anyone has already answered this:

Slackware 13.37 installation on an external USB hard disk - nano how-to

P.S. If this helps you and/or answers your questions, thanks should go to Didier Spaier.

I had read that thread before. But it assumed that Slackware has been installed in the box and
used that box to install Slackware to external USB hard disk.
I don't have a Slackware box but Windows 7.
So I have no idea on it.
Thank you all the same!

colorpurple21859 10-02-2012 10:12 AM

Are you using CDS/dvds or are you trying to install from an the iso file from with in windows?

beyond291 10-02-2012 11:50 AM

Quote:

Originally Posted by colorpurple21859 (Post 4795000)
Are you using CDS/dvds or are you trying to install from an the iso file from with in windows?

I want to using a bootable USB stick to install Slackware into a external USB hard disk.
I would like to take my external USB hard disk with Slackware every where.
:-)

colorpurple21859 10-02-2012 02:22 PM

Unebootin will probably be the easy way to create a bootable flash drive using the slackware Dvd/cd. If your not going to to a net install you will need to do the following before running setup.
1. If your using cds extract the contents of the other two cds to the flash drive.
2. Before running setup create a new dir(what ever you want to call it) and mount the flash drive to the newly created directory.
3. Select premounted directory and point to /newdir/slackware.

This is another way to make usb bootable.
http://alien.slackbook.org/blog/welcome-windows-user/


All times are GMT -5. The time now is 10:34 AM.