Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Dec 2018, 11:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 86 of 96 [1434 Posts]   Goto page: Previous 1, 2, 3, ..., 84, 85, 86, 87, 88, ..., 94, 95, 96 Next
Author Message
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Fri 07 Sep 2018, 16:00    Post subject:  

[quote="rcrsn51"]
johnywhy wrote:
Even if you are not booting with systemd, some packages that you install from the Debian repo will have libsystemd (or something similar) as a dependency.


ok, thx, that makes sense. And therefor make sense that systemd has to remain resident in RAM. So, maybe my install is correct (re systemd/init)?

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3599
Location: holland

PostPosted: Fri 07 Sep 2018, 16:06    Post subject:  

@johnywhy,

The difference between Devuan and Debian is that Devuan is absolutely without systemd.
Apparently Debian has some systemd processes running even when it's booted with sysvinit.
AFAIK, since Jessie, systemd is included as installed in Debian (can't be avoided)

Please realize that I'm not a Debian maintainer, so I cannot answer all.
Maybe better ask at the Debian forum, how things work exactly.

Quote:
apt-get install systemd-sysv

Why are you sharing the install command?


Why would I not ?
Installing that package makes Debian work exclusively with systemd, so you may you want that...
(then there's no need to add to kernel line "init=/bin/systemd")

EDIT:
Quote:
Quote:
do you have "zz_xfce_config.squashfs" inside "live" folder ?

Yes.


Is it loaded ? You can check if you see it when running:
Code:
losetup -a


Fred

Last edited by fredx181 on Fri 07 Sep 2018, 16:12; edited 1 time in total
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Fri 07 Sep 2018, 16:11    Post subject:  

fredx181 wrote:
Quote:
Why are you sharing the install command?

Installing that package makes Debian work exclusively with systemd, so you may you want that...
(then there's no need to add to kernel line "init=/bin/systemd")


thx Fred. If i add to kernel line, do i need to install?

as an experiment, i killed a systemd process. The OS shutdown. But i can't tell what's using it:

Code:
# whereis systemd
systemd: /usr/lib/systemd /bin/systemd /etc/systemd /lib/systemd /usr/share/systemd
root@live:~# fuser systemd
Specified filename systemd does not exist.
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle
root@live:~# fuser /usr/lib/systemd
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle
root@live:~# fuser /bin/systemd
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle
root@live:~# fuser /etc/systemd
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle
root@live:~# fuser /lib/systemd
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle
root@live:~# fuser /usr/share/systemd
Cannot stat file /proc/21505/fd/182: Stale file handle
Cannot stat file /proc/21505/fd/245: Stale file handle
Cannot stat file /proc/21505/fd/288: Stale file handle


i know you're not a Debian maintainer, Fred. I appreciate all this good stuff you shared!

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3599
Location: holland

PostPosted: Fri 07 Sep 2018, 16:19    Post subject:  

johnywhy wrote:
thx Fred. If i add to kernel line, do i need to install?


No, adding it to kernel line will boot with systemd without needing to install systemd-sysv.
Perhaps automatic login may not work, btw, not sure if systemd service is included for that.
When booting with sysvinit, /etc/inittab is being used (providing autologin), not by systemd.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Fri 07 Sep 2018, 18:12    Post subject:  

fredx181 wrote:
Is it loaded ? You can check if you see it when running:
Code:
losetup -a


is this what i should see?
Code:
# losetup -a
/dev/loop1: [2049]:15034 (/mnt/live/mnt/sda1/MyStretchNetinst1/live/zz_xfce_config.squashfs)
/dev/loop2: [2049]:15390 (/mnt/live/mnt/sda1/MyStretchNetinst1/live/changes.dat)
/dev/loop0: [2049]:15016 (/mnt/live/mnt/sda1/MyStretchNetinst1/live/01-filesystem.squashfs)


THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sat 08 Sep 2018, 00:26    Post subject:  

fredx181 wrote:
*** mklive-devuan for testing ***
Attached mklive-devuan script (remove fake .gz)


awesome stuff, Fred!

this one is giving me some errors, running in xtahr.

Code:
dpkg: can't open '/var/lib/dpkg/status': No such file or directory
---
mount: mount point chroot/proc does not exist
mount: mount point chroot/dev does not exist
mount: mount point chroot/sys does not exist
mount: mount point chroot/dev/pts does not exist
chroot: can't execute '/bin/bash': No such file or directory
Unmounting mount binds in chroot
umount: can't forcibly umount chroot/proc: No such file or directory
umount: can't forcibly umount chroot/dev/pts: No such file or directory
umount: can't forcibly umount chroot/dev: No such file or directory
umount: can't forcibly umount chroot/sys: No such file or directory
Start extracting and creating new 'live' initrd files...
mv: cannot stat ‘chroot/boot/initrd.img-*’: No such file or directory
FAILED
gzip: initrd.img.gz: No such file or directory
cpio: premature end of archive
Creating initrd.img, please wait...
OK
Copy kernel modules, contents of lib/modules, from extracted 'live-boot' initrd
 to extracted 'porteus-boot' initrd skeleton, initrdport/lib/modules/ ...
cp: cannot stat ‘initrdlive/lib/modules/*’: No such file or directory
FAILED

Start extracting and creating new 'live' initrd files...
mv: cannot stat ‘chroot/boot/initrd.img-*’: No such file or directory
FAILED
gzip: initrd.img.gz: No such file or directory
cpio: premature end of archive
Creating initrd.img, please wait...
OK
Copy kernel modules, contents of lib/modules, from extracted 'live-boot' initrd
 to extracted 'porteus-boot' initrd skeleton, initrdport/lib/modules/ ...
cp: cannot stat ‘initrdlive/lib/modules/*’: No such file or directory
FAILED
Creating initrd1.xz, please wait...
OK
Copy initrd.img, initrd1.xz to isodata/live...
OK
Move vmlinuz, from chroot/boot/, to isodata/live/vmlinuz1 ...
mv: cannot stat ‘chroot/boot/vmlinuz-*’: No such file or directory
FAILED
mv: cannot stat ‘chroot/var/cache/apt/archives/*.deb’: No such file or directory


cheers!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 406
Location: Yugoslavija

PostPosted: Sat 08 Sep 2018, 03:25    Post subject: mklive-stretch -gui without kernel  

regards

is it possible
to make
mklive-stretch -gui without kernel

on my 3 laptops kernel 4.9 does not load

if i change kernel, xfce panel can not work
as it should... and other things are damaged...

there are conflits in kernels...

thanks
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sat 08 Sep 2018, 03:38    Post subject:  

fredx181 wrote:
ISO Minimal JWM 32-bit, third of the Desktop variants, size: 222MB, main .squashfs is gzip compressed:
https://dl.dropboxusercontent.com/s/01r2bso2mg3xaln/DevuanLive_ascii_jwm-i386.iso?dl=1


Amazing offerings, Fred.

i successfully installed this iso to an ext4 SD card, using this frugal install tool:
http://murga-linux.com/puppy/viewtopic.php?p=979674#979674

Then installed grub4dos to the SD card, with grub4dos config too. Successfully booted into it.

Then, created a save file, and rebooted.

I noticed at start of boot, after grub, got "setting (hd0,0) as root" message, which doesn't make sense. This is an SD card.

Got as far as "intramfs" message, then 'couldn't find .sig' file. Then got errors re bad cheat codes, bad 'from' code. The boot params (from, changes) are long codes like rather than simple drives or partitions. I tried editing boot parameters to /devuan/live, but still rejected.

Where did i go wrong?

Ideally, i'd like a full-partition install on the SD card, instead of frugal.

Is that possible/recommended?

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sat 08 Sep 2018, 04:17    Post subject:  

Thx for all this great stuff, rcrsn51.

rcrsn51 wrote:
Here is a stand-alone script for doing frugal installs of Stretch-Live ISOs.
...
This tool can also install onto USB devices.
...
3. Copy the stretch-live-frugal-install script onto partition sda1. Copy over some ISOs.

So, we are booting the OS's from iso's?

Quote:
...install Grub4Dos to drive sda.

very scary. Why sda? My usb drive is sdb, sdc, or sdd.

Quote:
5. For each ISO:
a. make a matching folder on sda2.

Ok, but we don't put the ISO's into those folders, correct? Else the installer will compain the folders aren't empty, right?

Quote:
b. Do a Basic install or Puppy install. In each case, the target partition is /dev/sda2.

scary! i sda is my hard-disk. So, your script thinks of the usb drive as 'sda'?

c. Copy/paste the GRUB menu entry into your menu.lst file on sda1.
i'm seeing long strings of ID's, instead of drive or partition names. Is that correct?

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3599
Location: holland

PostPosted: Sat 08 Sep 2018, 10:26    Post subject:  

johnywhy wrote:
fredx181 wrote:
*** mklive-devuan for testing ***
Attached mklive-devuan script (remove fake .gz)

awesome stuff, Fred!

this one is giving me some errors, running in xtahr.


Not so awesome if you get those errors Laughing

It's because debootstrap needs to be installed first on Puppy, for mklive-stretch there's a .pet from wiak (see first post) but not for mklive-devuan.
I'd advice to run it from a Debian based OS (e.g.from one of your Stretch frugal installs), dependencies will be automatically installed.
But it's possible when you first install this debootstrap package before running mklive-devuan in x-tahr:
https://packages.devuan.org/devuan/pool/main/d/debootstrap/debootstrap_1.0.89%2Bdevuan2_all.deb
Also for creating ISO is required: xorriso and isotools

Quote:
Then installed grub4dos to the SD card, with grub4dos config too. Successfully booted into it.

Then, created a save file, and rebooted.

So first time boot worked and second time after creating savefile not ? Weird...

Quote:
Where did i go wrong?


Can only be found if you provide more details, e.g. your menu.lst entry

Quote:
Ideally, i'd like a full-partition install on the SD card, instead of frugal.

Is that possible/recommended?


Yes, from an existing Stretch or Devuan install, install "debdoginstallscripts" (if not installed already)
Then: Menu > System > DDog-Full-installer. EDIT: There's frugal installer also, named DDog-Installer)
But note: Full-Installer has a limitation/bug, It only works for the "main" 01-filesystem.squashfs, if there's any other .squashfs in the ISO that you select for the full install, it will not be part of it, so then the full install will not be complete (or works not as intended).

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sat 08 Sep 2018, 18:15    Post subject:  

fredx181 wrote:
But note: Full-Installer has a limitation/bug, It only works for the "main" 01-filesystem.squashfs, if there's any other .squashfs in the ISO that you select for the full install, it will not be part of it, so then the full install will not be complete (or works not as intended).


that's from the debdoginstallscripts? Do any of the DebDogs or DevuanDogs have other squashfs's?

does this issue only concern the initial install, and not squashfs's added to the OS later?

would one normally add more squashfs's to a Dog after install?

Btw, it seems this Stretch Dog script disables boot-level 3. It goes straight to the desktop. How to enable boot level 3?

oy, i'm getting a bit overwhelmed by all the gotchas, extra steps, alternate methods, etc etc. Wishing for a simpler way Very Happy

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3599
Location: holland

PostPosted: Sun 09 Sep 2018, 02:58    Post subject:  

johnywhy wrote:
that's from the debdoginstallscripts? Do any of the DebDogs or DevuanDogs have other squashfs's?


Yes DDog-Full-installer is from debdoginstallscripts.
For example the XFCE you built a few days ago has extra "zz_xfce_config.squashfs"
The ISO's I usually share (at first post of thread) always have only 01-filesystem.squashfs.
But you can check it by mounting the ISO and look in the 'live' folder.

Quote:
would one normally add more squashfs's to a Dog after install?

Some do, but you can also activate "on the fly" from e.g. thunar or pcmanfm right-click

Quote:
Btw, it seems this Stretch Dog script disables boot-level 3

Which Stretch Dog script ? What's the problem ?

EDIT:
Quote:
oy, i'm getting a bit overwhelmed by all the gotchas, extra steps, alternate methods, etc etc. Wishing for a simpler way

The fact that there are choices doesn't mean you have to try them all out or know everything about it Wink .

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sun 09 Sep 2018, 06:01    Post subject:  

fredx181 wrote:
The fact that there are choices doesn't mean you have to try them all out or know everything about it Wink .Fred


i mean, seems like a torturous path to get to a working install, and haven't got there yet.
Frugal with persistence on a NTFS or EXT4 partition.

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3599
Location: holland

PostPosted: Sun 09 Sep 2018, 06:11    Post subject:  

johnywhy wrote:
fredx181 wrote:
The fact that there are choices doesn't mean you have to try them all out or know everything about it Wink .Fred


i mean, seems like a torturous path to get to a working install, and haven't got there yet.
Frugal with persistence on a NTFS or EXT4 partition.


Ah, I see, you''ll probably get there with a little help, but you seem to distract yourself (and us) by switching to a different subject every time.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 880

PostPosted: Sun 09 Sep 2018, 13:41    Post subject:  

fredx181 wrote:
[seem to distract yourself (and us) by switching to a different subject every time.

Sorry! You guys have generously offered many options. When one fails for me, I report the issue here, and then I try the next.

I'm happy to focus on the right one for my need. I don't know which that is.

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 86 of 96 [1434 Posts]   Goto page: Previous 1, 2, 3, ..., 84, 85, 86, 87, 88, ..., 94, 95, 96 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1142s ][ Queries: 12 (0.0296s) ][ GZIP on ]