LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2010, 09:45 PM   #1
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 45
Linux on portable hard drive


Let's say I install linux on a portable drive using my laptop. Would it only be configured, hardware wise, for that laptop. Or will it work on any system i plug it into and boot to it?
 
Old 08-04-2010, 09:57 PM   #2
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
It depends on how you install it.
 
Old 08-04-2010, 09:59 PM   #3
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Bratmon View Post
It depends on how you install it.
Elaborate please.
 
Old 08-04-2010, 10:12 PM   #4
halborr
Member
 
Registered: Aug 2009
Posts: 112

Rep: Reputation: 18
There's a number of variables here.

First, if it's a liveCD iso (set up with whatever piece of software that allows you to boot iso's, I forget what it's called...) or a "liveUSB" (I have one of these with puppy on it... very useful.) it'll act just like a liveCD and automatically configure for the hardware it's on at boot time.

If you're talking about an actual install, then it can get a little tricky. As far as device drivers and various kernel modules, I'm not sure how some of the automagical distros decide which modules to load, if it's set and has to be changed manually or if they're detected on each boot, but my gut feeling is they're probably not automagically detected EACH boot, but on the first one and then set in files. Someone should probably chime in on that.

Now for X11's configuration (like if you were to switch peripherals- pointers (mice) keyboards, monitors, ETC.) is automatically detected by default on (all?) major distros now (even the newest version of slackware has this ability! Luckily if you have an xorg.conf it overrides the automagic part though :-) Good old static files!).

Anyway, what it all boils down to here is give it a go on multiple computers and see what happens.

P.S. can you report back with success/failure/what happened and your distro? I'm curious what happens. I'll follow this thread.
 
1 members found this post helpful.
Old 08-04-2010, 10:14 PM   #5
halborr
Member
 
Registered: Aug 2009
Posts: 112

Rep: Reputation: 18
P.P.S. I would back it up somehow just in case something weird happens :-)
 
Old 08-04-2010, 10:15 PM   #6
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Original Poster
Rep: Reputation: 45
Yeah I'm doing an actual install on the portable drive. I will report back after I try it on several different computers.
 
Old 08-05-2010, 01:17 AM   #7
genogebot
Member
 
Registered: Jun 2010
Location: Brisbane, Australia
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 136

Rep: Reputation: 18
I installed Linux Mint 9 onto an external usb hard drive attached to my desktop computer, installed and configured my preferred applications, and then used remastersys to create a live cd of my installation.

When I booted the cd in a laptop computer with completely different hardware the live cd recognised the new hardware and configured itself accordingly, and everything worked perfectly.

Note that the remastersys live cd does not include proprietary drivers, such as for graphics cards.
 
Old 08-05-2010, 01:31 AM   #8
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Original Poster
Rep: Reputation: 45
That's what I was thinking, the graphic drivers could be a problem I assume.
 
Old 08-05-2010, 06:03 AM   #9
genogebot
Member
 
Registered: Jun 2010
Location: Brisbane, Australia
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 136

Rep: Reputation: 18
Quote:
Originally Posted by kindofabuzz View Post
That's what I was thinking, the graphic drivers could be a problem I assume.
Well, everything worked with the default drivers. The way I did it was to disable the proprietary nvidia drivers in my usb hard drive installation and configure the graphics setup the way I wanted with the default drivers. Then I made a remastersys live cd, and when I booted the live cd the default drivers did their job perfectly.

This was despite the fact that the hardware on the laptop was completely different - for example, on my desktop computer I have twin monitors configured as a single large desktop, with the taskbar on the left monitor, and I left it this way when I made the remastersys live cd. When I booted the live cd on the single-screen laptop, the system automatically reconfigured itself to use a single-monitor display setup.
 
Old 08-05-2010, 07:21 AM   #10
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
See my reply in this thread: http://www.linuxquestions.org/questi...xt-hdd-824121/
 
  


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
using flash drive/portable hard drive on BOTH Linux and Windows yankeegirl Linux - Hardware 2 10-07-2009 09:22 AM
need a portable linux distro to bring on portable usb hard drive... pippo17 Linux - Distributions 3 10-20-2008 07:41 AM
Linux on a portable hard drive Kratman Linux - Newbie 1 01-07-2008 03:28 AM
Portable hard drive linux papatrpt89 Linux - Hardware 1 12-13-2005 12:34 PM
Portable hard drive siawash Linux - Hardware 4 11-14-2004 06:15 PM


All times are GMT -5. The time now is 02:24 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