LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-06-2018, 03:57 PM   #1
robert644
Member
 
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 133

Rep: Reputation: 15
Installing from one external USB to a different external USB


I'm trying to install from a bootable USB thumbdrive to an external USB HDD (sdd4).

It seems the slackware installer only wants me to install to the local HDD (sdb).

How can I change this ?

Thanks !
 
Old 08-06-2018, 04:37 PM   #2
lougavulin
LQ Newbie
 
Registered: Jul 2018
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Is your thumbdrive the slackware installer or a live Linux OS ?

To install on an external USB HD, you can look at this this thread.
 
Old 08-06-2018, 04:56 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,441

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
boot it (usb stick)
when you get to the log in as root, do it, have your hdd plugin during booting. blkid to make sure it sees it, cfdisk /dev/sdd or /dev/sdx whatever your usb hdd is, prepare it making your partitions to your liking. then write to it , exit cfdisk, setup follow prompts. just keep arrowing down until you see your usb hdd. whether or not you install efi or mbr, which using it for a usb boot I'd go with mbr, the only trick part is lilo or grub, grub is post install of system. LILO is prior to completing install. if you do not have linux on your system I'd go lilo install for booting off of it via BIOS selection to boot via your USB Port. then let lilo pick it up from there.

this is not using a live OS of Slack, it is from the DVD iso burned to a USB Stick, which is what I just tested prior to writing this.

Last edited by BW-userx; 08-06-2018 at 04:58 PM.
 
Old 08-06-2018, 04:59 PM   #4
robert644
Member
 
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks for the replies.

I haven't checked the thread by longavulin, however I just wanted to clarify -

I am installing to an external USB HDD drive enclosure, then I want to take that HDD and install it into a desktop system for normal booting.

Do I need to make a mount point on /sdb for /sdd4 ? I suspect this is the answer.

Last edited by robert644; 08-06-2018 at 05:01 PM.
 
Old 08-06-2018, 05:27 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,441

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
Quote:
Originally Posted by robert644 View Post
Thanks for the replies.

I haven't checked the thread by longavulin, however I just wanted to clarify -

I am installing to an external USB HDD drive enclosure, then I want to take that HDD and install it into a desktop system for normal booting.

Do I need to make a mount point on /sdb for /sdd4 ? I suspect this is the answer.
mount it /dev/sdb whatever, then change your fstab to UUIDs after install is completed and you verify it boots, before you put it into a system, because when you put it into a PC it will turn into /dev/sda and not boot.

if you need help in how to change to UUID post back.

Last edited by BW-userx; 08-06-2018 at 05:30 PM.
 
Old 08-06-2018, 06:27 PM   #6
robert644
Member
 
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks BW-userx.

I don't know how to change the UUID, although I remember the term fstab from years ago.

Just getting back into linux again after many many years. Trying to set up a desktop box with parts scavenged from work.

In case anyone reads this thread and needs clarification -

I have a desktop computer I want to install linux on.

I have a laptop computer running win10, booting from a Slackware install USB (not a live USB). This is drive /sdc

I want to install on an external HDD connected by USB to the win10 laptop. Then put the drive into a PC tower and boot.

The external HDD connected by USB is hdd, with the partition being hdd4

The Slackware installer only gives me option to install to the laptop's internal HDD, hdb.

I have to mount hdd4 as a on hdb as 'mount /dev/hdd4 /usr/newfilehdd4' ?

I realize their is an easier solution to this, but I would like to know how to accomplish this task, in this manner. It helps to understand how the system works.

Thanks !

Last edited by robert644; 08-06-2018 at 06:28 PM.
 
Old 08-06-2018, 07:16 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,441

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
you're using lilo ( i assume ) because it the default for Slack. ( I swapped o grub) so this is the page on uuid and lilo -

https://docs.slackware.com/howtos:sl...sistent_naming

installing should be rather straight forward. no manual mounting to install. you're just using the MotherBoard and the BIOS with USB Ports for the throughput. Have both the usb install stick and the hdd you're installing to plug in at the same time, so when booting the HDD will register as being there when you're looking for in during the install. Lilo will / should know where or what partition the root is being installed on. others that use lilo more understand that part of it.


then after install, use that to boot using your USB Port then from within the new Slackware system you can make the changes to your lilo and fstab, reboot to be sure it worked. damage control in case it did not, cross that bridge if you get there.
 
Old 08-06-2018, 07:54 PM   #8
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,436

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
are you booting the usb in efi mode or legacy/cms mode? If the desktop the HDD going to end up in is old bios then need to boot the usb in legacy mode.
 
  


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
[SOLVED] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 02:56 PM
Installing on a HD external USB Bosnja Linux - Newbie 3 01-16-2008 02:14 PM
Installing to an external usb hdd wu_ Slackware - Installation 1 11-11-2006 01:14 AM
Installing Debian to External USB Doc Faustus Debian 1 05-29-2005 11:26 AM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration