Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1421 Post by johnywhy »

thx Fred!

i made this devuan as:
- xfce
- 32-bit option checked
- removed conky.
- xz compression

yep, i created Devuan and put live folder (output by your script) inside it. It doesn't contain vmlinuz. Here's my dir:

12/15/2018 10:29 AM 3,796,992 01-filesystem.squashfs
12/16/2018 12:42 AM <DIR> base
12/14/2018 06:32 PM 136 initrd.img
12/14/2018 06:32 PM 1,021,796 initrd1.xz
12/16/2018 12:42 AM <DIR> modules
12/16/2018 12:42 AM <DIR> optional
12/16/2018 12:42 AM <DIR> rootcopy
05/26/2015 02:45 AM 437 stretch-i486.sgn
05/26/2015 02:45 AM 437 stretch-x86_64.sgn
11/16/2018 12:51 PM 32,768 zz_xfce_config.squashfs
7 File(s) 4,853,438 bytes
6 Dir(s) 17,435,467,776 bytes free

i just tried again, and still no vmlinuz.

in the past, have used Devuan successfully on my NTFS drive. Is ext a new requirement?

didn't you update in october? my last tries were a few months prior.

cheers!

Update: Just tried again, without 32bit checked. Got these errors:

Code: Select all

...
/usr/sbin/debootstrap: 1456: /usr/sbin/debootstrap: cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot/test-dev-null: Permission denied
E: Cannot install into target '/media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot' mounted with noexec or nodev
....
Saving to: ‘isodata-stretch.tar.gz’

isodata-stretch.tar 100%[===================>] 158.07K   497KB/s    in 0.3s    

2018-12-16 10:26:59 (497 KB/s) - ‘isodata-stretch.tar.gz’ saved [161859/161859]

OK
Extracting...
OK
Copy scripts, required for porteus-boot, to the chroot...
OK
mount: chroot/proc: mount point does not exist.
mount: chroot/dev: mount point does not exist.
mount: chroot/sys: mount point does not exist.
mount: chroot/dev/pts: mount point does not exist.
chroot: failed to run command ‘/bin/bash’: No such file or directory
Unmounting mount binds in chroot
umount: chroot/proc: no mount point specified.
umount: chroot/dev/pts: no mount point specified.
umount: chroot/dev: no mount point specified.
umount: chroot/sys: no mount point specified.
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
If configured, download extra .squashfs modules to isodata/live...
still no vmlinuz in live folder.

i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.

thx!
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1422 Post by fredx181 »

Hi johnywhy,
still no vmlinuz in live folder.
Yes, your output is full of errors, I suspect you did something unsupported, please give more details, e.g:
- from what type filesystem you ran the script (should be linux filesystem, e.g. ext3 or ext4)

Code: Select all

cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch
- You have full write permissions to that directory ? (seems not, looking at your output)
- From which OS you ran the script
in the past, have used Devuan successfully on my NTFS drive. Is ext a new requirement?
Not new, changes folder is (and was) only supported on ext
didn't you update in october? my last tries were a few months prior.

Ah, yes, update was changing package sources.

EDIT:
/usr/sbin/debootstrap: 1456: /usr/sbin/debootstrap: cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot/test-dev-null: Permission denied
No idea where this "test-dev-null" comes from, you have any clue ?

EDIT2:
i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.
Didn't read your last comment, sorry, I don't know about that 'nodev'.

Fred
Last edited by fredx181 on Sun 16 Dec 2018, 19:30, edited 1 time in total.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1423 Post by johnywhy »

deleted
Last edited by johnywhy on Sun 16 Dec 2018, 19:35, edited 1 time in total.
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1424 Post by johnywhy »

i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.
fredx181 wrote:changes folder is (and was) only supported on ext
ok, but just changes folder? or entire install, and also running the script?
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1425 Post by fredx181 »

johnywhy wrote:ok, but just changes folder? or entire install, and also running the script?
Yes , just changes folder and also running the script.
The entire install can be also on NTFS or FAT but then for changes you need to create save file, e.g. changes.dat

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1426 Post by johnywhy »

fredx181 wrote:
johnywhy wrote:ok, but just changes folder? or entire install, and also running the script?
Yes , just changes folder and also running the script.
The entire install can be also on NTFS or FAT but then for changes you need to create save file, e.g. changes.dat
Good to know dat file works on NTFS.
I'm running the script on NTFS at the moment. Seems to be working. It's up to

Code: Select all

Unpacking xfce4-weather-plugin (0.8.9-1) ...
You mean the output will be corrupted somehow?

thx
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1427 Post by fredx181 »

I'm running the script on NTFS at the moment. Seems to be working. It's up to
To be honest, I never tried that, but... I really think that's asking for trouble, don't do it, run the script from a Linux filesystem !
EDIT: Probably you get lots of permission issues (when running the built system) if you run the script from NTFS

Fred
Last edited by fredx181 on Sun 16 Dec 2018, 20:35, edited 1 time in total.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1428 Post by johnywhy »

