Re: HDD installation from Live CD
On Donnerstag 08 Mai 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: I included the Debian installer and used it inside vmware. When finished it drops me in a login shell. if you use 'regular' d-i, then regular d-i is what you get, means, you end up with the same d-i behaviour as on the debian install cds. so no surprise there. Is there any way to tell it to install exactly like on the CD (like GUI , XFCE setup ) ? if you set LH_DEBIAN_INSTALLER=live, then it will use the live-installer udeb inside d-i, making d-i installing the squashfs to the hd rather than bootstraping the regular way from .deb packages. however, it is said that there are still some glitches there and then when using live-installer, don't expect it working yet but you're encouraged to try it, and report bugs and send patches. I set LH_DEBIAN_INSTALLER=live. The resulting iso is a lot smaller then when using the original d-i. The CD works ok for the live part but does not react to typing install at the boot prompt. Any help is appreciated. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
HDD installation from Live CD
Hi all, I have successfully created a Live-CD for GNUmed which includes a running PostgreSQL database. I included the Debian installer and used it inside vmware. When finished it drops me in a login shell. Is there any way to tell it to install exactly like on the CD (like GUI , XFCE setup ) ? Thanks -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: postgresql on live CD
On Samstag 22 März 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: What is the proper way to do this ? I imagine I could just let the live-helper install postgresql and replace a few files with the help of a script later ? either copy the data files in through local-includes, or add a local hook that imports with sql. the latter is more flexible, because it's (almost) independent of the psql version, therefore i personally would prefere this method. I am trying to use this method. I have sql scripts include which get called from a shell script. Here is the error I get when the script is called. ... The following packages will be REMOVED: mtools{u} syslinux{p} 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 1262kB will be freed. Writing extended state information... Done (Reading database ... 63126 files and directories currently installed.) Removing mtools ... (Reading database ... 63055 files and directories currently installed.) Removing syslinux ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done P: Begin installing disk information... P: Begin copying binary includes... P: Begin copying binary local includes... P: Begin executing local hooks... Error: You must install at least one postgresql-client-version package. Error: You must install at least one postgresql-client-version package. The strange things is that I have added postgresql-client-8.3 as a package explicetly and it appears in chroot. Any hints ? Thanks -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: postgresql on live CD
On Sonntag 06 April 2008, Will Murnane wrote: On Sun, Apr 6, 2008 at 8:26 PM, Sebastian Hilbert [EMAIL PROTECTED] wrote: I am trying to use this method. I have sql scripts include which get called from a shell script. What does the script contain in it? Output is all fine and good, but seeing what commands are being run will be more helpful. Will See attached script. It works ok when I run it from the bootable CD. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null restore-db.sh Description: application/shellscript ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: debian installer
On Montag 24 März 2008, Chris Lamb wrote: Sebastian Hilbert wrote: I rebuild the image (from cache however) and now I am getting this: * Check that your squashfs-antifuckup images are called: squashfs-antifuckup.chroot and squashfs-antifuckup.chroot.gpg They were renamed recently from squashfs-antifuckup.binary{,.gpg}. * Check /live.log for error messages Do I need to use the live-initramfs_1.124.1+20080323.041756_all.deb as well and where do I put it. You place it in config/chroot_local-packages and rebuild. You don't install it on your host/build system, although it will do no harm. Regards, This worked as advertised. Thanks -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: debian installer
On Samstag 22 März 2008, Sebastian Hilbert wrote: On Samstag 22 März 2008, Daniel Baumann wrote: Chris Lamb wrote: Due to a bug in the current version of live-helper, none of this will work correctly unless you are using my live-helper tree or Daniel has pulled my fixes already. fetch a snapshot from live.debian.net/debian-snapshot/. I am building now. Let's see what happens. Hope you guy can cope with my questions. I installed a live-helper snapshot. It builds the CD but drops me into a busybox shell on boot. Do I need to use thelive-initramfs_1.124.1+20080323.041756_all.deb as well and where do I put it. Any help is appreciated -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: debian installer
On Sonntag 23 März 2008, Sebastian Hilbert wrote: On Samstag 22 März 2008, Sebastian Hilbert wrote: On Samstag 22 März 2008, Daniel Baumann wrote: Chris Lamb wrote: Due to a bug in the current version of live-helper, none of this will work correctly unless you are using my live-helper tree or Daniel has pulled my fixes already. fetch a snapshot from live.debian.net/debian-snapshot/. I am building now. Let's see what happens. Hope you guy can cope with my questions. I installed a live-helper snapshot. It builds the CD but drops me into a busybox shell on boot. Do I need to use the live-initramfs_1.124.1+20080323.041756_all.deb as well and where do I put it. I rebuild the image (from cache however) and now I am getting this: see attached screenshot Depsite not knowing exactly what to do I added the repository for live-initramfs much the same way as the squashup packages ( building on etch for lenny) . Sorry if this is totally wrong. It was just a guess. Any help is appreciated -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null attachment: Live-CD.png___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: debian installer
On Samstag 22 März 2008, Daniel Baumann wrote: Chris Lamb wrote: Due to a bug in the current version of live-helper, none of this will work correctly unless you are using my live-helper tree or Daniel has pulled my fixes already. fetch a snapshot from live.debian.net/debian-snapshot/. I am building now. Let's see what happens. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
postgresql on live CD
Hi all, Great work so far. Since I got that far I am in for more. I have the GNUmed client running now and it connects to a public internet postgresql database. Our small userbase tells us that they want a local postgresql installation. Well it is fairly easy to add postgresql and a few more packges to the packages list. What I need however is a fully configured postgresql installation along with a GNUmed database. What is the proper way to do this ? I imagine I could just let the live-helper install postgresql and replace a few files with the help of a script later ? I would like to replace the configuration files as well as copy the postgresql dabase files (var/lib/pgsql/data) which hold a GNUmed database. Does anyone know if postgresql service is started automatically when installing postgresql via live-helper. Any help is appreciated. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
debian installer
Hi, A clean run produced the lenny CD I had in mind. Great work. Thanks. I have looked around for a way to provide the debian installer with the CD. Also I have found some references in the Wiki I am not sure how to do this. Any help is appreciated. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: GNUmed on Debian Live CD
On Donnerstag 20 März 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: I then cleaned up via lh_clean and deleted the cache but kept the config. a shorter way to acchieve this is: lh_clean --purge I think this will do it. I issued all the squashfs-antifuckup commands once again like in an earlier posting. you are building testing or unstable? squashfs antifuckup is *only* needed if the distribution of the *live* system is lenny/testing. Yes. I run on etch in vmware but I want a lenny live system (because of GNUmed). This used to work. Now it starts to boot but fails with 'can't open /scripts/casper' casper is only used on etch. if you build lenny or newer, make sure your LH_INITRAMFS is set to live-initramfs (or use auto to have it set at runtime depending on LH_DISTRIBUTION). Guess I screwed up during cleanup. Thanks for pointing that out. apart from the local packages stuff this seemed to work a few weeks ago. I did not update live_helper or any other package since then. you should update to the most recent version in order to get general bugfixes. Thanks for your help. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
GNUmed on Debian Live CD
Thanks to the helpful comments from the debian-live mailing list readers producing a Debian Live CD and adding GNUmed in an XFCE environment has been surprisingly easy. Now I just need to get gnumed from the testing distribution working. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: example scripts wanted
On Montag 25 Februar 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: --packages included gnumed but I guess I need to pull in XFCE to have a working window manager. if you want some 'basic grapical desktop' with xfce, add -p xfce to the lh_config call. One more question. How do I include gnumed from testing since the stable version is very old. I guess I have to work with apt-pinning somwhow. you can put a custom preferences in config/chroot_apt/preferences. however, building a lenny based image is probably safer/easier (given that you, currently, you have to include the squashfs antifuckup packages). Silly question of mine: Are the antifuchup packages only neccessary if I build for lenny or if I mix testing into etch (for the GNUmed packages) Thanks -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: example scripts wanted
On Sonntag 24 Februar 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: Could anyone be so kind to mail be a tar.gz with example scripts to build a CD on Etch. download live-helper from http://live.debian.net/debian-snapshots/, install it on your system (= etch), issue the following two commands, as root: # lh_config -d etch -p gnumed-client # lh_build and be happy :) Thanks a lot. I will try this again. maybe I have to clean a few left overs :-) Let's see about the be happy part :-) -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
example scripts wanted
Hi all, I have playes around with the scripsts for a while but most of the time it won't boot. Could anyone be so kind to mail be a tar.gz with example scripts to build a CD on Etch. I would like to include one package gnumed-client and distribute the CDs at the Linux Tage Chemnitz. Thanks a lot. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: example scripts wanted
On Sonntag 24 Februar 2008, Daniel Baumann wrote: Sebastian Hilbert wrote: # lh_config -d etch -p gnumed-client hrm, i ment --packages gnumed-client, not -p gnumed-client (the latter will look for a package-list, rather than a package name). sorry for the misstake. Let's see about the be happy part :-) *crossfingers* It did painlessly produce a 78MB iso which boots. I will report back on success. Thanks again. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
mixing etch and lenny
Hi, Is it possible to tell live-helper to install gnumed-client from testing while keeping the rest from etch ? apt-pinning ? It tries to update many packages from testing if I add the repository. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: mixing etch and lenny
On Sonntag 14 Oktober 2007, Daniel Baumann wrote: Daniel Baumann wrote: so, i'll add a check for config/chroot_apt/preferences.{binary,bootstrap} into lh_chroot_apt, which is the helper to take care about the configuration of apt during the chroot stage. done in my git tree, please test. put an approriate preferences file into config/chroot_apt/preferences and it should be used automatically. First I will have to learn how to use git, I guess -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: mixing etch and lenny
On Sonntag 14 Oktober 2007, Daniel Baumann wrote: Daniel Baumann wrote: so, i'll add a check for config/chroot_apt/preferences.{binary,bootstrap} into lh_chroot_apt, which is the helper to take care about the configuration of apt during the chroot stage. done in my git tree, please test. put an approriate preferences file into config/chroot_apt/preferences and it should be used automatically. like this ?: config/chroot_apt/preferences/preferences -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: mixing etch and lenny
On Sonntag 14 Oktober 2007, Daniel Baumann wrote: Sebastian Hilbert wrote: like this ?: config/chroot_apt/preferences/preferences no, config/chroot_apt is the directory, and pereferences is the file in it (full path to file: config/chroot_apt/preferences). sorry for beeing unclear about that. I only see a cvs tree to get the latest code ? . Can this be used as well ? -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: mixing etch and lenny
On Sonntag 14 Oktober 2007, Daniel Baumann wrote: Sebastian Hilbert wrote: I only see a cvs tree to get the latest code ? . Can this be used as well ? cvs is here. no idea how recent that is http://alioth.debian.org/scm/?group_id=30929 cvs? there has never be any cvs repository. prior git, there was svn. unrelated to that, you can get as always snapshots from here: http://live.debian.net/debian-snapshot thanks, trying right now GNUmed really needs a live cd. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: mixing etch and lenny
On Sonntag 14 Oktober 2007, Daniel Baumann wrote: Sebastian Hilbert wrote: cvs is here. no idea how recent that is http://alioth.debian.org/scm/?group_id=30929 that's the alioth gforge whatever thing which you can't remove. afaik, that gets automatically 'created' (not the repo, there s none; but the page about it in gforge) when a new project is created by the alioth admins. GNUmed really needs a live cd. nice to know. it would be nice too to get your config later, so that it can be integrated into live-helper directly (same as with debian-edu), where you can do 'lh_config --mode debian-gnumed lh_build'. No problem. The learning curve is steep. I have etch as a base system and need gnumed-client from testing. everything else is pretty much etch material. -- Sebastian Hilbert Leipzig / Germany [www.gnumed.de] - PGP welcome, HTML -/dev/null ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel