Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1161 Post by rcrsn51 »

@Galbi: I have experienced this myself. Here are two possible solutions.

1. Use UUIDs instead of paths in your grub entry. The stretch-live-frugal-install tool in the Starter Kit can do this.

2. Switch to a newer kernel. For your 64bit Stretch, try one from Fatdog.
a. Get the kernel-modules file and rename it with a .squashfs extension.
b. Get the matching vmlinuz file and rename it as vmlinuz1.

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

#1162 Post by fredx181 »

Galbi wrote:Sorry, the modified version did not work.
Ok, thanks anyway for testing.
I assume you did test it with the "porteus-boot" menu.lst entry ?

Code: Select all

title Stretch Dog 64
  root (hd0,0)
  kernel /stretch64/live/vmlinuz1 noauto from=/stretch64 changes=/stretch64/live/
  initrd /stretch64/live/initrd1.xz
But with the original version, I've noticed something. If I boot with initrd.img in the grub line, boots fine. But if I change it for initrd1.xz does not boot and says it can't find Porteus file etc.

Is initrd1.xz a compressed version of initrd.img?
No, booting with initrd1.xz is "porteus" boot style very different from 'live-boot" (with initrd.img) which is the official Debian style.

Fred

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1163 Post by Galbi »

fredx181 wrote:I assume you did test it with the "porteus-boot" menu.lst entry ?
Yes. I'll do it again, just to be sure.

When the machine it's not used for work, I'll try what you and Bill say and report back.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1164 Post by Galbi »

fredx181 wrote:Ok, persistence with live-boot:
- Download zipped persistence 1GB here:
http://www.smokey01.com/saintless/1Gb-p ... ive-rw.zip
- Extract at the root of the same partition where your stretch64 folder is located.
(it will be found only if it's at the root of the partition)
- Menu.lst entry:

Code: Select all

title Stretch Dog 64 live-boot with persistence
  root (hd0,0)
  kernel /stretch64/live/vmlinuz1 boot=live persistence live-media-path=/stretch64/live/ union=aufs
  initrd /stretch64/live/initrd.img
This worked! :D

===
rcrsn51 wrote:1. Use UUIDs instead of paths in your grub entry.
No joy with this.

I want to try this, but not sure what to do in point a.
2. Switch to a newer kernel. For your 64bit Stretch, try one from Fatdog.
a. Get the kernel-modules file and rename it with a .squashfs extension.
b. Get the matching vmlinuz file and rename it as vmlinuz1.
Thanks again boys.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1165 Post by rcrsn51 »

Galbi wrote:I want to try this, but not sure what to do in point a.
2. Switch to a newer kernel. For your 64bit Stretch, try one from Fatdog.
a. Get the kernel-modules file and rename it with a .squashfs extension.
b. Get the matching vmlinuz file and rename it as vmlinuz1.
Switch your install back to Porteus boot.

I gave you the link to Fatdog's kernel page.

1. Download the file kernel-modules.sfs-4.12.10
2. Rename it as kernel-modules.sfs-4.12.10.squashfs
3. Download the file vmlinuz-4.12.10
4. Rename it as vmlinuz1
5. Copy the two files into your /live frugal install folder.
6. Reboot.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1166 Post by Galbi »

rcrsn51 wrote:
Galbi wrote:I want to try this, but not sure what to do in point a.
2. Switch to a newer kernel. For your 64bit Stretch, try one from Fatdog.
a. Get the kernel-modules file and rename it with a .squashfs extension.
b. Get the matching vmlinuz file and rename it as vmlinuz1.
Switch your install back to Porteus boot.

I gave you the link to Fatdog's kernel page.

1. Download the file kernel-modules.sfs-4.12.10
2. Rename it as kernel-modules.sfs-4.12.10.squashfs
3. Download the file vmlinuz-4.12.10
4. Rename it as vmlinuz1
5. Copy the two files into your /live frugal install folder.
6. Reboot.
Success !!! :D
with Porteus Boot and keeps changes.

Thanks.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1167 Post by fredx181 »

Galbi wrote:
rcrsn51 wrote:
Galbi wrote:I want to try this, but not sure what to do in point a.
Switch your install back to Porteus boot.

I gave you the link to Fatdog's kernel page.

1. Download the file kernel-modules.sfs-4.12.10
2. Rename it as kernel-modules.sfs-4.12.10.squashfs
3. Download the file vmlinuz-4.12.10
4. Rename it as vmlinuz1
5. Copy the two files into your /live frugal install folder.
6. Reboot.
Success !!! :D
with Porteus Boot and keeps changes.

Thanks.
That's great, thanks for trying and reporting back !

@rcrsn51
Do you have any idea why this 4.12 kernel boots with porteus-boot and not the 4.9 kernel (well, in Galbi's case, works for me).
(and , as you might have noticed above, for Galbi the 4.9 kernel does boot with "live-boot").

Fred

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

#1168 Post by rcrsn51 »

I have seen this several times, on newer machines. It is some kind of conflict between the stock 4.9.0 kernel and the Porteus boot method.

If you run the bootup in "debug" mode you can see how Porteus is failing to detect the hard drive. But I don't know what causes the problem.

Almost any Puppy or Fatdog kernel will fix it. But I am surprised that 32bit worked for Galbi while 64bit did not.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1169 Post by Galbi »

For the record, I've used the 4.14.12 kernel version.

The problem with the 4.9.0 kernel happens only in this machine, which has two hard disks, one of them a bit old, perhaps thats why?

In another PC (one Intel i3), newer than this, boots fine.

===

Another question: Which are the libs necesary to have compatibility with 32bit software?

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1170 Post by fredx181 »

Galbi wrote:Which are the libs necesary to have compatibility with 32bit software?
It depends on what you want. After doing:

Code: Select all

dpkg --add-architecture i386
apt-get update
mv -f /etc/apt/preferences /etc/apt/preferences.bak # must do this, otherwise possibly errors
you'll have access to 32 bit packages by adding :i386 , like this:

Code: Select all

apt-get install <package>:i386
Or install local 32 bit package:

Code: Select all

dpkg -i <package>_i386.deb
apt-get -f install
I once wanted my portable thunderbird -32 bit to run on 64 bit and the following worked for me:

Code: Select all

dpkg --add-architecture i386
apt-get update
mv -f /etc/apt/preferences /etc/apt/preferences.bak # must do this, otherwise errors
apt-get install libc6:i386 libatk1.0-0:i386 libcairo2:i386 libfontconfig1:i386 libfreetype6:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libgtk-3-0:i386 libpango1.0-0:i386 libsm6:i386 libxext6:i386 libxrender1:i386 libxt6:i386 libasound2:i386 libdbus-glib-1-2:i386
I think works OK also to install above first and then install 32 bit wine (wine:i386).

Note: will take a lot of space.

Fred

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1171 Post by Galbi »

Thanks again Fred, I'll try that, but now something more urgent appeared.
I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories. They are necesary to build the VirtualBox kernel module. I must run Vbox to run Win7 for work.
My idea is to migrate from 32bit to 64bit.

Sorry for so many questions. :oops:
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1172 Post by fredx181 »

Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories. They are necesary to build the VirtualBox kernel module. I must run Vbox to run Win7 for work.
That I don't know, maybe best then to switch to "live-boot" again, as you did earlier.
Then you can install "linux-headers" package and build the VirtualBox kernel module.

Fred

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

#1173 Post by rcrsn51 »

Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories.
What about here.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1174 Post by Galbi »

:oops:
Downloading...
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1175 Post by fredx181 »

rcrsn51 wrote:
Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories.
What about here.
Hi Galbi, just curious, did this work for you to build the VirtualBox kernel module ?

Fred

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1176 Post by Galbi »

Yes, very well and also compiled the foo2zjs driver so now I can print in the HP1020 attached to a Win7 machine.

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1177 Post by rcrsn51 »

Galbi wrote:... also compiled the foo2zjs driver so now I can print in the HP1020 attached to a Win7 machine.
What connection protocol are you using in your CUPS setup? Some type of smb://?

Your HP1020 may work with the hplip-print-scan package in Fred's repo. It contains the plugin stuff required by this old printer.

Could you test it for me?

Bill

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1178 Post by Galbi »

rcrsn51 wrote:What connection protocol are you using in your CUPS setup? Some type of smb://?

Your HP1020 may work with the hplip-print-scan package in Fred's repo. It contains the plugin stuff required by this old printer.

Could you test it for me?
Sure, give me a little time.

With the hplip-print-scan package, should I also use the smb://host/printer protocol?
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1179 Post by rcrsn51 »

Galbi wrote:With the hplip-print-scan package, should I also use the smb://host/printer protocol?
Yes. You will just select the printer differently from the HP Model list. Choose the hplip model, not the foo2xxx model.

What have you installed that is providing the smb:// CUPS backend?

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1180 Post by Galbi »

rcrsn51 wrote:What have you installed that is providing the smb:// CUPS backend?
Samba, smbclient and all the dependencies suggested by Synaptic.

Then borrowed the /etc/samba/smb.conf from the StretchDog32b that was using and know that works.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

Post Reply