I want to install Puppy and EasyOS to folder in hdd partition

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

Hi again.
I have standalode hdd partition with /home folders from several linux distros.
Can i make two folders at this partition for puppy and esayos and make it bootable from Devuan grub without loosing my userdata at this partition?
Is there instruction or gude for this?

williwaw
Posts: 1960
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 371 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by williwaw »

yes to both questions
a search for how to make a frugal install will return much info.

As you are working inside an existing devuan install, I would recommend making the frugal installs manually, as using some installers may cause problems with your existing OS

basics steps:

create the folders for each frugal at the top level of the partition you wish to use
/puppy and /easy will work well

1. extract the contents of the ISO or .img and copy the contents to the folder.
( if you are booted into an easy usb, you can easily mount (extract) the contents of the iso or img by clicking on it. when you click on the easy .img, two rox windows will open, and you should copy the contents of the rox window that contain initrd, easy and vmlimz)

2. adding a boot loader stanza to the existing devuan grub
you will need to know the uuid or label of the partition with /puppy and /easy.

post a copy of the existing devuan grub.cfg in a code block
(the </> symbol in the editor toolbar above)

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by Caramel »

deepforest wrote: Mon Jul 08, 2024 1:41 pm

Hi again.
I have standalode hdd partition with /home folders from several linux distros.
Can i make two folders at this partition for puppy and esayos and make it bootable from Devuan grub without loosing my userdata at this partition?
Is there instruction or gude for this?

For EasyOS : https://easyos.org/install/easy-frugal- ... ation.html

User avatar
mikeslr
Posts: 2970
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by mikeslr »

It's easier to do a hard-drive install of Puppys from a Puppy running from a USB-Keys. Puppys have all the tools you need. Not sure if any of your other Linuxes will.

"you will need to know the uuid or label of the partition with /puppy and /easy."

Open a terminal and type the command bklid.

Although Puppy's boot-manager creators --frugalpup-installer & grub2config-- MAY work to create a boot-manager listing Puppys and your 'Major' Distros, they may cause problems. Safest to boot into whichever Major Linux now provides the primary boot-loader and customize its menu. BarryK's post about EasyOS --Caramel provided the link-- contains this:

"That UUID value can be found by running the 'blkid' utility, for the example of EasyOS installed in partition /dev/sda3, with partition-label "easy2":

# blkid /dev/sda3
/dev/sdb2: LABEL="easy2" UUID="054a04b8-0f00-11ed-aeb9-287fcfeb4376" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a3976784-02"

Considering GRUB2, the Author has no experience; however, gleaned from what others have done, the /etc/grub.d/40_custom file will need something like this inserted:

menuentry "EasyOS Dunfell (partition sda3, folder easyos)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 054a04b8-0f00-11ed-aeb9-287fcfeb4376
linux /easyos/vmlinuz rw wkg_uuid=054a04b8-0f00-11ed-aeb9-287fcfeb4376 wkg_dir=easyos
initrd /easyos/initrd

Apparently, GRUB2 then needs to be updated, like this:

# update-grub
or, depending on your distribution:
# grub2-mkconfig -o /boot/grub2/grub.cfg

A clarification about those two parameters wkg_uuid and wkg_dir...

Clarification:
wkg_uuid and wkg_dir are not required by GRUB. They are kernel boot parameters and are read by the 'initrd' file, to tell it where EasyOS is installed. That is, they tell the 'initrd' in what partition and what folder 'easy.sfs' is located (and also where 'initrd' and 'vmlinuz' are located). It might seem redundant, since that information is already provided in the GRUB menu entry; however, the 'initrd' has to be told separately.

Something else that is useful to know: instead of wkg_uuid, you could use "wkg_label" or "wkg_dev", which for the above example would be "wkg_label=easy2" or "wkg_dev=sda3". However, you would need to be certain the filesystem label is unique. Also, for wkg_dev, you would need to be certain that the partition device name doesn't change; for removable drives, the device name is likely to change.

There is something to be aware of if using old GRUB bootloaders...

