Thanks so much d-pupp!!! That did it!
Grub2config replaces Grub4Dos
Moderator: Forum moderators
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
Re: Grub2config replaces Grub4Dos
Please show us your entry lines.
Mine is like this:
menuentry 'Dpupbw64 10.0.7 RAM mode(sda3/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid 0c17217e-4723-4d30-a4bf-3da1636875b8
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pmedia=ataflash pfix=fsck
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}
the line
search --no-floppy --set=root --fs-uuid UUID_OF_THE_PARTISION
does't work?
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
Re: Grub2config replaces Grub4Dos
All I added were these two statements:
pupsfs=1E74E51174E4EC89 psave=1E74E51174E4EC89
It did not work prior to this. I did not try without the psave command. Maybe this one is not necessary.
menuentry 'BWPup Linux' --class puppylinux{
search --no-floppy --set=root --fs-uuid 1E74E51174E4EC89
linux /BWPup/vmlinuz pupsfs=1E74E51174E4EC89 psave=1E74E51174E4EC89 psubdir=/BWPup pmedia=atahd pfix=fsck
if [ -e /BWPup/ucode.cpio ]; then
initrd /BWPup/ucode.cpio /BWPup/initrd.gz
else
initrd /BWPup/initrd.gz
fi
}
menuentry 'Windows uefi boot' --class puppylinux{
search --no-floppy --set=root --file /EFI/Microsoft/Boot/bootmgfw.efi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
if [ $grub_platform = "efi" ] ; then
menuentry 'UEFI Firmware Settings' --class puppylinux{
fwsetup
}
fi
-
- Posts: 1957
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 172 times
- Been thanked: 371 times
Re: Grub2config replaces Grub4Dos
sinc wrote: Thu Sep 12, 2024 9:27 pmAll I added were these two statements:
pupsfs=1E74E51174E4EC89psave=1E74E51174E4EC89It did not work prior to this. I did not try without the psave command. Maybe this one is not necessary.
menuentry 'BWPup Linux' --class puppylinux{
search --no-floppy --set=root --fs-uuid 1E74E51174E4EC89
sinc, as a test, try putting your full uuid in the search --no-floppy --set=root --fs-uuid 1E74E51174E4EC89
statement and without the recently added pupsfs=1E74E51174E4EC89 in the kernel line
the command blkid
should show a longer number similar to shinobars example above
Re: Grub2config replaces Grub4Dos
This is all of it.
- Attachments
-
- screenshot-1.png (231.41 KiB) Viewed 992 times
- rockedge
- Site Admin
- Posts: 6554
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2760 times
- Been thanked: 2635 times
- Contact:
Re: Grub2config replaces Grub4Dos
Seems like the partition being formatted as NTFS is what is requiring the extra parameter(s) pupsfs=1E74E51174E4EC89 psave=1E74E51174E4EC89
being needed.
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
Puppies on NTFS partitions
rockedge wrote: Sat Sep 14, 2024 5:36 pmSeems like the partition being formatted as NTFS is what is requiring the extra parameter(s)
pupsfs=1E74E51174E4EC89 psave=1E74E51174E4EC89
being needed.
I guess this is the BookwormPup specific issue.
Fossapup64 has no problem, but the BookwormPup fails. Both on the same ntfs partition, sda2.
probepart shows:
/dev/sda1|ntfs|50M
/dev/sda2|ntfs|39.3G
/dev/sda3|ntfs|564M
/dev/sda4|ext4|10.0G
/dev/sdb1|vfat|1.2G
/dev/sdb2|ext3|6.0G
/dev/sr0|none|1023M
but the script init of the BookwormPup omits ntfs partitions.
HAVE_PART shows:
sda4|ext4
sdb1|vfat
sdb2|ext3
(grub.cfg entries)
menuentry 'Dpupbw64 10.0.7 (sda2/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid FABC3FAEBC3F6473
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pmedia=atahd pfix=fsck
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}
menuentry 'Fossapup64 9.5 (sda2/fossapup649.5frugal)' --class puppylinux{
search --no-floppy --set=root --fs-uuid FABC3FAEBC3F6473
linux /fossapup649.5frugal/vmlinuz psubdir=/fossapup649.5frugal pmedia=atahd pfix=fsck
if [ -e /fossapup649.5frugal/ucode.cpio ]; then
initrd /fossapup649.5frugal/ucode.cpio /fossapup649.5frugal/initrd.gz
else
initrd /fossapup649.5frugal/initrd.gz
fi
}
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
- rockedge
- Site Admin
- Posts: 6554
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2760 times
- Been thanked: 2635 times
- Contact:
Re: Grub2config replaces Grub4Dos
@shinobar Could you download the file that contains updated versions of probedisk
and probepart
and test these out in your BookwormPup system?
The BookwormPup init script will need a look.
- Attachments
-
- probedisk-probepart-void.tar.xz
- decompress this file!
- (2.5 KiB) Downloaded 15 times
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
Re: Grub2config replaces Grub4Dos
rockedge wrote: Sun Sep 15, 2024 12:35 am@shinobar Could you download the file that contains updated versions of
probedisk
andprobepart
and test these out in your BookwormPup system?The BookwormPup init script will need a look.
Tnx. just the same as i posted before
probepart shows:
/dev/sda1|ntfs|50M
/dev/sda2|ntfs|39.3G
/dev/sda3|ntfs|564M
/dev/sda4|ext4|10.0G
/dev/sdb1|vfat|1.2G
/dev/sdb2|ext3|6.0G
/dev/sr0|none|1023M
# probedisk
/dev/sda|drive|ATA VBOX HARDDISK
/dev/sdb|usbdrv|UFD_3.0 Silicon-Power8G
/dev/sr0|optical|VBOX CD-ROM [Rev 1.0]
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
Re: Puppies on NTFS partitions
shinobar wrote: Sat Sep 14, 2024 11:13 pmI guess this is the BookwormPup specific issue.
Fossapup64 has no problem, but the BookwormPup fails. Both on the same ntfs partition, sda2.
Anyway, pdrv option solves.
(grub.cfg entry)
menuentry 'Dpupbw64 10.0.7 (sda2/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid FABC3FAEBC3F6473
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pdrv=FABC3FAEBC3F6473 pmedia=atahd pfix=fsck
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
grub2config-2.1
Major update:
grub2config-2.1
http://shinobar.server-on.net/puppy/opt ... ig-2.1.pet
#2024-09-15 v2.1: mbr stuff ext4 support no need wee nor grub4dos, pdrv option, check target space, refresh_drive_icons,
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
A bug in grub2config-2.1
grub2config-2.1 produces incorrect entry for the RAM mode. Please manually edit the file 'MOUNTPOINT/grub.cfg', where the 'MOUNTPOINT' is the mount point of the boot partition, mayby the first partition of the boot drive.
Correct 'pfix=fsck' to 'pfix=ram'
example:
menuentry 'Dpupbw64 10.0.7 RAM mode(sda3/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid 0c17217e-4723-4d30-a4bf-3da1636875b8
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pmedia=ataflash pfix=fsck
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}
correct to:
menuentry 'Dpupbw64 10.0.7 RAM mode(sda3/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid 0c17217e-4723-4d30-a4bf-3da1636875b8
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pmedia=ataflash pfix=ram
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/
Re: Puppies on NTFS partitions
shinobar wrote: Sat Sep 14, 2024 11:13 pmrockedge wrote: Sat Sep 14, 2024 5:36 pmSeems like the partition being formatted as NTFS is what is requiring the extra parameter(s)
pupsfs=1E74E51174E4EC89 psave=1E74E51174E4EC89
being needed.I guess this is the BookwormPup specific issue.
Fossapup64 has no problem, but the BookwormPup fails. Both on the same ntfs partition, sda2.
probepart shows:
/dev/sda1|ntfs|50M
/dev/sda2|ntfs|39.3G
/dev/sda3|ntfs|564M
/dev/sda4|ext4|10.0G
/dev/sdb1|vfat|1.2G
/dev/sdb2|ext3|6.0G
/dev/sr0|none|1023Mbut the script init of the BookwormPup omits ntfs partitions.
HAVE_PART shows:
sda4|ext4
sdb1|vfat
sdb2|ext3(grub.cfg entries)
menuentry 'Dpupbw64 10.0.7 (sda2/dpupbw64-10.0.7)' --class puppylinux{
search --no-floppy --set=root --fs-uuid FABC3FAEBC3F6473
linux /dpupbw64-10.0.7/vmlinuz psubdir=/dpupbw64-10.0.7 pmedia=atahd pfix=fsck
if [ -e /dpupbw64-10.0.7/ucode.cpio ]; then
initrd /dpupbw64-10.0.7/ucode.cpio /dpupbw64-10.0.7/initrd.gz
else
initrd /dpupbw64-10.0.7/initrd.gz
fi
}menuentry 'Fossapup64 9.5 (sda2/fossapup649.5frugal)' --class puppylinux{
search --no-floppy --set=root --fs-uuid FABC3FAEBC3F6473
linux /fossapup649.5frugal/vmlinuz psubdir=/fossapup649.5frugal pmedia=atahd pfix=fsck
if [ -e /fossapup649.5frugal/ucode.cpio ]; then
initrd /fossapup649.5frugal/ucode.cpio /fossapup649.5frugal/initrd.gz
else
initrd /fossapup649.5frugal/initrd.gz
fi
}
@shinobar , @dimkr
It seems the failed init detection of ntfs partitions may be due to the kernel definition of filesystems in /proc/filesystems.
If I understand correctly, the modern init of BookwormPup64 defines builtin filesystem support (KFILESYSTEMS) as follows:
Code: Select all
KFILESYSTEMS="$(cat /proc/filesystems | grep -v "nodev" | grep -v "fuseblk" | sed -e "s#\t##g" | tr '\n' '|' | sed -e 's#|$##g')
which returns the following for my system which has vfat and ntfs partitions:
Code: Select all
KFILESYSTEMS="ext3|ext2|ext4|squashfs|vfat|msdos|exfat|iso9660|ntfs3|udf|xfs|f2fs|btrfs#"
NOTE: the above report specifies support for 'ntfs3' filesystems
---
On my system, probepart -hr returns the following:
/dev/sda1|vfat|260M
/dev/sda2|none|16M
/dev/sda3|ntfs|117.9G
/dev/sda4|ntfs|1000M
/dev/sdb1|vfat|28.6G
/dev/sdc1|vfat|28.9G
However, the init (HAVE_PARTS) searches specifically for filesystems defined by KFILESYSTEMS.
Consequently, on my system the search for 'ntfs3' fails and the 'ntfs' partitions are not detected:
sda1|vfat
sdb1|vfat
sdc1|vfat
Maybe the init (HAVE_PARTS) could be adjusted to correctly detect and define ntfs3 as ntfs.
-
- Posts: 2426
- Joined: Wed Dec 30, 2020 6:14 pm
- Has thanked: 53 times
- Been thanked: 1203 times
Re: Puppies on NTFS partitions
Nobody is maintaining it (see https://github.com/puppylinux-woof-CE/w ... nitrd/init for evidence) and I can't say I'm surprised to hear about more issues that crop up as this messy piece of code ages.
radky wrote: Thu Sep 19, 2024 5:02 amHowever, the init (HAVE_PARTS) searches specifically for filesystems defined by KFILESYSTEMS.
Which makes absolutely no sense.
I simplified the init script a lot in https://github.com/vanilla-dpup/woof-CE, to speed it up, make it more reliable and drop assumptions that used to be true back in the days when people actually maintained woof-CE but now break things (like the ntfs
vs ntfs3
thing).
KFILESYSTEMS can be removed very easily, with zero side effects.
- peebee
- Posts: 1637
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 715 times
- Contact:
Re: Grub2config replaces Grub4Dos
Configuration problem when used in Woof-CE builds.......
All items in /usr/share/doc get put into the optional docx.sfs rather than the main puppy.sfs
This means the gnibble2.png icon is not present in installs without docx.sfs - and maybe other items....
Can the real icon be moved to /usr/share/pixmaps rather than a link? Do other items need to move?
[LATER] grub2config could be added to:
https://github.com/puppylinux-woof-CE/w ... istro#L512
but better if all could be moved to /usr/share/grub2config
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
- shinobar
- Posts: 87
- Joined: Sat Oct 17, 2020 2:21 am
- Location: Japan
- Has thanked: 13 times
- Been thanked: 72 times
- Contact:
Re: grub2config-2.1.1
(Bugfix release)
#2024-09-24 v2.1.1: RAM mode entry, sort detected os, background2 for removable devices
grub2config-2.1.1 (2024-09-24)
from https://shinobar.net/puppy/opt/grub2con ... -2.1.1.pet
New downloads https://shinobar.net/puppy/
Old archive http://shinobar.server-on.net/puppy/