LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-24-2007, 05:23 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
chroot & slackpkg update different partition


I've got my ide hard-drive set up as follows

hda1 Windows Xp ( ntfs )
hda2 fat32
hda3 linux swap
hda4 ( extended )
hda5 linux (Slackware 11)
hda6 linux (Gentoo )
hda7 linux (Slackware - Gnome )
hda8 linux (Slackware - current)

I've only got one computer at my house and when I emerge update world in gentoo it takes hours. I'm still learning so what I wanted to do is be able to do is boot into my favorite partition (hda5 because it has all the family goodies on it) and login to the graphical enviroment and use it as normal. While the family is using slackware be able to go into anther console and chroot into the other partitions and let stuff update like "emerge --update world" in Gentoo or either "slackpkg update-all" if this makes since.

Is this possible?

Thanks for the help in advance.
 
Old 04-25-2007, 08:37 AM   #2
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 87

Rep: Reputation: 16
A new console is not independent from the boot session. chroot would change the file tree for both sessions. Whatever is different from Slackware 11 to Gentoo etc would disappear. Any compiled in file paths in the boot session that are not identical in the chroot tree would break. Dynamic library references in the boot session would not be compatible with updated versions in the new file tree.
 
Old 04-25-2007, 08:46 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Thanks for the information on this. I was hoping that there was someway to keep from being such a computer hog around the house without buying a new machine.

davimint
 
Old 04-27-2007, 08:30 AM   #4
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 87

Rep: Reputation: 16
You can accomplish your objective by being your own mirror. With
Code:
rsync
you can update changed packages from one of the distribution mirrors and then update your systems from your own hard drive. With
Code:
cron
you can run in the background in the late night hours to minimize impact on your other users. Otherwise they would see significant competition for the internet connection.
 
  


Reply


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
slackpkg update = slackware-current? trashbird1240 Slackware 2 04-24-2007 08:50 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
[SOLVED] slackpkg & LinuxEBDA aihaike Slackware 1 07-31-2006 07:37 AM
slackpkg update. Please, edit that file and chemichael Slackware 2 12-13-2005 12:31 PM
After slackpkg update(all current p'kges), Slackware 10 stops loading (black screen). SlawioG Slackware 3 11-28-2004 09:19 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration