<br><br><div><span class="gmail_quote">On 5/13/08, <b class="gmail_sendername">Teo</b> <<a href="mailto:teo666@linuxmail.org">teo666@linuxmail.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Vincent ha scritto:<br> ><br> ><br> > On 5/13/08, *Teo* <<a href="mailto:teo666@linuxmail.org">teo666@linuxmail.org</a> <mailto:<a href="mailto:teo666@linuxmail.org">teo666@linuxmail.org</a>>><br> <br>
> wrote:<br> ><br> > Hello everyone,<br> > I'm searching for a way to add space on / adding one hdd.<br> > I don't want to change partitions or similar, only add free space of a<br> > second hdd to /.<br>
> Is that possible??<br> > My problem was born from insufficient space for upgrade the distro on a<br> > remote (monitorless and keyboardless) pc on my lan.<br> > In alternative I tried to mount free space in /var/cache/apt, but the<br>
> update-manager still say that there's not enough space on / to install..<br> > Thanx,<br> > Teo.<br> ><br> ><br> > I'm not an expert, but I'm afraid it's impossible. What you could do is<br>
> set the hard drive to mount to a place where a lot of files are stored.<br> > Perhaps it'd make for a good home directory? If you're going to do that,<br> > be sure to move over the files that are currently in that directory :)<br>
><br> > --<br> > Vincent<br> ><br> <br> <br>Ok, so I have to copy the content of a folder to a new partition, then<br> mount the new (not empty) partition in the (old) empty folder..<br> ..sure that space freed by moving could be used for installation..right??</blockquote>
<div><br>Well, let's say you want to move /nonexistent folder to the new hard drive. First, you move everything contained in that folder to /home/yourusername/backup . Then you set the mount point of the new hard drive to /nonexistent and move the files in the backup back to that folder.<br>
<br>I wouldn't know how to do that with critical folders though, but surely there's someone on this list who is better at this subject who can explain :)<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But where apt-get, or better update-manager, stores the downloaded files<br> for installation??</blockquote><div><br>When a package is installed, files get spread out across the place. For example, the file to actually run the program is often located in /usr/bin, while the application's files are stored in /usr/share. The package itself is archived in /var/cache/apt, and so on... That's why this'd be so problematic. Your home folder might be a good idea, but a lot easier when doing a new installation than moving an existing Xubuntu installation.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> And, if I'd mount a partition on that (unknown yet..) folder the program<br> (during upgrade) could detect enough space?<br>
<br> I like this kind of challenge..and linux..</blockquote><div><br>You're not the only one :) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanx,<br> Teo.<br> </blockquote></div><br clear="all"><br>-- <br>Vincent