Problem with old GRUB versions:
GRUB v1, GRUB4DOS, and GRUB v2 prior to version 2.0.4 (released 2019), do not recognise an ext4 filesystem if it has modern features such as the "encrypt" feature turned on. You can still use them; however, the feature of EasyOS to encrypt some folders in the working-partition will not be available. Folder encryption is a security protection if someone steals your computer, or whatever media EasyOS is installed on. You will have to forego that extra protection."

deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

Code: Select all

/etc/grub.d/40_custom                                                                                                                                               839/839               100%
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "EasyOS(partition sdd3, folder easy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /easy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=easy
initrd /easy/initrd

#UUID="24c316e7-38e1-4db4-a0aa-ade09eea7782" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="907085ae-03"

menuentry "Puppy(partition sdd3, folder puppy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /puppy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=puppy
initrd /puppy/initrd

Code: Select all

root@home:/home/freeartist-devuan# update-grub
Generating grub configuration file ...
Found background image: splash.png
Found linux image: /boot/vmlinuz-6.1.0-21-amd64
Found initrd image: /boot/initrd.img-6.1.0-21-amd64
Found linux image: /boot/vmlinuz-6.1.0-20-amd64
Found initrd image: /boot/initrd.img-6.1.0-20-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows 7 on /dev/sda1
Found MS-DOS 5.x/6.x/Win3.1 on /dev/sda6
Found Windows 7 on /dev/sda7
Found Artix Linux (rolling) on /dev/sdb3
Found Windows 10 on /dev/sdc1
Found Windows 10 on /dev/sdc3
Found Fedora Linux 40 (Xfce) on /dev/sdd1
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 450
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
root@home:/home/freeartist-devuan# 

grub.cfg.new

Code: Select all

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
else
  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
else
  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
fi
insmod png
if background_image /boot/grub/splash.png; then
  true
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Devuan GNU/Linux' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-039cfdd1-19a0-436a-868e-93ad302371ad' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
	else
	  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
	fi
	echo	'Loading Linux 6.1.0-21-amd64 ...'
	linux	/boot/vmlinuz-6.1.0-21-amd64 root=UUID=039cfdd1-19a0-436a-868e-93ad302371ad ro  
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.1.0-21-amd64
}
submenu 'Advanced options for Devuan GNU/Linux' $menuentry_id_option 'gnulinux-advanced-039cfdd1-19a0-436a-868e-93ad302371ad' {
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-21-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-21-amd64-advanced-039cfdd1-19a0-436a-868e-93ad302371ad' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
		else
		  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
		fi
		echo	'Loading Linux 6.1.0-21-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-21-amd64 root=UUID=039cfdd1-19a0-436a-868e-93ad302371ad ro  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-21-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-21-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-21-amd64-recovery-039cfdd1-19a0-436a-868e-93ad302371ad' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
		else
		  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
		fi
		echo	'Loading Linux 6.1.0-21-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-21-amd64 root=UUID=039cfdd1-19a0-436a-868e-93ad302371ad ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-21-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-20-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-20-amd64-advanced-039cfdd1-19a0-436a-868e-93ad302371ad' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
		else
		  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
		fi
		echo	'Loading Linux 6.1.0-20-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-20-amd64 root=UUID=039cfdd1-19a0-436a-868e-93ad302371ad ro  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-20-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-20-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-20-amd64-recovery-039cfdd1-19a0-436a-868e-93ad302371ad' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  039cfdd1-19a0-436a-868e-93ad302371ad
		else
		  search --no-floppy --fs-uuid --set=root 039cfdd1-19a0-436a-868e-93ad302371ad
		fi
		echo	'Loading Linux 6.1.0-20-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-20-amd64 root=UUID=039cfdd1-19a0-436a-868e-93ad302371ad ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-20-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-064C49404C492BAD' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  064C49404C492BAD
	else
	  search --no-floppy --fs-uuid --set=root 064C49404C492BAD
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'MS-DOS 5.x/6.x/Win3.1 (on /dev/sda6)' --class ms_dos --class os $menuentry_id_option 'osprober-chain-E8802A87802A5C76' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  E8802A87802A5C76
	else
	  search --no-floppy --fs-uuid --set=root E8802A87802A5C76
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows 7 (on /dev/sda7)' --class windows --class os $menuentry_id_option 'osprober-chain-0EAC29DEAC29C157' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  0EAC29DEAC29C157
	else
	  search --no-floppy --fs-uuid --set=root 0EAC29DEAC29C157
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Artix Linux (rolling) (on /dev/sdb3)' --class artix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c266328b-3853-45d6-b1e5-5e795370f40e' {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
	else
	  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
	fi
	linux /boot/vmlinuz-linux-lts root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
	initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-lts.img
}
submenu 'Advanced options for Artix Linux (rolling) (on /dev/sdb3)' $menuentry_id_option 'osprober-gnulinux-advanced-c266328b-3853-45d6-b1e5-5e795370f40e' {
	menuentry 'Artix Linux (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--c266328b-3853-45d6-b1e5-5e795370f40e' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
		else
		  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
		fi
		linux /boot/vmlinuz-linux-lts root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
		initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-lts.img
	}
	menuentry 'Artix Linux, with Linux linux-lts (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--c266328b-3853-45d6-b1e5-5e795370f40e' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
		else
		  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
		fi
		linux /boot/vmlinuz-linux-lts root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
		initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-lts.img
	}
	menuentry 'Artix Linux, with Linux linux-lts (fallback initramfs) (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--c266328b-3853-45d6-b1e5-5e795370f40e' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
		else
		  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
		fi
		linux /boot/vmlinuz-linux-lts root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
		initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-lts-fallback.img
	}
	menuentry 'Artix Linux, with Linux linux (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--c266328b-3853-45d6-b1e5-5e795370f40e' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
		else
		  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
		fi
		linux /boot/vmlinuz-linux root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
		initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
	}
	menuentry 'Artix Linux, with Linux linux (fallback initramfs) (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--c266328b-3853-45d6-b1e5-5e795370f40e' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  c266328b-3853-45d6-b1e5-5e795370f40e
		else
		  search --no-floppy --fs-uuid --set=root c266328b-3853-45d6-b1e5-5e795370f40e
		fi
		linux /boot/vmlinuz-linux root=UUID=c266328b-3853-45d6-b1e5-5e795370f40e rw net.ifnames=0 quiet
		initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-fallback.img
	}
}

menuentry 'Windows 10 (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-4E9E2ABD9E2A9E09' {
	insmod part_msdos
	insmod ntfs
	set root='hd2,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  4E9E2ABD9E2A9E09
	else
	  search --no-floppy --fs-uuid --set=root 4E9E2ABD9E2A9E09
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows 10 (on /dev/sdc3)' --class windows --class os $menuentry_id_option 'osprober-chain-A0D6B4C7D6B49ECA' {
	insmod part_msdos
	insmod ntfs
	set root='hd2,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos3 --hint-efi=hd2,msdos3 --hint-baremetal=ahci2,msdos3  A0D6B4C7D6B49ECA
	else
	  search --no-floppy --fs-uuid --set=root A0D6B4C7D6B49ECA
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Fedora Linux 40 (Xfce) (on /dev/sdd1)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-5720e815-c048-427f-b2f8-c5bd6d68665b' {
	insmod part_msdos
	insmod ext2
	set root='hd3,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  5720e815-c048-427f-b2f8-c5bd6d68665b
	else
	  search --no-floppy --fs-uuid --set=root 5720e815-c048-427f-b2f8-c5bd6d68665b
	fi
	linux /boot/vmlinuz-6.8.8-300.fc40.x86_64 root=/dev/sdd1
	initrd /boot/initramfs-6.8.8-300.fc40.x86_64.img
}
submenu 'Advanced options for Fedora Linux 40 (Xfce) (on /dev/sdd1)' $menuentry_id_option 'osprober-gnulinux-advanced-5720e815-c048-427f-b2f8-c5bd6d68665b' {
	menuentry 'Fedora Linux 40 (Xfce) (on /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.8-300.fc40.x86_64--5720e815-c048-427f-b2f8-c5bd6d68665b' {
		insmod part_msdos
		insmod ext2
		set root='hd3,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  5720e815-c048-427f-b2f8-c5bd6d68665b
		else
		  search --no-floppy --fs-uuid --set=root 5720e815-c048-427f-b2f8-c5bd6d68665b
		fi
		linux /boot/vmlinuz-6.8.8-300.fc40.x86_64 root=/dev/sdd1
		initrd /boot/initramfs-6.8.8-300.fc40.x86_64.img
	}
	menuentry 'Fedora Linux 40 (Xfce) (on /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.7-300.fc40.x86_64--5720e815-c048-427f-b2f8-c5bd6d68665b' {
		insmod part_msdos
		insmod ext2
		set root='hd3,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  5720e815-c048-427f-b2f8-c5bd6d68665b
		else
		  search --no-floppy --fs-uuid --set=root 5720e815-c048-427f-b2f8-c5bd6d68665b
		fi
		linux /boot/vmlinuz-6.8.7-300.fc40.x86_64 root=/dev/sdd1
		initrd /boot/initramfs-6.8.7-300.fc40.x86_64.img
	}
	menuentry 'Fedora Linux 40 (Xfce) (on /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.1-300.fc40.x86_64--5720e815-c048-427f-b2f8-c5bd6d68665b' {
		insmod part_msdos
		insmod ext2
		set root='hd3,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  5720e815-c048-427f-b2f8-c5bd6d68665b
		else
		  search --no-floppy --fs-uuid --set=root 5720e815-c048-427f-b2f8-c5bd6d68665b
		fi
		linux /boot/vmlinuz-6.8.1-300.fc40.x86_64 root=/dev/sdd1
		initrd /boot/initramfs-6.8.1-300.fc40.x86_64.img
	}
	menuentry 'Fedora Linux 40 (Xfce) (on /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-0-rescue-aed835fc09d941eaa03c2df902b1d24f--5720e815-c048-427f-b2f8-c5bd6d68665b' {
		insmod part_msdos
		insmod ext2
		set root='hd3,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  5720e815-c048-427f-b2f8-c5bd6d68665b
		else
		  search --no-floppy --fs-uuid --set=root 5720e815-c048-427f-b2f8-c5bd6d68665b
		fi
		linux /boot/vmlinuz-0-rescue-aed835fc09d941eaa03c2df902b1d24f root=/dev/sdd1
		initrd /boot/initramfs-0-rescue-aed835fc09d941eaa03c2df902b1d24f.img
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "EasyOS(partition sdd3, folder easy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /easy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=easy
initrd /easy/initrd

#UUID="24c316e7-38e1-4db4-a0aa-ade09eea7782" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="907085ae-03"

menuentry "Puppy(partition sdd3, folder puppy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /puppy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=puppy
initrd /puppy/initrd### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

here need "}" at section
https://easyos.org/install/easy-frugal- ... ation.html

Code: Select all

/etc/grub.d/40_custom                                                                                                                                               745/745               100%
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "EasyOS(partition sdd3, folder easy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /easy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=easy
initrd /easy/initrd
}

menuentry "Puppy(partition sdd3, folder puppy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /puppy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=puppy
initrd /puppy/initrd
}
Attachments
Screenshot_2024-07-09_19-43-08.png
Screenshot_2024-07-09_19-43-08.png (204.27 KiB) Viewed 651 times
deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

