Success, doing as advised, easyOS2.3.2 now boots successfully. Thanks for the quick response and instructions.BarryK wrote:
OK, give me a bit of time to think what you can do to investigate this. pressed for time right now. probably this evening will take a look at it.
EDIT:
OK, I think maybe I know where the problem is. Run easypup again, and click on the 'initrd' for your easyos installation, to open it up.
Click on the 'init' script in the initrd, to edit it. At line 616 you will see this code:
It seems that in your case, the -o options above, is causing the problem. I don't know why, it worked for me.Code: Select all
if [ "${WKG_FS}" == "ext4" ];then #200621 change journal commit interval from 5 to 30... #rw,relatime,data=ordered are the defaults anyway... mount -t ${WKG_FS} -o commit=30,rw,relatime,data=ordered /dev/$WKG_DEV /mnt/$WKG_DEV else mount -t ${WKG_FS} /dev/${WKG_DEV} /mnt/${WKG_DEV} fi [ $? -ne 0 ] && err_exit "Unable to mount working-partition ${WKG_DEV}"
Anyway, just delete all of "-o commit=30,rw,relatime,data=ordered", save, exit, click on 'initrd' again to update it, then see if easyos boots.
EasyOS version 2.3.2, June 22, 2020
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
leaves me in a quandary though, wondering why those "-o" options work for me, but not you!Terry H wrote:Success, doing as advised, easyOS2.3.2 now boots successfully. Thanks for the quick response and instructions.BarryK wrote:
OK, give me a bit of time to think what you can do to investigate this. pressed for time right now. probably this evening will take a look at it.
EDIT:
OK, I think maybe I know where the problem is. Run easypup again, and click on the 'initrd' for your easyos installation, to open it up.
Click on the 'init' script in the initrd, to edit it. At line 616 you will see this code:
It seems that in your case, the -o options above, is causing the problem. I don't know why, it worked for me.Code: Select all
if [ "${WKG_FS}" == "ext4" ];then #200621 change journal commit interval from 5 to 30... #rw,relatime,data=ordered are the defaults anyway... mount -t ${WKG_FS} -o commit=30,rw,relatime,data=ordered /dev/$WKG_DEV /mnt/$WKG_DEV else mount -t ${WKG_FS} /dev/${WKG_DEV} /mnt/${WKG_DEV} fi [ $? -ne 0 ] && err_exit "Unable to mount working-partition ${WKG_DEV}"
Anyway, just delete all of "-o commit=30,rw,relatime,data=ordered", save, exit, click on 'initrd' again to update it, then see if easyos boots.
Would you mind trying an experiment, change that line to just this:
Code: Select all
mount -t ${WKG_FS} -o commit=30 /dev/$WKG_DEV /mnt/$WKG_DEV
I just had a thought... you are doing an upgrade, so perhaps your original installation was from the days when EasyOS did not have a journal in the ext4 working partition.
Yes, that would account for the error.
Well, you can test if your working-partition has a journal. Testing my working-partition:
Code: Select all
# dumpe2fs /dev/nvme1n1p4 | grep -i "Filesystem features:"
dumpe2fs 1.44.5 (15-Dec-2018)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg encrypt sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Hmmm, in that case, the init script will need to detect whether the ext4 partition has a journal. Well, perhaps this would work:
Code: Select all
mount -t ${WKG_FS} -o commit=30 /dev/$WKG_DEV /mnt/$WKG_DEV 2>/dev/null
[ $? -ne 0 ] && mount -t ${WKG_FS} /dev/$WKG_DEV /mnt/$WKG_DEV
[url]https://bkhome.org/news/[/url]
Fix for two NVME drives problem
The Adapter card you got is a pci-e X16 interface card usually used for adding a first nvme or a second nvme to allow for raid 0 and 1 and therefore automaps to match your existing nvme if you have one installed.
As you already had a nvme installed and didn't want the raid function, you should have got a X4 card which would have assigned a different configuration and looks like https://www.scorptec.com.au/product/Con ... ORICO-PSM2 and used the x4 slot.
You should still be able to separate them in the 'bios' firmware though, if your firmware allows two independant nvme 'drives'. You may need to update it though.
As you already had a nvme installed and didn't want the raid function, you should have got a X4 card which would have assigned a different configuration and looks like https://www.scorptec.com.au/product/Con ... ORICO-PSM2 and used the x4 slot.
You should still be able to separate them in the 'bios' firmware though, if your firmware allows two independant nvme 'drives'. You may need to update it though.
Barry, you are correct, updating rather than a new clean install is the problem.
Erasing the working session and rebooting with the full init, or just adding -o commit=30 to the old init line didn't work, as the partition has to be mounted during the boot to do the erase for the clean boot, so the boot still fails with the mount error.
To test the new release, in easypup, i shrank sdb2 (easyOS working partition), created a new sdb3 as ext4 fs. I then edited the initrd to restore the full init script and changed the BOOTSPECS to have sdb3 as the working partition. Boot was successful. So now effectively have a full new 2nd install on the USB.
So currently I can with some simple edits boot using either working partition. I'll work out what I want to do to clean things up in the next couple of days.
Erasing the working session and rebooting with the full init, or just adding -o commit=30 to the old init line didn't work, as the partition has to be mounted during the boot to do the erase for the clean boot, so the boot still fails with the mount error.
To test the new release, in easypup, i shrank sdb2 (easyOS working partition), created a new sdb3 as ext4 fs. I then edited the initrd to restore the full init script and changed the BOOTSPECS to have sdb3 as the working partition. Boot was successful. So now effectively have a full new 2nd install on the USB.
So currently I can with some simple edits boot using either working partition. I'll work out what I want to do to clean things up in the next couple of days.
easyos upgrade 2.2.16 --> 2.3.2
mount: mounting /dev/sdb2 on mount /mnt/sdb2 failed invalid argument
ERROR: Unable to mount working partition sdb2...
I had the same boot failure after my first upgrade of easyos ...
Until now now i always did an new install, but not this time (want to preserve my adjustments.
Thanks for the quick solution, BK
ERROR: Unable to mount working partition sdb2...
I had the same boot failure after my first upgrade of easyos ...
Until now now i always did an new install, but not this time (want to preserve my adjustments.
Thanks for the quick solution, BK
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Fix for two NVME drives problem
I will need to have another look at that adapter card. it seemed that most of the pins are not used, only those at one end go to the m.2 socket.scsijon wrote:The Adapter card you got is a pci-e X16 interface card usually used for adding a first nvme or a second nvme to allow for raid 0 and 1 and therefore automaps to match your existing nvme if you have one installed.
As you already had a nvme installed and didn't want the raid function, you should have got a X4 card which would have assigned a different configuration and looks like https://www.scorptec.com.au/product/Con ... ORICO-PSM2 and used the x4 slot.
You should still be able to separate them in the 'bios' firmware though, if your firmware allows two independant nvme 'drives'. You may need to update it though.
I couldn't see anything in the uefi bios for separating them.
The uefi setup doesn't even see the nvme drive plugged into the adapter card, so I cannot boot from it. I tried, with an esp fat32 partition in that drive, but it isn't seen at bootup.
After bootup, both are seen, and everything is working fine.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: easyos upgrade 2.2.16 --> 2.3.2
Yes, I also posted to my blog about it:hansi wrote:mount: mounting /dev/sdb2 on mount /mnt/sdb2 failed invalid argument
ERROR: Unable to mount working partition sdb2...
I had the same boot failure after my first upgrade of easyos ...
Until now now i always did an new install, but not this time (want to preserve my adjustments.
Thanks for the quick solution, BK
https://bkhome.org/news/202006/fix-for- ... hange.html
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Quicktest EasyOS 2.3.2 -> DELL D630
I have modified the GUI so now uses 'ccrypt', see blog post:OscarTalks wrote:I think this is because a weakness/vulnerability in bcrypt was reported as a bug and Debian patched it to disable encryption but leave it available (with a warning) in case anyone needed it to decrypt anything.alfons wrote:BCRYPT
The program bcrypt (Menu -> Personal -> "Bcrypt file encryption") has not been working for a long time. I don't know if this is still useful in EasyOS
If you want it to encrypt as well you can just compile the source and substitute the executable, bearing in mind that the "bug" exists.
This reply was posted from NetSurf 3.10 in EasyOS 2.3.2
https://bkhome.org/news/202006/ccrypt-f ... n-gui.html
it only encrypts single files, though ccrypt is capable of recursion, so a folder could be inputted and everything in it encrypted -- but the GUI doesn't support that.
[url]https://bkhome.org/news/[/url]
Re: Fix for two NVME drives problem
If you can't see it in setup, then your 'bios' is not setup to have nvme boot selection and it's relying on the default drive functions in the bios to show it. Try checking the base vendors website for an update, although most of those I checked (I have a few links) don't seem to have got that far yet and a couple clearly state they will only support a single nvme unless in raid configuration so you may be out of luck. However with ssd-usbc now supporting thunderbolt (with speeds of read up to 3400MB/s, write up to 3000MB/s) i'm not sure if nvme can be justified except as a cache as you only need a cable adapter to turn usbc to usb3.0/usb2.0.BarryK wrote:I will need to have another look at that adapter card. it seemed that most of the pins are not used, only those at one end go to the m.2 socket.scsijon wrote:The Adapter card you got is a pci-e X16 interface card usually used for adding a first nvme or a second nvme to allow for raid 0 and 1 and therefore automaps to match your existing nvme if you have one installed.
As you already had a nvme installed and didn't want the raid function, you should have got a X4 card which would have assigned a different configuration and looks like https://www.scorptec.com.au/product/Con ... ORICO-PSM2 and used the x4 slot.
You should still be able to separate them in the 'bios' firmware though, if your firmware allows two independant nvme 'drives'. You may need to update it though.
I couldn't see anything in the uefi bios for separating them.
The uefi setup doesn't even see the nvme drive plugged into the adapter card, so I cannot boot from it. I tried, with an esp fat32 partition in that drive, but it isn't seen at bootup.
After bootup, both are seen, and everything is working fine.
And i'll leave it here as were getting ot.
Last edited by scsijon on Fri 26 Jun 2020, 23:42, edited 1 time in total.
I just noticed Dedoimedo's nice review of EasyOS 2.3:
https://www.dedoimedo.com/computers/easyos-2-3.html
https://www.dedoimedo.com/computers/easyos-2-3.html
-
- Posts: 156
- Joined: Mon 25 Apr 2016, 17:35
Dedomideo's EasyOS 2.3 review
@ 6502coder
All in all, Dedomideo obviously intended to write a fair review.
However, if he had payed some more attention to Barry's release notes, his installation issues 'easily' could have been avoided, and the report could have been kept free from the somewhat misleading connotation that the 'handling' of EasyOS (download, installation, configuration) requires special effort and knowledge!
kind regards
All in all, Dedomideo obviously intended to write a fair review.
However, if he had payed some more attention to Barry's release notes, his installation issues 'easily' could have been avoided, and the report could have been kept free from the somewhat misleading connotation that the 'handling' of EasyOS (download, installation, configuration) requires special effort and knowledge!
kind regards
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Yay, the "big bug" in rEFInd has been fixed:
https://bkhome.org/news/202007/refind-p ... crypt.html
PET (409KB):
http://distro.ibiblio.org/easyos/amd64/ ... ster64.pet
https://bkhome.org/news/202007/refind-p ... crypt.html
PET (409KB):
http://distro.ibiblio.org/easyos/amd64/ ... ster64.pet
[url]https://bkhome.org/news/[/url]
Nice,
I will remake my dedicated easyos "install/repair" thumbdrive when you come out with refind included in the next version release.
Do you have a link to a resource with boot codes for refind? I might want to migrate from grub 4dos. I have various puppys and dogs in the kennel as frugal installs on ext partitions already.
I will remake my dedicated easyos "install/repair" thumbdrive when you come out with refind included in the next version release.
Do you have a link to a resource with boot codes for refind? I might want to migrate from grub 4dos. I have various puppys and dogs in the kennel as frugal installs on ext partitions already.
RAS
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Is this what you need?:ras wrote:Nice,
I will remake my dedicated easyos "install/repair" thumbdrive when you come out with refind included in the next version release.
Do you have a link to a resource with boot codes for refind? I might want to migrate from grub 4dos. I have various puppys and dogs in the kennel as frugal installs on ext partitions already.
https://www.rodsbooks.com/refind/configfile.html
Note that rEFInd boot manager is only for PCs with UEFI BIOS firmware, not the old pre-2012 BIOS PCs.
[url]https://bkhome.org/news/[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
EasyOS 2.3.2
Thanks for this fix.
Hint: found switch for USB-Debugging in Android 9.0 via search