Re: Re: USB system with modified kernel and minimal software
Justin, thank you for your comments! I've downloaded: http://live.debian.net/debian-snapshots/live-helper_1.0~a29~20070917.124122_all.deb and http://live.debian.net/debian-snapshots/live-initramfs_1.102.2~20070917.110439_all.deb I did not see any information about downloading lh_helper scripts, so I followed the information at http://www.pendrivelinux.com/2007/05/31/create-your-own-live-linux-cd-or-usb-distribution. This was the reason for my outdated version. No binary image file is created when I try to include the modified kernel. I followed Daniel's suggestions and in an empty directory I did the following: lh_config -d etch -b usb-hdd -p minimal --linux-packages none cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages lh_build 21 | tee log In the log file, no error seems to indicate a problem. Does anyone have any suggestion? Best regards, René ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: Re: USB system with modified kernel and minimal software
On Mon, Sep 17, 2007 at 10:13:40AM -0600, Rene Sonderegger wrote: I did not see any information about downloading lh_helper scripts, so I followed the information at http://www.pendrivelinux.com/2007/05/31/create-your-own-live-linux-cd-or-usb-distribution. This was the reason for my outdated version. I see. No binary image file is created when I try to include the modified kernel. I followed Daniel's suggestions and in an empty directory I did the following: lh_config -d etch -b usb-hdd -p minimal --linux-packages none cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages Are you sure this has the modules for squashfs and either aufs or unionfs (depending on and consistent with the livehelper settings)? lh_build 21 | tee log In the log file, no error seems to indicate a problem. Does anyone have any suggestion? The following might help find errors: http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-August/002108.html Justin ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: USB system with modified kernel and minimal software
On Mon, 17 Sep 2007 10:13:40 -0600 Rene Sonderegger [EMAIL PROTECTED] wrote: I did not see any information about downloading lh_helper scripts, so I followed the information at http://www.pendrivelinux.com/2007/05/31/create-your-own-live-linux-cd-or-usb-distribution. This was the reason for my outdated version. I wouldn't follow this if I were you. It is very out of date. Look at the HOWTOs at http://wiki.debian.org/DebianLive instead. It tends to be kept up to date. For one thing, any config variable prefixed LIVE_ is from an older version of live-helper. All config variables are now prefixed LH_ instead. Ben -- ,-. nSLUGhttp://www.nslug.ns.ca [EMAIL PROTECTED] \`' Debian http://www.debian.org[EMAIL PROTECTED] ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ] [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ] ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: d-l and --quiet
Justin Pryzby wrote: Is there any reason d-l doesn't spawn all relevant tools with some incarnation of --quiet? Like aptitude. there is only one reason: nobody really did fix that, please send patches. -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: [EMAIL PROTECTED] Internet: http://people.panthera-systems.net/~daniel-baumann/ ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Bug#442922: live-helper: d-l overwrites its own files due to symlinks
Package: live-helper Version: 1.0~a27-1 File: /usr/share/live-helper/data/debian-cd/ On an amd64 machine which had the following upgrade path: .../dpkg.log.1:2007-08-31 install live-helper none 1.0~a24-1 .../dpkg.log:2007-09-04 upgrade live-helper 1.0~a24-1 1.0~a25-1 .../dpkg.log:2007-09-06 upgrade live-helper 1.0~a25-1 1.0~a26-1 .../dpkg.log:2007-09-10 upgrade live-helper 1.0~a26-1 1.0~a27-1 debsums gives the following: /usr/share/live-helper/data/debian-cd/etch/i386_udeb_include FAILED /usr/share/live-helper/data/debian-cd/etch/exclude-udebs FAILED /usr/share/live-helper/data/debian-cd/etch/i386_netinst_udeb_include FAILED /usr/share/live-helper/data/debian-cd/etch/i386_businesscard_udeb_include FAILED /usr/share/live-helper/data/debian-cd/etch/powerpc_udeb_include FAILED Likely due to the following wrongness: drwxr-xr-x 2 root root 4096 2007-09-10 05:07 etch lrwxrwxrwx 1 root root4 2007-09-04 10:28 lenny - etch lrwxrwxrwx 1 root root5 2007-09-10 05:07 sid - lenny I think the rule is: dpkg will not replace a directory with a symlink or a symlink with a directory. So it's necessary when converting a pathname between the two types to rm it in preinst, probably conditionally on its existence, the version, and its target (and perhaps the existence thereof). Ideal is inverse support in postrm abort-upgrade to undo that change. ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: USB system with modified kernel and minimal software
On Mon, Sep 17, 2007 at 02:24:08PM -0600, Rene Sonderegger wrote: Justin and Ben, thanks for your comments! lh_config -d etch -b usb-hdd -p minimal --linux-packages none cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages Are you sure this has the modules for squashfs and either aufs or unionfs (depending on and consistent with the livehelper settings)? When compared with the log of some newer runs (see below), it looks like the squashfs-modules-2.6.18-5-486 and unionfs-modules-2.6.18-5-486 were not included due to --linux-packages none during the lh_config. That's an intentional effect of the none setting. To see why, run vanilla lh_config then read config/chroot (and config/!(chroot) for good measure). New runs: After doing the following in an empty directory, I get a binary.img file. lh_config -d etch -b usb-hdd lh_build 21 | tee log -d sid probably makes much more sense. In particular it will use live-initramfs instead of casper (about this I know nothing more, though). My last run from an empty directory was like this: lh_config -d etch -b usb-hdd cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages lh_build 21 | tee log The standard kernel boots ok after I made the above corrections. However the modified kernel stoppes during the booting like this: ... sd 0:0:0:0: Attached scsi removable disk sda loop: loaded (max 8 devices) BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs) Does anyone have any suggestion what to do from here? That's due to missing squashfs and unionfs/aufs. You have to compile the modules yourself if you're not using a standard kernel. Note some previous thread messages which document how the kernel image has to be named. In particular, the argument to --linux-flavors must be the same as the make-kpkg option --append-to-version but without the leading hyphen character. Justin ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: RAM usage
On Sat, Sep 15, 2007 at 11:42:26AM +1200, Angus McMorland wrote: On 15/09/2007, Tzafrir Cohen [EMAIL PROTECTED] wrote: [...] First off, use a swap partition. I can't touch the HDs of these machines - they're used for teaching by day. That's one of the benefits of the live CD approach in this case. I found that a cheap USB HD works well in such a scenario. OK, it works fine until your $29 4G drive starts getting flaky and the people who sold you the item don't have a replacement so you settle for a flash drive, which works for regular data, but not as a swap partition. So if you could spend a bit more than $29, you could carry your swap partition around with you and maybe even have some space left to store some of your files more frequently used files. Good luck -Juergen signature.asc Description: Digital signature ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
USB system with modified kernel and minimal software
Justin and Ben, thanks for your comments! lh_config -d etch -b usb-hdd -p minimal --linux-packages none cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages Are you sure this has the modules for squashfs and either aufs or unionfs (depending on and consistent with the livehelper settings)? When compared with the log of some newer runs (see below), it looks like the squashfs-modules-2.6.18-5-486 and unionfs-modules-2.6.18-5-486 were not included due to --linux-packages none during the lh_config. New runs: After doing the following in an empty directory, I get a binary.img file. lh_config -d etch -b usb-hdd lh_build 21 | tee log In order to boot the from the USB device I have to do this: dd if=binary.img of=/dev/sda mount /dev/sda1 /mnt mv /mnt/i* /mnt/initrd.img mv /mnt/v* /mnt/vmlinuz vi /mnt/*cfg (edit names to initrd.img and vmlinuz) umount /mnt syslinux -f /dev/sda1 Without all this, the system complaints: Could not find kernel image: /vmlinuz.-26 At one run, I included --bootloader grub, but that didn't even give me the grub promt. My last run from an empty directory was like this: lh_config -d etch -b usb-hdd cp /usr/src/linux-image-2.6.20.19-rt_1_i386.deb config/chroot_local-packages lh_build 21 | tee log The standard kernel boots ok after I made the above corrections. However the modified kernel stoppes during the booting like this: ... sd 0:0:0:0: Attached scsi removable disk sda loop: loaded (max 8 devices) BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs) Does anyone have any suggestion what to do from here? Best regards, René ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
Re: RAM usage
On 18/09/2007, Juergen Fiedler [EMAIL PROTECTED] wrote: On Sat, Sep 15, 2007 at 11:42:26AM +1200, Angus McMorland wrote: On 15/09/2007, Tzafrir Cohen [EMAIL PROTECTED] wrote: [...] First off, use a swap partition. I can't touch the HDs of these machines - they're used for teaching by day. That's one of the benefits of the live CD approach in this case. I found that a cheap USB HD works well in such a scenario. OK, it works fine until your $29 4G drive starts getting flaky and the people who sold you the item don't have a replacement so you settle for a flash drive, which works for regular data, but not as a swap partition. So if you could spend a bit more than $29, you could carry your swap partition around with you and maybe even have some space left to store some of your files more frequently used files. That certainly sounds like a good plan for a small number of computers, thanks. I'm running a whole lab with of a bunch of identical CDs, and 15*$30 = $450, which is more than I care to spend at the moment. To everyone, I have successfully created a 686 flavoured GD, which is now working beautifully. Thanks for all your suggestions. It might be a good idea to make a bit clearer on the wiki what is the implication of the 486 default flavour for use on modern machines - I imagine I'm not the only one it's surprised. Is the wiki for anyone to edit? If so, I can happily do this myself. To solve the problem of files I needed often (but might want to change from time to time) I made sure the CD included ssh, then just scp in a launcher script from a server machine, and use that launcher script to pull in everything else I need. Saving output files is also done by scp. Thanks to developers of live-helper - it's a great tool. Angus. -- AJC McMorland, PhD Student Physiology, University of Auckland ___ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel