peebee wrote:Hi Fred
Scenario = running latest version of mklive-stretch.sh from within wiak's debootstrapDebian within LxPupSc Puppy.....so a chroot has already been done....probably being too ambitious / hopeful.....
Hi peebee,
EDIT: below didn't work afterall, see my comments at end of post
I downloaded and installed your 32bit LxPupSc 17.07.1 (very nice by the way) and tried the above and all worked fine for me. When I made the initial debootstrapDebian install I of course first removed /lib for LD_LIBRARY_PATH as I previously explained (and that variable thus already exported in the terminal I was working in).
Then I copied Fred's latest mklive-stretch script into chroot/usr/bin and made a folder chroot/debdog inside that debootstrapDebian folder from which I opened a terminal and executed mklive-stretch.
Took ages but produced both the /live folder with Fred's debiandog stretch inside (within subfolder isodata) and also DebLive_Stretch-i386.iso inside the chroot/debdog/stretch folder. I clicked on the iso and it opened up fine and contained the expected contents.
mklive-stretch script (first time I've ever used it actually) ended with success message:
Finished! If all went well, DebLive_Stretch-i386.iso has been created.
Also the required files for a frugal install are in isodata 'live' folder
Have a good day!
So, I guess you did indeed forget to do the export LD_LIBRARY_PATH with /lib: removed from that since all worked fine for me.
Having said that, easier indeed just to use the latest mklive-stretch script from Puppy itself with or without xorriso installed (since should be able to produce the main thing needed, the /live folder, for later frugal install anyway).
EDIT: oops. Tried quickly booting the new OS frugal (installed in /mnt/sda5/DDnew/live) but got:
Code: Select all
end Kernel panic - not syncing: VFS: unable to mount root fs to unknown block (0,0)
But thought just made stupid mistake with my grub4dos menu.lst, but the initrd1.gz is only 4 KiB in size so clearly something far wrong afterall (turns out both the created initrd1.img and initrd1.gz are empty files...):
Code: Select all
title PorteusDog DDnew openbox (sda5)
root (hd0,4)
kernel /DDnew/live/vmlinuz1 noauto from=/DDnew/ changes=EXIT:/DDnew/live/
initrd /DDnew/live/initrd1.xz
EDIT2: looking inside my final debdog/stretch folder, I see that the dir initrdlive is empty folder and initrdport is 2.8M according to du -h.
EDIT3: Just using Fred's mklive-stretch script from /usr/bin on LxPupSc worked fine by the way (except I didn't bother with xorriso so iso wasn't made. the stretch/isodata/live folder contained good initrd1.gz, initrd1.img, vmlinuz, and 01-filesystem.squashfs for frugal booting though. Not sure why the other way resulted in empty initrd1 files... Note that prior to running mklive-stretch I simply used "export LD_LIBRARY_PATH=" which emptied LD_LIBRARY_PATH altogether, and that worked fine.
wiak
NOTE: More worrying (unrelated) issue is that debootstrap program (even on its own) does not work in XenialDog32 distribution (and I tried the version I use in debootstrap.pet but that made no difference - something wrong with XenialDog32?).