all worked good,
save session to local hdd, sdd3,
at next reboot see error at moment before puppy copy sfs to ram
https://i.ibb.co/PZCG5WB/IMG-20240706-214738-198.jpg
reboot again, all working...
again error after reboot...
reboot, normal boot...
again error after reboot...
reboot, normal boot...
...why it happens?
error at booting from sd card reader
Moderator: Forum moderators
-
- Posts: 37
- Joined: Thu Jul 04, 2024 7:44 pm
- Has thanked: 16 times
- Been thanked: 2 times
error at booting from sd card reader
- Attachments
-
- debug-puppy-boot-error.tar.gz
- (124 Bytes) Downloaded 36 times
-
- Posts: 37
- Joined: Thu Jul 04, 2024 7:44 pm
- Has thanked: 16 times
- Been thanked: 2 times
- PipzDex
- Posts: 189
- Joined: Sun Jul 12, 2020 11:16 pm
- Location: Mexico
- Has thanked: 61 times
- Been thanked: 81 times
Re: error at booting from sd card reader
Hi @deepforest
share your menu.lst so we can help you...
I use the same type of installation
sdcard formatted to ext4 with usb adapter using grub4dos
This is mine, I hope it serves as an example for you.
title Puppy fossapup64 9.6 (sdc1/F96-CE_4)
find --set-root --ignore-floppies --ignore-cd /F96-CE_4/initrd.gz
kernel /F96-CE_4/vmlinuz psubdir=/F96-CE_4 pmedia=usbhd pfix=nocopy
initrd /F96-CE_4/initrd.gz
maybe this can help
Cheers!
Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px
My Puppy Stuff and more
-
- Posts: 37
- Joined: Thu Jul 04, 2024 7:44 pm
- Has thanked: 16 times
- Been thanked: 2 times
Re: error at booting from sd card reader
Code: Select all
#
# menu.lst
#
#color NORMAL HIGHLIGHT HELPTEXT HEADING
# f/b f/b f/b f/b
color light-gray/black yellow/red cyan/black light-blue/black
timeout 10
default 0
# 0.4.6a
graphicsmode -1 800 600
splashimage /boot/splash.jpg
title BookwormPup64 10.0.6
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - Copy SFS files to RAM
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,copy
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - Don't copy SFS files to RAM
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,nocopy
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - Force xorgwizard (xorgwizard)
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,xorgwizard
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - No X. Try 'xorgwizard' after bootup
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,nox
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - No Kernel Mode Setting
kernel /vmlinuz pmedia=cd nomodeset pfix=fsck,fsckp
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - Safe mode, no X
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,ram,nox
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - RAM only - no pupsave
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,ram
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title BookwormPup64 10.0.6 - Ram Disk Shell
kernel /vmlinuz pmedia=cd pfix=fsck,fsckp,rdsh
errorcheck off
initrd /initrd.gz
initrd /ucode.cpio /initrd.gz
title
root
title Help - Boot Params
configfile /boot/grub/menu_phelp.lst
title
root
# Boot from Partition Boot Sector
title Boot first hard drive (hd0,0)
root (hd0,0)
chainloader +1 || chainloader /grldr || chainloader /bootmngr
title
root
# additionals
title Grub4Dos commandline (for experts only)
commandline
title Reboot computer
reboot
title Halt computer
halt
- bigpup
- Moderator
- Posts: 7002
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 915 times
- Been thanked: 1532 times
Re: error at booting from sd card reader
Change in the entry the pmedia=cd to pmedia=usbflash
See if that helps?
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
- mikewalsh
- Moderator
- Posts: 6169
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 799 times
- Been thanked: 1987 times
Re: error at booting from sd card reader
@deepforest :-
Yup, I concur with my colleague. Either pmedia=usbflash
OR pmedia=usbhd
(as given by PipzDex, above) should work. These will tell the bootloader exactly what type of install to look for.....and crucially with USB, it allows those extra few seconds to get things detected.
I'm beginning to think myself that the pmedia=cd
statement is perhaps getting long in the tooth, and in need of finally being retired.......especially given that not many machines come with an optical drive any more. For most Linux users, USB is now the preferred interface for either trying-out OR installing from/to. Either way, Puppy - to the best of my knowledge - remains the only distro I know of that, uniquely, can still 'save' a session back to the very same CD/DVD that it was loaded from.......provided the disc was burnt (and left) in the 'open' condition.
Mike.
-
- Posts: 37
- Joined: Thu Jul 04, 2024 7:44 pm
- Has thanked: 16 times
- Been thanked: 2 times
Re: error at booting from sd card reader
pmedia=usbflash, working for sd reader but booting to default session with no my saved session restoration,
i am now also make frugal installation at hdd, puppy
pmedia=cd, is working and last saved sessions restored, for frugal,
also every time if i rebooting from sd reader session to frugal hdd session i have error, but afeter reboot all booting normally
https://i.ibb.co/VSZJtbh/IMG-20240709-223249-127.jpg
- MochiMoppel
- Posts: 1241
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: error at booting from sd card reader
mikewalsh wrote: Tue Jul 09, 2024 9:56 pmYup, I concur with my colleague. Either
pmedia=usbflash
ORpmedia=usbhd
(as given by PipzDex, above) should work.
only if the settings in @deepforest 's menu.lst are correct, which most likely they are not (see the listing he posted).
The reason why pmedia=cd
works better for him lies in the questionable "feature" of this parameter to scan all HD partitions for a suitable savefile or even main sfs. If found Puppy would load them, giving them preference, essentially ignoring files that exist on the boot device. It assumes that the user appreciates the much faster loading time compared to loading from a slow CD. In @deepforest's case this "feature" seems to work as a crude error correction by ignoring insuffienct grub4dos settings
- mikewalsh
- Moderator
- Posts: 6169
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 799 times
- Been thanked: 1987 times
Re: error at booting from sd card reader
@MochiMoppel :-
Mochi, is there actually a list of 'definitions', tucked-away somewhere, for all these boot parameters? And if so, where would I find it?
Cheers.
Mike.
-
- Posts: 2429
- Joined: Wed Dec 30, 2020 6:14 pm
- Has thanked: 53 times
- Been thanked: 1203 times
Re: error at booting from sd card reader
pmedia=cd
means "search all partitions", while pmedia=usbwhatever
means "only search USB devices". The former is a superset of the latter, but the latter also activates PUPMODE 13.
- peebee
- Posts: 1639
- Joined: Mon Jul 13, 2020 10:54 am
- Location: Worcestershire, UK
- Has thanked: 157 times
- Been thanked: 717 times
- Contact:
Re: error at booting from sd card reader
mikewalsh wrote: Wed Jul 10, 2024 1:57 pm@MochiMoppel :-
Mochi, is there actually a list of 'definitions', tucked-away somewhere, for all these boot parameters? And if so, where would I find it?
Cheers.
Mike.
Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels
- bigpup
- Moderator
- Posts: 7002
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 915 times
- Been thanked: 1532 times
Re: error at booting from sd card reader
pmedia=usbflash, working for sd reader but booting to default session with no my saved session restoration,
save session to local hdd, sdd3
Copy this save to the SD card install.
Same location as the Puppy SFS files.
Have the same save at both locations.
Then the booting with the SD card, should find and use it.
The pmedia=usbflash is telling the boot process to only look on the USB device for the files.
pmedia=cd for booting from a USB does not work.
Because it is telling the boot process that the Puppy OS files should be on a CD/DVD and not on some other external device.
But it does tell it to look on other internal drive devices, for the save. Which also lets it see the Puppy OS stuff, on internal drives, during the search.
Booting from a CD/DVD, is most likely going to have to put the save, on some other drive.
Booting from USB and looking for the save on another device, is getting into the very,very newest versions of Puppy.
But it is still in testing, to make sure it will always work.
Best thing to do, is always have the save file/folder on the same drive, as the Puppy install.
At the same location, on the drive, as the Puppy OS SFS files.
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
- bigpup
- Moderator
- Posts: 7002
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 915 times
- Been thanked: 1532 times
Re: error at booting from sd card reader
also every time if i rebooting from sd reader session to frugal hdd session i have error, but afeter reboot all booting normally
First you are assuming all the hardware in this computer is working 100% perfect all the time.
Rebooting does not totally make sure everything in RAM is totally removed.
Assuming it is, may or may not be true all the time, or some of the time.
So, the best way to change to a different operating system, is to do a total OS shutdown and power off.
Wait one minute.
(totally makes sure nothing is still in RAM or partially still in it)
Then do a power on boot up, of some other operating system.
Plus a complete power on boot up, forces the computers bios to do a complete new, power up of the hardware.
Yes, I have seen this work as fix for strange issues, if all I did was just reboot into something else, without first doing a power off, wait 1 minute, and power on boot up.
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
- mikewalsh
- Moderator
- Posts: 6169
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 799 times
- Been thanked: 1987 times
Re: error at booting from sd card reader
Thanks, Peter. I had vague memories of something in the Wikka, years ago, but this is even more comprehensive that what I remembered... And it shows I don't read everything that gets posted here; even old dogs CAN learn new tricks!
Cheers.
Mike.