Kernel can't find main sfs on USB install (solved)

Moderators: 666philb, Forum moderators

Post Reply
mkngo87
Posts: 3
Joined: Sun Aug 07, 2022 5:24 pm

Kernel can't find main sfs on USB install (solved)

Post by mkngo87 »

I installed fossapup with frugalpup to my USB flash drive. It boots fine when I just have the flash drive as my only USB device. It seems that the boot process can't find the main sfs when I have other usb devices connected. Would someone help me? I guess I could just disconnect all my USB devices as a workaround, but it's annoying of course.

This is my boot entry in grub.cfg:

Code: Select all

menuentry "Puppy fossapup64 9.5" {
    insmod fat
    search --no-floppy --fs-uuid --set  6C37-4F73
    echo "Loading vmlinuz"
    linux /puppy/vmlinuz pmedia=usbflash pdrv=6C37-4F73 psubdir=/puppy pfix=fsck,fsckp TZ=XXX-8
    echo "Loading initrd.gz"
    initrd /puppy/initrd.gz
}
IMG_20220807_130752940_resize.jpg
IMG_20220807_130752940_resize.jpg (127.61 KiB) Viewed 692 times
Last edited by bigpup on Tue Aug 09, 2022 9:42 am, edited 1 time in total.
Reason: Added solve to show fix was found
User avatar
bigpup
Moderator
Posts: 7593
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1038 times
Been thanked: 1692 times

Re: Kernel can't find main sfs on USB install

Post by bigpup »

This is a known bug in Fossapup64 9.5 boot process.

As long as the Fossapup64 USB is the only USB drive plugged in, it boots OK.

I only see this if I have another USB drive plugged in.

Are you having the issue with a USB mouse, keyboard, etc.... plugged in?

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
bigpup
Moderator
Posts: 7593
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1038 times
Been thanked: 1692 times

Re: Kernel can't find main sfs on USB install

Post by bigpup »

Here is the old topic about this issue.
May be a solution in it someplace.
https://forum.puppylinux.com/viewtopic.php?t=966

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

mkngo87
Posts: 3
Joined: Sun Aug 07, 2022 5:24 pm

Re: Kernel can't find main sfs on USB install

Post by mkngo87 »

bigpup wrote: Sun Aug 07, 2022 6:31 pm

Here is the old topic about this issue.
May be a solution in it someplace.
https://forum.puppylinux.com/viewtopic.php?t=966

Thanks for the link. It seems that the solution lies in fixing the init script. I think this is beyond my understanding so I'll just have to live with it.

bigpup wrote: Sun Aug 07, 2022 6:02 pm

This is a known bug in Fossapup64 9.5 boot process.

As long as the Fossapup64 USB is the only USB drive plugged in, it boots OK.

I only see this if I have another USB drive plugged in.

Are you having the issue with a USB mouse, keyboard, etc.... plugged in?

The issue occurs when I plug in one of my USB to SATA drives.

ozsouth
Posts: 1747
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 268 times
Been thanked: 800 times

Re: Kernel can't find main sfs on USB install

Post by ozsouth »

I use gparted to label the main puppy partition (must be ext3 or ext4 or ntfs) with the date & a letter, i.e. 080822a & then use pdrv=080822a in boot cfg.

User avatar
mikeslr
Posts: 3145
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 187 times
Been thanked: 1016 times

Re: Kernel can't find main sfs on USB install

Post by mikeslr »

Have you tried something like the boot arguments bigpup suggested in this post, https://oldforum.puppylinux.com/viewtop ... 88#p553688

"find --set-root --ignore-floppies --ignore-cd /luci268/initrd.gz
or
find --set-root --ignore-floppies --ignore-cd /lupu_527.sfs"

e.g.
find --set-root --ignore-floppies --ignore-cd /puppy/initrd.gz
or
find --set-root --ignore-floppies --ignore-cd /fossapup64_9.5.sfs

or create a text file in the puppy folder named 'my-fossapup64.txt' and edit the boot code to read:
find --set-root --ignore-floppies --ignore-cd /puppy/my-fossapup64.txt

Last edited by mikeslr on Mon Aug 08, 2022 3:10 pm, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 6595
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 1045 times
Been thanked: 2220 times

Re: Kernel can't find main sfs on USB install

Post by mikewalsh »

bigpup wrote: Sun Aug 07, 2022 6:02 pm

Are you having the issue with a USB mouse, keyboard, etc.... plugged in?

AFAIK, mice,dongles, keyboards, etc, are NOT seen the same as mass storage devices. You should be able to leave stuff like that plugged-in....

Mike. ;)

mkngo87
Posts: 3
Joined: Sun Aug 07, 2022 5:24 pm

Re: Kernel can't find main sfs on USB install

Post by mkngo87 »

I re-read the old topic and used the solution provided by gyrog. My new boot entry now looks like this:

Code: Select all

menuentry "Puppy fossapup64 9.5" {
    insmod fat
    search --no-floppy --fs-uuid --set  6C37-4F73
    echo "Loading vmlinuz"
    linux /puppy/vmlinuz pmedia=usbflash pdrv=6C37-4F73 psubdir=/puppy pfix=fsck,fsckp TZ=XXX-8
    echo "Loading initrd.gz"
	initrd /puppy/fossa64-withwait4usb-initrd.gz
	# Puppy Linux will not boot correctly if there are more than one USB drive.
    # initrd /puppy/initrd.gz
}

Thank you @bigpup

ozsouth
Posts: 1747
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 268 times
Been thanked: 800 times

Re: Kernel can't find main sfs on USB install

Post by ozsouth »

@mkngo87 - glad this is resolved, but since timing is the issue, you could possibly append the 'linux' line with rootwait , rather than use a special initrd.gz.

Clarity
Posts: 4321
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1874 times
Been thanked: 581 times

Re: Kernel can't find main sfs on USB install

Post by Clarity »

HI @mkngo87

On your drive, you should have a SAVESPEC file. Would you locate and share its 3 line contents, please?

Thanks in advance.

williwaw
Posts: 2172
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 201 times
Been thanked: 418 times

Re: Kernel can't find main sfs on USB install

Post by williwaw »

try plugging your boot usb into the best port on your computer (some machines have usb ports of different specs)
relegate other devices to the Anker hub

Post Reply

Return to “Fossapup64”