LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-02-2008, 12:03 PM   #1
bohsocks
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Making X work when moving HDD to another computer


Hey. I'm trying to run a SHOUTcast server on a spare computer in my house... so I'm installing Feisty.

I have two spare computers... pretty comparable in specs so it doesn't matter.......

The first computer Ubuntu installs fine, but the PCI is broken.... so Internet doesn't work (I've also attempted to install Win 2000 on this machine)

The second computer the PCI works fine, so Internet would work... BUT for some reason it runs the install unusually slow and eventually just locks up.... (Win 2000 gets file copying errors)

So my solution would be to install Ubuntu on the first PC, swap HDDs and run it on the 2nd... but that breaks X and leaves me with a terminal.....

Is there anything I can run from here to get X working on the second PC?

I've tried:
-dpkg-reconfigure blah blah (If I spelled it wrong, sorry)
-uninstalling and reinstalling ubuntu-desktop (though this gave me an error.... would this be the solution if I was able to do it successfully)
-upgrade to Gutsy (it didn't work, and I did this before un/reinstalling ubuntu-desktop.... the repositories made it break)

Would re-installing ubuntu-desktop successfully solve this issue?

If not, what would?

I'm very desperate.
 
Old 08-02-2008, 06:25 PM   #2
nons
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by bohsocks View Post
Hey. I'm trying to run a SHOUTcast server on a spare computer in my house... so I'm installing Feisty.

I have two spare computers... pretty comparable in specs so it doesn't matter.......

The first computer Ubuntu installs fine, but the PCI is broken.... so Internet doesn't work (I've also attempted to install Win 2000 on this machine)

The second computer the PCI works fine, so Internet would work... BUT for some reason it runs the install unusually slow and eventually just locks up.... (Win 2000 gets file copying errors)

So my solution would be to install Ubuntu on the first PC, swap HDDs and run it on the 2nd... but that breaks X and leaves me with a terminal.....

Is there anything I can run from here to get X working on the second PC?

I've tried:
-dpkg-reconfigure blah blah (If I spelled it wrong, sorry)
-uninstalling and reinstalling ubuntu-desktop (though this gave me an error.... would this be the solution if I was able to do it successfully)
-upgrade to Gutsy (it didn't work, and I did this before un/reinstalling ubuntu-desktop.... the repositories made it break)

Would re-installing ubuntu-desktop successfully solve this issue?

If not, what would?

I'm very desperate.
I hope you already solved the problem.
But anyway this should help someone else.
First, if you use standard kernel (not custom compiled) you should have no problem to move HDD with any linux to other machine and reach terminal.
X would work only if you have VGA card that uses same driver as the source machine.
So, the only thing that need a change is your xorg.conf file.
in Ubuntu /etc/X11/xorg.conf
the option that always work is vesa driver.
If you are able to boot LiveCD, you can safely use its xorg.conf.
Just move your HDD with installation to new machine, boot with LiveCD, open terminal and execute:
sudo cp /etc/X11/xorg.conf /media(or mnt)/<your root partition>/etc/X11
you might need to mount your root partition first.
use sudo mount -l to check where and if its mounted
use sudo fdisk -l to see your partitions
 
Old 08-02-2008, 08:21 PM   #3
bohsocks
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unfortunately now it hangs during install no matter which PC I'm using. I'm burning a new LiveCD and praying that works.

Thanks for the help
 
  


Reply



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
Moving the HDD containing linux to another PC Dark Templar Linux - Hardware 14 05-06-2006 02:31 PM
how to do a dual boot (Windows on portable HDD) linux on computer HDD izquierdista Linux - General 5 01-28-2006 09:50 AM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 10:34 PM
moving /var to a new hdd freelinuxcpp Linux - Software 4 11-02-2003 02:52 AM
Making linux work on a new computer svele Linux - Hardware 4 10-27-2003 06:14 PM

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

All times are GMT -5. The time now is 05:56 PM.

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