what i need todo to disable encryption ?
i am press custom key but nothing happens

Attachments
IMG_20240709_200707_072~3.jpg
IMG_20240709_200707_072~3.jpg (66.66 KiB) Viewed 646 times
deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

puppy

Attachments
IMG_20240709_201502_819~2.jpg
IMG_20240709_201502_819~2.jpg (36.84 KiB) Viewed 644 times
deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

1. move puppy from flash to hdd, but session is default, how i can load my saved session when i wofking from flash?
2. try booting to easy at secondary and have this

Attachments
IMG_20240709_202846_449~3.jpg
IMG_20240709_202846_449~3.jpg (34.84 KiB) Viewed 640 times
Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by Caramel »

deepforest wrote: Tue Jul 09, 2024 4:01 pm

Code: Select all

/etc/grub.d/40_custom                                                                                                                                               839/839               100%
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "EasyOS(partition sdd3, folder easy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /easy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=easy
initrd /easy/initrd

#UUID="24c316e7-38e1-4db4-a0aa-ade09eea7782" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="907085ae-03"

menuentry "Puppy(partition sdd3, folder puppy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /puppy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=puppy
initrd /puppy/initrd

Your boot stanza for puppy is not correct. The stanza for puppy is different.

See viewtopic.php?t=7100 for hints

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by Caramel »

