Password prompt doesn't show for encrypted save file

Moderators: 666philb, Forum moderators

Post Reply
User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Password prompt doesn't show for encrypted save file

Post by m1k3 »

After creating an encrypted save file and restarting, the console shows initrd.gz loading but never progresses further. I typed my luks password, hit enter, and then it continued loading. It looks like there is a password prompt before all the service start up. Is this normal behavior?
User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

To be clear, I can't see any indication of having to enter a password. Just the initrd loading. On a whim I decided to type my luks password and it actually worked. For some reason the screen isn't refreshing when the password prompt is ready.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: Password prompt doesn't show for encrypted save file

Post by 666philb »

hi @m1k3
i just tested this and the password prompt is working for me.
how is puppy installed? hd/sd etc ... fat/ext2/ntfs ?
User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

Hey @666philb,

I did a frugal install of Fossapup64 on a USB. I used Frugalpup v20 to install puppy and the boot configuration all on the same fat32 partition. It looks like this:

├── boot
│   └── grub
│   ├── fonts
│   │   └── DejaVuSansMono18.pf2
│   ├── grub.cfg
│   ├── grubenv
│   └── i386-pc
├── EFI
│ 
├── Fossapup64
│   ├── adrv_fossapup64_9.5.sfs
│   ├── devx_fossapup64_9.5.sfs
│   ├── fdrv_fossapup64_9.5.sfs
│   ├── fossapup64save_luks.4fs
│   ├── initrd.gz
│   ├── puppy_fossapup64_9.5.sfs
│   ├── vmlinuz
│   └── zdrv_fossapup64_9.5.sfs
├── fsckme.flg
├── grldr
├── grub.cfg
├── menu.lst
├── puppy.cer
User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

@666philb, I reinstalled Fossapup64 using the USB installer (overwriting the entire flash drive) so that now there are the two standard partitions (fat32 and f2fs). It does something similar now but gets stuck on the grub background instead. Not sure what's causing that. I'm using a Thinkpad x230 and the USB flash drive is a Samsung FIT (usb 3.1) with 128 GB of storage.

User avatar
bigpup
Moderator
Posts: 6403
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 757 times
Been thanked: 1325 times

Re: Password prompt doesn't show for encrypted save file

Post by bigpup »

using the USB installer

What USB installer??

You have to give us specific details. All this says to us is you used a USB installer program.

What specific boot loader menu entry are you booting with??

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

Sorry, @bigpup, I assumed since I was posting this in the Fossapup64 sub forum that it would be implied that I was using anything provided in Fossapup. The USB Installer is the one included with Fossapup. It's called "Bootflash" and I used the UEFI option with grub and I'm simply selecting the first default menu entry after creating an encrypted savefile.

User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

To be clear, this is the menu entry:

Code: Select all

menuentry "fossapup64 9.5" {
    linux /vmlinuz pfix=fsck pmedia=usbflash pupsfs=0edf7e9a-263c-4292-ae62-ce0a6ebda2dd psave=0edf7e9a-263c-4292-ae62-ce0a6ebda2dd
    initrd /initrd.gz
}
User avatar
Flash
Moderator
Posts: 907
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 47 times
Been thanked: 109 times

Re: Password prompt doesn't show for encrypted save file

Post by Flash »

I would consider the lack of a password prompt, when booting from an encrypted save file, a feature to be treasured, not a bug to be eliminated. :)

Chaos coordinator :?
User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

That’s certainly a positive way to look at it. However, less technical folks would be stuck on the loading screen. It took a minute or so for me to realize what’s happening and try typing the password. A nice feature would be to mask the password prompt if desired though.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: Password prompt doesn't show for encrypted save file

Post by 666philb »

hi @m1k3 ,
i've tested this again on usb using bootflash and choosing uefi and i am getting the password prompt, so it's possibly just a quirk of your computer and the installer.

there's also another usb installer in fossapup if you choose the frugalpup install option (or menu>>setup>>stickpup)

User avatar
m1k3
Posts: 86
Joined: Sat Sep 26, 2020 1:44 am
Has thanked: 33 times
Been thanked: 11 times

Re: Password prompt doesn't show for encrypted save file

Post by m1k3 »

Thanks for looking into that! I suspect you're right about it being my computer. I have Fatdog64 as well and if I use bios/legacy boot it works fine but when I have UEFI turned on in bios I no longer see the password encryption password prompt in FD either.

Again, I appreciate you taking the time to test it for me. :)

Post Reply

Return to “Fossapup64”