X-Received: by 10.70.96.197 with SMTP id du5mr4061306pdb.3.1408730911561; Fri, 22 Aug 2014 11:08:31 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!feed.news.qwest.net!mpls-nntp-02.inet.qwest.net!news.glorb.com!uq10no3489086igb.0!news-out.google.com!aw9ni6993igc.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.gcicommunications!news.posted.gcicommunications.POSTED!not-for-mail NNTP-Posting-Date: Fri, 22 Aug 2014 13:08:29 -0500 Newsgroups: comp.os.linux.misc Subject: Re: a question of installing linux operating system on external hard drive References: <0d9743e0-e58a-4c43-9fed-0c05e0d575bc@googlegroups.com> From: floyd@apaflo.com (Floyd L. Davidson) Organization: __________ Date: Fri, 22 Aug 2014 10:08:24 -0800 Message-ID: <87mwawwg6f.fld@barrow.com> User-Agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.19 Cancel-Lock: sha1:1X9VwbW7akYHfo0w02BAQ1AQUgo= MIME-Version: 1.0 Lines: 47 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.237.125.254 X-Trace: sv3-TBOjw2BiTI8ENbqiDwm4XbOF0rdy5PGEJnQGsQmfUPpaLqjNblVHcpnZFf7ToGCSCiWzYCYR5gIOSiL!5iv7CmrtHPtGtg/xwZnqgAyMwQsLlrn64AVY3LRCSokXdlKFx8Vp8ufbc2KZgDKeMfjtlzKp X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3107 Content-Type: text/plain; charset=us-ascii Xref: csiph.com comp.os.linux.misc:11798 newbie2 wrote: >Hi, > >I am very interested in installing Linux Ubuntu on an >external hard drive. Ideally, I hope that when I plug >this HD to my desktop which has Windows 7 operating >system, then I can use Ubuntu to do my programming work >and all my code, database mysql, Eclipse, Java etc all >are installed at the external hard drive. Then I can >unplug it from this desktop and plug into a laptop, I >can continue my work left at Desktop. Is this possible? > >Desktop hardware and the laptop hardware are different, >e.g. video card, wifi card etc. So when the external HD >is with the desktop and I have installed Linux video >card drivers(to the external HD) for the desktop >hardware. When with the laptop, the previously installed >drivers may not work with laptop video card or other >hard ware. How to solve this problem? I'm not particularly familiar with Ubunto, so I cannot list in detail all the specifics necessary to accomplish this. But it is actually fairly easy. You simply need to have two separate root filesystems on your external hard disk. I've done that using Slackware and Lilo. I think Ubuntu uses Grub, but it certainly will be able to do the same thing. If you separate the various filesystem onto different partitions, you can have the same /boot, /usr, /var, and /home partitions for the laptop and the desktop system. I'd use maybe a 1GB /root for the laptop and another for the desktop. Then a /usr partition large enough to hold whatever that distribution has that you want to install. I'm not sure if there would be variations in /var between two different systems like that. There might be! So just to avoid that as a problem you might have a different partition to mount as /var for each system too. The /boot and /home partitions can be the same. -- Floyd L. Davidson http://www.apaflo.com/ Ukpeagvik (Barrow, Alaska) floyd@apaflo.com