[02:00] <jeremy_carroll_> Question. Is there any documentation on how Canonical creates the cleanup process for the UEC images? i'm downloading, modifying, then re-bundling a UEC image. I want to ensure that I cleaned up all boot artifacts correctly.
[02:08] <med_> jeremy_carroll_, that's not really a supported process.  You shouldn't ever "boot" them to modify them.
[02:09] <med_> Canonical doesn't "clean" them, it makes them pristine from the get-go.
[02:09] <med_> and they generally aren't called UEC images (well, not for the last 3 years or so.)
[02:09] <jeremy_carroll_> med_: :) Any information on what makes them different then a vanilla install? Ex: How they are built?
[02:10] <med_> jeremy_carroll_, they are built (or were) with vm-builder
[02:10] <med_> yes, they are distinct from a vanilla install.
[02:10] <med_> They include cloud-init is one of the HUGE differences. It allows you to take the generic cloud-image and at boot time make it into whatever you want.
[02:10] <med_> A much more supportable way to go.
[02:11] <med_> https://help.ubuntu.com/community/CloudInit
[02:12] <jeremy_carroll_> med_: Currently a big fan of CloudInit. We have custom modules ourselves. Works great. Looking into what makes a Cloud Image unique so I can modify it to suit our needs. I did not find much in the way of what makes the provided images different than stock ISO builds. Etc..
[02:12] <med_> CloudInit is likely the Windows functional clone of cloud-init
[02:13] <med_> you can look at the manifest to see what differs.
[02:13] <med_> this is what's in an ubuntu cloud image: http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64.manifest
[02:14] <med_> the server iso doesn't have a published manifest (though you may be able to extract one). That will tell you the difference.
[02:14] <jeremy_carroll_> So no other modifications other than package builds?
[02:14] <jeremy_carroll_> Er. Packages installed?
[02:15] <med_> basically, that's how ubuntu is made -- from packages
[02:15] <med_> even the isos
[02:15] <jeremy_carroll_> Fantastic. Thanks for your assistance. Very helpful.
[02:18] <med_> jeremy_carroll_, reading scott moser's blog is a great use of time if you really want to understand... http://ubuntu-smoser.blogspot.com/
[02:18] <jeremy_carroll_> Bookmarked. Thanks again. ;)
[02:18] <med_> another related blog comes from ben howard: http://blog.utlemming.org/
[02:19] <med_> both are (afaik) on the ubuntu server team (or something akin to that)
[02:19] <med_> and both follow this channel closely
[02:20] <jeremy_carroll_> Hah. Just found that via the link on the first site. ;)
[05:41] <AtuM> how can I get the info on what version of the software would be installed if i chose to do so.. I'm trying to find out what version of drbd8-utils is in the repo.
[05:42] <AtuM> apt-get changelog gives some info... any other way?
[05:43] <AtuM> something to just get the version string
[05:53] <pabs3> I'm getting really slow downloads (18.1kB/s) from security.ubuntu.com from a server in hetzner.de, is there a faster security mirror I should use?
[06:13] <lkthomas> hey guys, does anyone know some tools could generate preseed file ?
[06:14] <AtuM> lkthomas, I've used vim editor
[06:15] <AtuM> Would like to know if anything like this exists, too..
[06:15] <lkthomas> AtuM: I mean, a more intuitive tool
[06:16] <AtuM> lkthomas, I've seen that it's possible to install system-config-kickstart, but that was of no particular use to me since the kickstart support is really bad
[06:16] <lkthomas> I know as well
[06:17] <lkthomas> the best is preseed
[06:17] <AtuM> I've researched preseed for 3 days to find how to finally make install from local repo work
[06:18] <lkthomas> AtuM: worse part, the time we spend on research already enough for us to provision all Ubuntu and leave the scene
[06:19] <AtuM> lkthomas, do you know of a good site that expains the options in more detail? I would like to set keyboard/location and I can't seem to "guess" the right option.
[06:19] <lkthomas> AtuM: nope
[06:20] <pabs3> https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt
[06:20] <AtuM> lkthomas, I might have a cure for you.. it's not a well documented fact.. but this guy found it: http://www.michaelm.info/blog/?p=1378
[06:20] <pabs3> try picking things from that ^
[06:20] <AtuM> made my network install from local repo usable..
[06:21] <lkthomas> WTF
[06:21] <lkthomas> so it change from version to version
[06:21] <lkthomas> that's stupid
[06:22] <AtuM> pabs3, I have seen this.. not much help.. I need to set Slovenian keyboard.. it always asks me about it
[06:22] <AtuM> no matter what I set in the preseed
[06:23] <AtuM> lkthomas, well.. glad I could help... my reaction was much the same as yours
[06:24] <AtuM> lkthomas, though I understand how the installer process evolved to use an image to copy files over to the target.. it's much more efficient
[06:24] <AtuM> I do wish things got documented better when they happen...
[06:30] <lkthomas> AtuM: problem is this, it's not well documented and potentially wasting a lot of time on it
[06:30] <lkthomas> AtuM: I still struggle if we should get it done , I mean preseed part
[06:31] <AtuM> lkthomas, well.. I've done it.. but I can't get my locale set.. I just hate the fact that I need to select all that location/language crap at the beginning of the install.. I've tried many possibilities without any success..
[06:32] <AtuM> documentation is next to unusable... if only there would be a preeseed template available for each release...
[06:33] <AtuM> hm.. preseed is made by debian.. just adopted by ubuntu... perhaps i find answers there
[06:36] <AtuM> though as far as i can tell the installation process is somewhat different in ubuntu
[06:41] <lkthomas> brb
[06:52] <anunakki> hello, i'm having an issue with sshd, i've googled and tried multiple methods to resolve the issue with no luck
[06:53] <anunakki> sshd is hanging before password prompt
[06:53] <anunakki> cant seem to fix it on ubuntu-server
[06:53] <anunakki> never actually had to deal with this issue before on other distrobutions
[06:57] <andol> anunakki: How do you define hanging? See anything userful in the server logs? If you connect using ssh -v, (or -vvv), how far do you make it?
[06:57] <anunakki> it makes it all the way, by hanging i mean a fairly significant delay before actually prompting for password
[06:58] <andol> ptr lookup timeout?
[06:59] <anunakki> here let me paste my verbose login and maybe you can notice something i'm overlooking
[07:00] <anunakki> mind if i msg andol?
[07:01] <anunakki> meh actually not really a big deal
[07:01] <anunakki> http://codepad.org/6MAXNLPO
[07:03] <AtuM> I've found a way to get rid of the language/location questions at the beginning of network install.. you have to put these lines into the "append" line of the pxe-boot: "locale=en_US console-setup/layoutcode=<map> keymap=<map>"
[07:04] <andol> anunakki: Hmm, any chance you can pinpoint at what line in that listing the delay happens?
[07:04] <anunakki> hmm, yea let me see
[07:04] <andol> anunakki: Checked the PTR lookup yet?
[07:04] <anunakki> i have not
[07:04] <anunakki> seems to hang in two places
[07:04] <anunakki> its a small delay
[07:05] <anunakki> ok yea i thought if ixed it but i didnt lol
[07:06] <SpamapS> rbasak: 2014-04-25 00:25:28.239 | W: Failed to fetch bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages  Hash Sum mismatch
[07:06] <SpamapS> rbasak: weren't you going to fix that? ;)
[09:42] <rbasak> SpamapS: yeah but I kept getting pulled into other things, and it never happened.
[09:42]  * rbasak still has a working implementation somewhere.
[09:51] <MohammadAG> Hi, I recently added a MediaWiki to my home server, and forgot about it, apparently it was being attacked by multiple IPs and that causes my server to restart all the time
[09:51] <MohammadAG> since I don't need the wiki, I shut it down, but I'm still getting HTTP GET requests to parts of it
[09:52] <MohammadAG> I'm trying to use fail2ban to block them, but not much success
[09:52] <MohammadAG> this is the regex I'm using failregex = ^<HOST> -."(GET|POST)./wiki/.*$
[10:16] <AtuM> How would I get ocfs2 kernel module version 1.6.x built on 14.04 ??
[10:43] <pmatulis> morning
[10:45] <chrisrer> morniiiing
[11:05] <rymate1234> I have a discourse instance running on port 8080 in a docker. Is there a way to get appache to redirect all traffic from forums.mysite.com to the discourse instance on port 8080?
[11:06] <mardraum> reverse proxy
[11:07] <rymate1234> thanks
[11:20] <rymate1234> yay it worked!
[11:26] <chrisrer> mardraum i have a local wifi server without internet connection and i want when one user connect to server and type google.com or something else i want to redirect him to localhost .... any ideas?
[11:27] <AtuM> chrisrer, set up a dns and insert a record there to point google.com to 127.0.0.1
[11:28] <AtuM> that would redirect clients to themselves.. if you want to direct them to your wifi server, then enter that server's ip address to google.com zone
[11:28] <chrisrer> atum not only google everything type's the user like captive portal....... server have DNS
[11:29] <chrisrer> server not have internet connection everything are local
[11:30] <AtuM> oh.. i think there's a setting for that in the wifi-server software.. i remember seeing it
[11:30] <AtuM> so it redirects all request to a login server or sth
[11:33] <AtuM> chrisrer, I've used hostapd afair
[11:34] <chrisrer> what do you mean I've used hostapd afair
[11:35] <AtuM> chrisrer, I was setting up an access point of my own.. i've used software hostapd.. "as far as i remember" :D
[11:36] <chrisrer> aha.........hostpad is firmware for access point's?
[11:41] <AtuM> not firmware.. software - a manager for wifi ap
[11:44] <chrisrer> aha let's search about this software ... let's see.........do you suggest a good captive portal to work to another server? or some ready packet with linux to congif only?
[11:44] <bekks> chrisrer: What are you actually asking?
[11:46] <chrisrer> bekks my first question is: mardraum i have a local wifi server without internet connection and i want when one user connect to server and type google.com or something else i want to redirect him to localhost .... any ideas?.....2:28:50 μμ - chrisrer: atum not only google everything type's the user like captive portal....... server have DNS
[11:46] <chrisrer> 2:29:22 μμ - chrisrer: server not have internet connection everything are local
[11:46] <chrisrer> and my second question: do you suggest a good captive portal to work to another server? or some ready packet with linux to congif only?
[11:47] <bekks> chrisrer: What are you talking about? I just read nonsense after the first "....".
[11:49] <chrisrer> i want to make a second server wifi hotspot with program captive portal and i ask if someone suggest to me a good captive portal or full packet with linux to install to server and make only the configuration ;)
[11:51] <bekks> Then maybe you have to clarify what a "captive portal" is, since it isnt a linux software from what I understand.
[11:56] <chrisrer> it's linux programs captive portal's i'll give you an example to see my friend https://www.youtube.com/watch?v=lNS32DRc01c#t=12
[11:56] <bekks> I am not going to watch some videos.
[11:56] <chrisrer> http://www.hotspotsystem.com/
[11:58] <bekks> How is that related to redirecting DNS entries?
[12:04] <chrisrer> i repeat this is my second question...captive portals i suppose tha have ip tables? i don't know some sites suggest to upgrae the firmware from access point's
[12:05] <bekks> Thats totally unrelated to redirecting a domain name to a specific IP.
[12:06] <chrisrer> you mean the captive portal?
[12:06] <chrisrer> or about my first question
[12:06] <bekks> I still dont know what a "captive portal" is about to be.
[12:08] <bekks> That link you gave me is the successor of chillispot, and I never heard "captive" in that context.
[12:08] <Tazmain> hi all, what is the best way to copy a large folder to a remote server ?
[12:09] <chrisrer> yes my friend the name of all this programs are captive portal's general term
[12:09] <bekks> Tazmain: scp, nfs, cifs, sftp - choose your weapon.
[12:09] <chrisrer> like joomla ,wordpress etc.....called cms
[12:09] <bekks> chrisrer: you are totally mixing up things.
[12:10] <bekks> chrisrer: chillispot/hotspotsystems has nothing to do with CMS at all.
[12:10] <bekks> chrisrer: And "captive systems" in general have nothing to do with redirecting a domain name to a specific IP.
[12:10] <chrisrer> yes but i give you an example for cms
[12:11] <bekks> You didnt.
[12:11] <bekks> You gave me a link to wireless hotspot software.
[12:11] <chrisrer> bekks ifyou take a wifi hotspot and connect with your mobile when you type something like google.com they redirect you to first page
[12:12] <bekks> chrisrer: Which has nothing to do with a CMS at all.
[12:13] <chrisrer> bekks read slowly my friend i give you an example about general names........chillispot etc are captive portals general name.......and joomla etc are cms
[12:14] <bekks> chrisrer: a) I am not your friend b) you are mixing up terms c) you still did not clarify what you are talking about d) and I dont want to know it anymore.
[12:14] <bekks> and e) your keyboard is broken, it randomly repeats the . multiple times :)
[12:14] <chrisrer> ouf ..............bekks find a girl to relax :)
[12:15] <bekks> chrisrer: No need to get personal when people tell you you have obviously absolutely no clue about what you are talking about. Good luck. Ignore set.
[12:16] <chrisrer> thank you my good friend....xaxaxaxaax
[12:19] <Tazmain> bekks, but which one will work if the network drops and just continues ? from windows to remote ubutnu server ?
[12:19] <bekks> Tazmain: The one that matches your requirements best.
[13:10] <chrisrer> i have ubuntu server 14.04 and when install phplive support extension give me this error: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead ........ any ideas?
[13:20] <rbasak> chrisrer: somebody asked this yesterday I think. Was it you? If you don't get an answer here, try askubuntu.com maybe?
[13:20] <rbasak> I've no idea what phplive is - maybe try their support options?
[13:22] <chrisrer> yes i ask yesterday to........ phplive is a chat support script for webpages
[13:23] <chrisrer> ;)
[13:23] <rbasak> Does it support PHP 5.5? 14.04 provides a major new version of PHP with a number of changes.
[13:23] <chrisrer> you know the php version changed etc and i have some problems ...you know from mysql to mysqli
[13:23] <rbasak> Software that uses PHP will likely need to be updated.
[13:27] <patdk-wk> why not just use php-mysqlnd instead?
[13:28] <chrisrer> i'll try but nothind
[13:30] <beisner> good morning all!
[13:56] <jacobw> How should one persist an NISDOMAINNAME in 12.04?
[14:08] <sander^work> Hi. I'm getting: mount: mounting /sys on /root/sys failed: no such file or directory.. and dropped into initramfs on boot.
[14:14] <yochai> Hello all. I have a question involving Ubuntu, Nginx, php5-fpm, and mysql. Is this the right forum?
[14:15] <yochai> The nginx, php5-fpm, php have not been super helpful
[14:16] <jacobw> Are you using Ubuntu Server?
[14:17] <yochai> yeah, 13.10
[14:17] <jacobw> Ok
[14:17] <jacobw> !ask
[14:17] <jacobw> Should be fine :)
[14:20] <yochai> here's the situation:
[14:22] <yochai> I'm setting up a simple application (projectsend.org) that uses php+mysql on any webserver. I use nginx. For some reason, I cannot get php to recognize the mysql extensions - if I go to a php page, it shows up as blank. however, if i go to a phpinfo page I created, it generates correctly (and shows no mysql libraries being loaded). thus I know that nginx is correctly pulling in the php5-fpm socket, but
[14:22] <yochai> for some reason php is not loading the appropriate mysql libraries
[14:23] <jacobw> Is php-mysql installed?
[14:23] <mardraum> do you have pkg php5-mysql installed ?
[14:24] <yochai> yes
[14:24] <mardraum> did you edit php.ini or related based on some silly web page you read?
[14:25] <yochai> I edited php.ini to allow for logging; that's it
[14:25] <yochai> anyways the problem occurred long before that (which is why i was trying to enable more verbose logging)
[14:43] <patdk-wk> did you restart php5-fpm?
[14:44] <yochai> of course I restarted it
[14:45] <yochai> I've been working on this issue for days - restarting php5-fpm, nginx each time. Remember, I can get a working phpinfo page - it just refuses to load any mysql extensions.
[14:45] <patdk-wk> well, there is only one reason for that then
[14:45] <patdk-wk> did you check /etc/php5/conf.d/mysql*
[14:45] <patdk-wk> and make sure it wasn't commented out?
[14:46] <patdk-wk> oh wait, it changed to an enable module thing didn't it?
[14:46] <patdk-wk> or is that later?
[14:47] <patdk-wk> php5enmod mysql
[14:47] <yochai> will that work with nginx though?
[14:47] <patdk-wk> what does nginx have to do with php?
[14:48] <yochai> hold on, firstly: there is no /etc/php5/conf.d
[14:48] <yochai> I have /etc/php5/fpm
[14:48] <patdk-wk> you have no /etc/php5/conf.d?
[14:48] <yochai> and within /etc/php5/fpm/conf.d/ I have 20-curl.ini  20-json.ini  20-xmlrpc.ini
[14:48] <patdk-wk> you sure you installed ubuntu?
[14:48] <yochai> uh
[14:49] <yochai> dude, I'm a sysadmin. yes i'm sure
[14:49] <patdk-wk> normally /etc/php5/fpm/conf.d is a symlink to /etc/php5/conf.d
[14:49] <RoyK> yochai: lsb_release -a ?
[14:49] <patdk-wk> or maybe this is just an upgrade issue on my machine
[14:49] <yochai>  cat /etc/lsb-release:  DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION="Ubuntu 13.10"
[14:51] <RoyK> not sure about that. I only use LTS for servers...
[14:51] <patdk-wk> what is in /etc/php5/fpm/conf.d
[14:51] <yochai> I upgraded from 13.04 a few weeks back because of heartbleed (long story).   Anyways, i'm relatively new to nginx, and I was able to get this specific application working on another machine under apache - but I have to use nginx on this machine for other reasons.
[14:51] <yochai> 20-curl.ini  20-json.ini  20-xmlrpc.ini
[14:52] <patdk-wk> so you didn't php5enmod mysql yet
[14:52] <patdk-wk> or mysqlnd
[14:52] <yochai> WARNING: Module mysql ini file doesn't exist under /etc/php5/mods-available
[14:53] <patdk-wk> apt-get install php5-mysql
[14:53] <patdk-wk> oh, php5-mysql is gone
[14:53] <RoyK> yochai: I beleive fastcgi uses php5-cli - is that installed
[14:53] <RoyK> ?
[14:53] <patdk-wk> only mysqlnd anymore
[14:53] <yochai>  ls /etc/php5/mods-available:    curl.ini  json.ini  mysqlnd.ini  xmlrpc.ini
[14:53] <patdk-wk> royk, seriously?
[14:53] <patdk-wk> what does cli have to do with fcgi?
[14:54] <patdk-wk> php5enmod mysqlnd
[14:54] <RoyK> patdk-wk: think so - why should it be using mod_php?
[14:54] <RoyK> well, not sure
[14:54] <patdk-wk> royk, he is using fpm, not comamnd line
[14:54] <patdk-wk> cli == command line
[14:54] <patdk-wk> cgi == cgi/fcgi
[14:54] <patdk-wk> fpm == fcgi
[14:54] <yochai> wait wait wait - i think you guys are on to something
[14:54] <patdk-wk> mod_php == apache
[14:54] <RoyK> but - rather good weather, so I'm off - TTYL
[14:54] <yochai> wait wait wait - i think you guys are on to something
[14:54] <yochai> I just did apt-get install --reinstall php5-mysql
[14:55] <patdk-wk> yochai, will, if you have php5-mysql ok, but it is going away, and you will have to change to mysqlnd or pdo-mysql at some point
[14:55] <yochai> OK
[14:55] <patdk-wk> I've switch most of mine to mysqlnd already
[14:55] <patdk-wk> it's faster
[14:56] <patdk-wk> but it doesn't support older mysql 4.x stuff
[14:59] <yochai> ok, so what does it mean that /etc/php5/mods-available is missing the mysql ini?
[14:59] <patdk-wk> likely not installed
[14:59] <patdk-wk> or it was deleted
[15:00] <patdk-wk> personally, I would just use mysqlnd
[15:00] <patdk-wk> if you have a problem, then switch back to mysql
[15:00] <yochai> is it the mariadb fork/
[15:00] <yochai> ?
[15:00] <yochai> oh I see
[15:00] <yochai> it's a native driver
[15:00] <patdk-wk> ya, but support for old stuff, was removed
[15:01] <patdk-wk> like v3 passwords
[15:01] <patdk-wk> and crap
[15:01] <patdk-wk> but maria  Idon't think supports that stuff anyways
[15:02] <yochai> ok so I've installed it, and my phpinfo shows mysqlnd support - however, I am still getting a blank page on any php files more complicated than a phpinfo or hello world
[15:03] <bekks> yochai: Then increase the log level and take a look at the logs.
[15:03] <yochai> that's the problem - the logs don't show ANYTHING
[15:03] <bekks> Then configure logging.
[15:04] <yochai> I have
[15:04] <yochai> I get
[15:04] <yochai> DEBUG: pid 1519, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool www] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[15:04] <bekks> thats the apache log, not the php log, isnt it?
[15:05] <yochai> no
[15:05] <yochai> it's from /var/log/upstart/php5-fpm.log
[15:05] <yochai> and in /var/log/php5-fpm.log I get
[15:05] <yochai> [25-Apr-2014 11:01:18] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[15:06] <patdk-wk> you didn't bother reading the nxign log?
[15:07] <yochai> well, if you must know they show nothing useful either
[15:09] <patdk-wk> I would expect that from a blank page
[15:09] <patdk-wk> cause if it was an error, you would get a 500 error
[15:09] <yochai> Yeah
[15:09] <yochai> ok, so I've got mysqlnd extensions loaded, php is "working" in that I have a phpinfo page - what could I be missing?
[15:10] <patdk-wk> no errors or warnings, and no html errors, it's easily your script
[15:10] <patdk-wk> it's not erroring, so it's purposely cleanly exiting
[15:11] <yochai> that makes sense
[15:11] <yochai> after installing mysqlnd, should I use php5enmod to load it or is that no longer necessary?
[15:16] <patdk-wk> you likely do
[15:16] <patdk-wk> then restart php5-fpm
[15:22] <yochai> I GOT IT
[15:23] <yochai> i purged php5-mysql - which removed the "block" i had on the php modules (it was saying it couldn't replace deleted ini files when i tried reinstalling)
[15:23] <yochai> then i reinstall php5-mysql
[15:23] <yochai> and it works!
[15:23] <yochai> thanks guys!
[16:39] <bjf> can anyone tell me when cloud images get respun? specifically, do SRU kernels trigger a rebuild or are they like ISOs and they only get redone at point releases
[17:30] <sarnold> bjf: we did release new cloud images for heartbleed: http://blog.utlemming.org/2014/04/updated-12044-lts-cloud-images-in.html
[17:30] <bjf> sarnold, so it takes a significant reason to do so
[17:31] <sarnold> bjf: I think it may
[17:33] <bjf> utlemming, can you help ^ ?
[17:34] <rostam> HI I have installed  two instances of the same ubuntu version, 12.04 LTS, on my disk, /dev/sda1, /dev/sda2.  Whenever I switch the boot from one partition to another partition, and try to ssh to it, I get warning: Remote Host Indentification has changed.  Is there a work around this please?  The IP address is identical for both partition,.   Thx
[17:35] <sarnold> rostam: you -could- use the same ssh host key on both systems but that seems like a bad bad bad idea to me. why don't they have their own ips?
[17:35] <SpamapS> rbasak: bummer.. I really hate whenever I see a fail because of hash sum mismatch. :-/
[17:36] <rostam> sarnold,  They get their IP address from dhcp and since there is only one MAC address they get the same IP address.
[21:20] <duxklr> rostam: This may be old, but did you figure out the ssh host key issue?
[21:27] <jay2k> Someone have a good resource for setting up a Ubuntu HA Cluster for KVM (DRDB - LVM - KVM). I don't realy know how to start.
[21:42] <Patrickdk> sound good
[21:42] <Patrickdk> start drbd
[21:42] <Patrickdk> then start lvm, or clvm
[21:42] <Patrickdk> then start kvm
[23:44] <rostam> duxklr,  no not yet
[23:48] <rostam> HI I have installed  two instances of the same ubuntu version, 12.04 LTS, on my disk, /dev/sda1, /dev/sda2.  Most of the time I will be booting from one partition, e.g /dev/sda1. I like to have images sync, is there a way I can install a package to both partitions without booting on each different partition and install the package? Hope it is clear. Thx.
[23:49] <keithzg> chroot!
[23:49] <sarnold> rostam: see dpkg(8) instdir thing
[23:50] <rostam> keithzg,  sarnold  thank you.