Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-07-2006, 11:22 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
install X in slave HDD?

I have a debian sarge installed in a machine with two HDDs. The master HD is really small, so i never installed X system.
Is it possible to install x-window-system, fluxbox, etc in a slave HD and make it run from there?

any links, suggestions?

Old 05-08-2006, 03:36 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Yes....with some codicils.

When you install SW, files tend to wind up in different places. Thus, you need the right directories pointing to the second drive. Since the system is already installed, you would need to copy files over after creating and mounting the partitions. My guess is that it will be easier to re-install Linux.

What are the hard drive sizes? Are there any other OSes installed?
Old 05-08-2006, 04:58 AM   #3
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 31
This is easily done. For historical reasons, and unlike most software, X lives in it's own directory tree, /usr/X11R6. So, you can simply mount the second drive there.

Note though, that some X related software may not be under /usr/X11R6 (e.g. might be under /usr or /opt, I'm not familiar with debian so I don't know where it puts it). Thus, as pixellany suggests, you might be better off reinstalling onto the second drive. Perhaps you could use the smaller drive as swap space?

Last edited by ioerror; 05-08-2006 at 05:03 AM.
Old 05-08-2006, 08:53 AM   #4
LQ Newbie
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
The master HD is an old 800MB i recovered from an old pc. Just enough to install a console-based system.
The slave HD is broken, it only serves as a storing device, since its boot sector does not work, so i guess the right thing to do before installing anything would be to get a new -decent- HD.

Thanks for the replies.


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
CentOS can't detect my slave HDD twysm cAos 1 05-05-2005 07:50 PM
slave hdd canyon289 Linux - Hardware 6 02-24-2005 03:46 AM
Linux HDD as slave? roAder Slackware 1 06-28-2004 08:27 AM
slave hdd tomamodi Linux - General 11 05-21-2004 10:30 AM
Mandrake 9.0 installation on slave hdd DMBand8700 Linux - Newbie 9 01-21-2003 04:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration