Re: [DNG] Weird problem with every kernel update

2019-06-26 Thread Gregory Nowak
On Wed, Jun 26, 2019 at 01:10:20AM +1000, Andrew McGlashan wrote:
> Hi,
> 
> On 25/6/19 10:23 am, Gregory Nowak wrote:
> > On Mon, Jun 24, 2019 at 06:50:48AM +1000, Andrew McGlashan wrote:
> >> Hi,
> >> 
> >> Hardware NUC6i7KYK.
> >> 
> >> Every time I do a kernel upgrade (Devuan ASCII), rebooting loses
> >> USB devices shortly after grub kicks in.
> > 
> > Do you have the necessary module entries for your USB
> > controller/hub in /etc/initramfs-tools/modules?
> 
> Yes, I'm sure I actually have some extra modules in there just in case
> that won't hurt to be there and the rescue boot picks up the chroot
> environment copy of the modules file okay.

Even though the kernel upgrade scripts generate a new initramfs, have
you tried generating them by hand with update-initramfs -u -k all
after the upgrade process? What about creating them from scratch with
the -c flag instead of -u? I don't see why either of those would make
a difference, but it wouldn't hurt to check if they do for some
reason. That's all I can think of for now.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ASCII on rpi1 & resize root partition?

2019-06-26 Thread Adam Borowski
On Wed, Jun 26, 2019 at 01:06:24PM +0200, J. Fahrner via Dng wrote:
> Am 2019-06-26 07:58, schrieb Thomas Besser via Dng:
> > what's the easiest way to resize the root partition to the full size
> > of the sdcard?
> > 
> > On raspbian it is done with 'raspi-config' which is not available in
> > devuan.
> 
> You cannot resize a mounted partition.

Eh?  The only commonly used filesystem that doesn't support online growing
is vfat (and it's used only because of @#$$%^&* Windows and @#$%^&* EFI).

Legacy filesystems like ext4 also allow growing only (no shrinking) but in
this use case the image needs to be pre-shrunk before transport for other
reasons anyway, so that's not a concern.

> raspi-config installs a boot script to resize it on next boot.

I haven't used Raspberry is a long long while (there's plenty of other SoCs
both cheaper+saner, or more performant+featureful -- often above cheap
regular desktops (like NUCs)), but IIRC raspi-config uses ext4 with online
grow.  Other images do ext4 or f2fs, also in an init script (or the worse
alternative...) during first boot.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Packager's rule #1: upstream _always_ screws something up.  This
⢿⡄⠘⠷⠚⠋⠀ is true especially if you're packaging your own project.
⠈⠳⣄ 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ASCII on rpi1 & resize root partition?

2019-06-26 Thread J. Fahrner via Dng

Am 2019-06-26 07:58, schrieb Thomas Besser via Dng:

what's the easiest way to resize the root partition to the full size
of the sdcard?

On raspbian it is done with 'raspi-config' which is not available in 
devuan.


You cannot resize a mounted partition. raspi-config installs a boot 
script to resize it on next boot. The easiest way is to use gparted with 
the sdcard inserted in some other pc.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ASCII on rpi1 & resize root partition?

2019-06-26 Thread Joril via Dng

On 26/06/19 07:58, Thomas Besser via Dng wrote:

what's the easiest way to resize the root partition to the full size of 
the sdcard?


On raspbian it is done with 'raspi-config' which is not available in 
devuan.


Thanks for hints.



Have you already checked this?
https://raspberrypi.stackexchange.com/questions/499/how-can-i-resize-my-root-partition

Bye!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng