LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-14-2008, 05:15 PM   #1
blackbinary
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
Question External Drive- Booting ubuntu - more then one computer


Alright. Here is what I want to do.

I have a 1TB drive inside an enclosure. It uses e-SATA so it is just as fast as any internal drive (actually faster then my 320GB and 80GB internals).

I want to partition it and have Ubuntu on that partition. This is no problem. I want it to boot from there. Again, no problem.

So whats the problem?

Well, I would like it to be able to boot off another computer as well. This second computer has completely different hardware. This means Ubuntu will some how need to use different drivers based on which computer It is booting from.

If need be, grub can be on both computers (which also have XP installed internally).

Is there any way to do this?

It only has to be these two computers. I may need it to work on 3 or 4 maximum, but at that point it would just be repeating the same steps. However, it doesn't have to boot on *all* computers ever. In this case I do(or will) know the hardware of each computer. Its a matter of telling ubuntu 'no, im on computer 1, use those drivers'. But i have no idea how to do that.

I plan to use Hardy Heron, by the way.



So thanks for any helpful posts & responses !
 
Old 07-14-2008, 11:10 PM   #2
blackbinary
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Well, i've posted the question in a few other forums, but no responses .

Hopefully you guys can help me out!
 
Old 07-15-2008, 05:04 AM   #3
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Quote:
Originally Posted by blackbinary View Post
Well, i've posted the question in a few other forums, but no responses .

Hopefully you guys can help me out!
I have a feeling you're not getting responses because this will be an exercise in futility. Would you install Windows on a drive, put it in another PC, and expect it to boot perfectly w/o reloading drivers, etc. if it even managed to boot?

Why not just put a live CD image on the partition and boot it? With a drive that big, you could create a folder to save files you want.

IGF
 
Old 07-15-2008, 02:40 PM   #4
blackbinary
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by IndyGunFreak View Post
I have a feeling you're not getting responses because this will be an exercise in futility. Would you install Windows on a drive, put it in another PC, and expect it to boot perfectly w/o reloading drivers, etc. if it even managed to boot?
Perhaps. As for the windows question, it does work. Thats why I want to know if Ubuntu will. Windows has a 'hardware profiles' features, usually for laptops, but you can tell it to swap most of the hardware, which means there are only a few things that need to be similar. It is pretty hard to do, but It can be done.


Quote:

Why not just put a live CD image on the partition and boot it? With a drive that big, you could create a folder to save files you want.
I did not know you could do that. What would be the difference between using a live cd version and using a full install? Obviously when it is running off a CD it is slower, but that wouldn't be the case if it is on a harddrive.

I guess the other option is to have two seperate installations of ubuntu.
 
Old 07-15-2008, 03:34 PM   #5
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
I'm not exactly sure on the specifics of booting an image off of a drive, but I know it can be done, as thats how people w/o optical drives install..

IGF
 
Old 07-15-2008, 03:38 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, I have Fedora 9 and Kubuntu on USB drives I schlep from computer to computer, and all I usually have any problem getting to work is the video system when the video driver and screens are different.

The "trick" is to have a driver "what-you-need" line in the video device section for each driver you want the X-server to try on each different computer. For example:
Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Driver         "fglrx"
    Driver         "intel"
EndSection
Clearly more is possible since the "Live CDs" out there recognize different hardware during their boot. I'd suggest you download the Ubuntu Live CD and look at what it goes through during the boot.

I'd also suggest that you install GRUB on the removable drive, and have your hardware boot from the removable drive before the internal drive. That way you only need to maintain the menu.lst file on the removable drive.

Note, however, that mixing 32-bit hardware with 64-bit hardware can be more problematic unless you run a 32-bit OS on your 64-bit system, which does work.
 
Old 07-15-2008, 03:44 PM   #7
blackbinary
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I know computer #1 is 64bit, but I don't see much reason to stick with 64bit when I only have 3gb of ram.

If i understand your code correctly, for 'device 0' which would be the graphics card in that slot, it will try using nvidia, fglrx, and intel drivers?

could i get this to happen with a regular installation of ubuntu? So every time it boots, it trys driver 1, driver 2 etc.?
 
Old 07-23-2008, 11:12 AM   #8
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Sorry for the reply delay - things have been hectic here.

Anyhow, you could try it to see what happens. Sometimes it seem to work for me, other time it fails. When it fails, I just comment out the unneeded driver lines and do a startx. (Having mc installed on the USB drive makes this quite easy.)

Perhaps I should take my own advice and look at how the "Live CD" boot process does it, eh?
 
  


Reply

Tags
computers, external, multiple, ubuntu



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
how to install on external hard drive then boot from any computer? Mr_Shameless Linux - General 1 05-31-2008 10:03 AM
Installing Lilo to external harddrive from different computer that's not booting it? zefer Linux - General 10 10-03-2007 12:30 PM
booting 11.0 off external usb drive jmille34 Slackware 2 11-18-2006 01:43 PM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Installing Linux on an external harddrive and booting from any computer scr02bcg Linux - Hardware 8 03-29-2004 09:11 PM

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

All times are GMT -5. The time now is 11:38 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
Open Source Consulting | Domain Registration