deepforest wrote: Tue Jul 09, 2024 5:08 pm

what i need todo to disable encryption ?
i am press custom key but nothing happens

A that moment you need to press a key (other than Enter) and then press Enter.

If you install again Easy, to avoid encryption, the simplest is not enter a password the first time it is asked during the first boot, but enter one when it is asked the second time

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by Caramel »

deepforest wrote: Tue Jul 09, 2024 5:34 pm

2. try booting to easy at secondary and have this

You should start over. Maybe this problem comes from the one with the encryption

deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

Caramel wrote: Tue Jul 09, 2024 6:55 pm
deepforest wrote: Tue Jul 09, 2024 5:34 pm

2. try booting to easy at secondary and have this

You should start over. Maybe this problem comes from the one with the encryption

Thanks. That because i previously brake booting at question of encryption.
I am delete all files except 'vmlinuz', 'initrd' and 'easy.sfs'
boot again and as you say upper disable encryption and booted normally

williwaw
Posts: 1960
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 371 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by williwaw »

deepforest wrote: Tue Jul 09, 2024 7:11 pm

Thanks. That because i previously brake booting at question of encryption.
I am delete all files except 'vmlinuz', 'initrd' and 'easy.sfs'
boot again and as you say upper disable encryption and booted normally

When deleting the contents of /easy, Note: there is the hidden file .session to delete.

If that doesnt work. then open the easy.IMG again and
recopy 'vmlinuz', 'initrd' and 'easy.sfs' to the folder
ie. remake the install with a fresh .initrd

deepforest
Posts: 37
Joined: Thu Jul 04, 2024 7:44 pm
Has thanked: 16 times
Been thanked: 2 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by deepforest »

Caramel wrote: Tue Jul 09, 2024 6:41 pm

Your boot stanza for puppy is not correct. The stanza for puppy is different.

See viewtopic.php?t=7100 for hints

Thanks man. Did as you suggest.
add
pfix=fsck pmedia=cd
to boot options at custom grub
booted ok and puppy successfully automatically loaded previously saved session that i save when worked at flash drive :thumbup:

williwaw
Posts: 1960
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 371 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by williwaw »

deepforest wrote: Tue Jul 09, 2024 8:46 pm

pmedia=cd.......

booted ok and puppy successfully automatically loaded previously saved session that i save when worked at flash drive :thumbup:

pmedia=cd will search extensively, even other drives..
psave = can specify where to find the save (faster than searching)

have you tried pmedia=ataflash otherwise known as pupsave 13?
it can save on demand via an icon on the desktop

User avatar
BarryK
Posts: 2709
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by BarryK »

deepforest wrote: Tue Jul 09, 2024 4:49 pm

here need "}" at section
https://easyos.org/install/easy-frugal- ... ation.html

Code: Select all

/etc/grub.d/40_custom                                                                                                                                               745/745               100%
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "EasyOS(partition sdd3, folder easy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /easy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=easy
initrd /easy/initrd
}

menuentry "Puppy(partition sdd3, folder puppy)" {
insmod ext2
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root 24c316e7-38e1-4db4-a0aa-ade09eea778
linux /puppy/vmlinuz rw wkg_uuid=24c316e7-38e1-4db4-a0aa-ade09eea778 wkg_dir=puppy
initrd /puppy/initrd
}

Thanks, trailing bracket added on webpage.
.

User avatar
BarryK
Posts: 2709
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: I want to install Puppy and EasyOS to folder in hdd partition

Post by BarryK »

deepforest wrote: Tue Jul 09, 2024 5:08 pm

what i need todo to disable encryption ?
i am press custom key but nothing happens

"Press ENTER key to enable encryption, any other key not to..."

That sentence is terse. It means, "any other key not to, followed by ENTER"

Post Reply

Return to “Beginners Help”