fredx181 wrote:
I'm running the script on NTFS at the moment. Seems to be working. It's up to
To be honest, I never tried that, but I really think that's asking for trouble, don't do it, run the script from a Linux filesystem !
have done it several times without issue :)
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1429 Post by fredx181 »

have done it several times without issue
Ugh.. out of curiosity I just tried on NTFS... terrible !!
Lots of warnings during the build and all files have 777 permissions !!
C'mon.. Don't be a fool, that's not a proper way of building a linux OS (UGH.. AGAIN.. UGH... :wink: )

Fred

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1430 Post by johnywhy »

don't get upset :roll: :lol:
trying to make use of an old machine with small drive, and don't have all the paritions i wish i had.

i noticed when i run 'create save file', if i pick no dir, it says will create in my Devuan dir, but nothing is created.

but if i browse to Devuan/live dir, then the path given doesn't make sense to me ("/mnt" appears twice), but the file does get created in correct location (Devuan/live)
Attachments
savefile.jpg
(23.96 KiB) Downloaded 972 times
savefile0.png
(21.31 KiB) Downloaded 971 times
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1431 Post by fredx181 »

don't get upset Rolling Eyes Laughing
I don't like giving support if you insist on doing stupid things.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1432 Post by johnywhy »

goodness, no need to insult :cry:

:lol: i need to get around to repartitioning...
will let you know

i'm guessing the error reported in my last reply might be due to this ntfs thing...

have a sunny day, Fred!
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1433 Post by fredx181 »

johnywhy wrote:goodness, no need to insult :cry:

:lol: i need to get around to repartitioning...
will let you know

i'm guessing the error reported in my last reply might be due to this ntfs thing...

have a sunny day, Fred!
Well.. not intented to insult you, just saying it would be very wrong (and that you are on your own) IMO if you would use the Devuan build as your OS the way you did running the script from NTFS.
I'd say run it from computer with ext filesystem and then copy the files to your NTFS partition.

That mountpoint (with the double /mnt) happens in some cases, see it as a small bug.

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1434 Post by fredx181 »

Added to custom repos:

* websearch, by Argolance, see topic here:
http://murga-linux.com/puppy/viewtopic. ... 08#1012908

* qiv-slideshow, by Mike Walsh, see:
http://murga-linux.com/puppy/viewtopic. ... 60#1003960

deb packages:
https://fredx181.github.io/StretchDog/i ... .1_all.deb
https://fredx181.github.io/StretchDog/i ... .1_all.deb
Or install by using Synaptic or apt-get.

EDIT: websearch updated to 3.0.1, supports running as unprivileged user now.

Fred

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1435 Post by johnywhy »

i installed grub from xtahr. I guess it's grub4dos. None of these work. I get as far as "sgn" file, then i get "device not ready?"

script run from ext2, Devuan running from ext2 partition.

any ideas?

# Devuan, UUID, from=/
title Devuan uuid form
uuid 3227356b-e6d0-4a18-a344-24ab22a91843
kernel /Devuan/live/vmlinuz1 noauto from=/ changes=/live/
initrd /Devuan/live/initrd1.xz

title Devuan -- HD, from=/
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/ changes=/live/
initrd (hd0,5)/Devuan/live/initrd1.xz

title Devuan -- HD, from=/Devuan
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1436 Post by fredx181 »

Hi johnywhy, the from=/ needs to be from=/Devuan in your case.

EDIT: Oh, I see now your last entry has that, only the changes=... needs to be e,g,. changes=/Devuan/live
Doesn't work, your last entry ?

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1437 Post by rcrsn51 »

Deleted.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1438 Post by johnywhy »

This works:
title Devuan -- HD, from=/Devuan
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/Devuan/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
also works:
title Devuan -- HD, from=/Devuan/live, uuid
uuid 3227356b-e6d0-4a18-a344-24ab22a91843
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/Devuan/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1439 Post by fredx181 »

*** Updated mklive-stretch script ***

Make executable:

Code: Select all

chmod +x mklive-stretch
And run on a linux filesystem e.g. ext2, ext3 or ext4

Changed: install newest Debian stable kernel ( currently version 4.9.0-8 )

The archive containing boot scripts, aufs and squashfs modules for v4.9.0-8 is:
dog-boot-stretch-20190115.tar.gz
https://debiandog.github.io/MakeLive/do ... 115.tar.gz

EDIT: Made the same change to "mklive-devuan" (kernel version install changed to: 4.9.0-8 ), see info and attachment here:
http://murga-linux.com/puppy/viewtopic. ... 908#996908

Fred

rijsmier
Posts: 8
Joined: Thu 12 Oct 2017, 09:01
Location: Harties, South Africa

#1440 Post by rijsmier »

@rcrsn51

Please post your USB Realtek drivers for rtl8192cu and -eu for 32 and 64 bit.

Are these drivers dependent on certain kernel versions, and if so which?

Post Reply