Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Recent posts

#31
System upgrading / I think I messed repositories
Last post by pingu - March 08, 2023, 05:43:36 PM
Hi everyone,

After some upgrades my sparky laptop start told me I have some packages I don't need anymore and I that I can remove with apt autoremove, and I did it.

I noticed I stopped receiving kernel upgrades. uname -a ---> Linux xxxxxxxx 6.2.1-sparky-amd64 #1 SMP PREEMPT_DYNAMIC Sat Feb 25 12:36:16 CET 2023 x86_64 GNU/Linux

I lose also the sparky programs.


My question: Is there any package or metapackage I can reinstall In order to have my sparky lxqt bookworm in shape again? Or how to clean my mess in repos?

The ones I tried says I already have them installed.


Thanks for reading and future help.


#32
Español / Re: Bien venidos !!
Last post by frank - March 07, 2023, 02:35:45 PM
@javsparky
Una calurosa bien venida a este Foro!!
#33
Applications / Re: GRUB PROBLEM Errors During...
Last post by SparkyBookworm - March 06, 2023, 11:04:12 PM
So I was able to re-run the update that the Wifi card must have dropped midstream and cause this issue. I can once again restart the Pc without the grub issue, however, there are still error! warning messages that pop up concerning the kernel 4.9.337 during the routine Sparky updater process.

I don't know why this is, but the problem seems to at least be associated with this recent error message, at least for me.
#34
Applications / Re: GRUB PROBLEM Errors During...
Last post by SparkyBookworm - March 06, 2023, 11:01:14 PM
root=/dev/sda -> BusyBox

root=/dev/sda2 -> IT WORKED.

I don't recall having such a directory. But this solution is what at least allowed me to bypass the wretched Grub:

grub> set root=(hd0,gpt2)
grub> linux /boot/vmlinuz-6.1.0-5-amd64 root=/dev/sda2
grub> initrd /boot/initrd.img-6.1.0-5-amd64
grub> boot


Now that I am logged into the desktop environment I should probably figure out what is going on with the Grub... and attempt to fix it.
#35
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 08:29:59 PM
root=/root did not work, sent me to BusyBox prompt
root=/ did not work, sends me to BusyBox prompt
root=/boot did not work, sends me to BusyBox prompt
root=/boot/efi did not work, BusyBox prompt
root=/dev took longer didn't work, BusyBox prompt
root=/boot/grub didn't work, still stuck at BusyBox prompt


#36
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 07:40:38 PM
grub> set root=(hd0,gpt2)
grub> linux /boot/vmlinuz-6.1.0-5-amd64 root=/dev/sda1
grub> initrd /boot/initrd.img-6.1.0-5-amd64
grub> boot

This got me out of the grub and into BusyBox v1.35.0 (Debian 1:1.35.0-4+b2) built-in shell (ash), but then the mount failed giving:

mount:mounting /dev/sda1 on /root failed: No such device
Failed to mount /dev/sda1 as root file system

I don't think I should have used root=/dev/sda1... In fact I doubt I have such directory, I don't have my entire Linux file system memorized of course, so these are just stabs in the dark.

I am now at a blinking BusyBox command prompt:
(initramfs) _

Fun. But I don't know if this is an improvement but certainly was not the result I was hoping for. I'll probably have to restart and try again with Grub command line and instead use /boot as root= ?

I'm unsure what I should use.
#37
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 06:35:06 PM
I guess this listed here below is my vmlinuz and init info?

I input:

grub> ls (hd0,gpt2)/boot

grub responds with:
efi/ grub/ System.map-6.1.0-5-amd64 config-6.1.0-3-amd64 vmlinuz-6.1.0-3-amd64 config-6.1.0-5-amd64
vmlinuz-6.1.0-5-amd64 config-4.9.337-sparky-lts49-amd64 System.map-6.1.0-3-amd64
vmlinuz-4.9.337-sparky-lts49-amd64 initrd.img-6.1.0-5-amd64 initrd.img-6.1.0-3-amd64
System.map-4.9.337-sparky-lts49-amd64 initrd.img-4.9.337-sparky-lts49-amd64
#38
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 06:16:30 PM
Does anyone know if this site is good for the problem I'm facing?
https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-rescue-a-non-booting-grub-2-on-linux

I have no idea what version vmlinuz I'm on or init to type in, how or where to look these up using the Grub command line..
#39
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 06:05:02 PM
grub> cat (hd0,gpt2)/etc/issue
SparkyLinux 7 Orion-Belt \n \l

So its definitely (hd0,gpt2) that I must convince the wretched "Grub" to boot..
#40
Applications / Re: Errors During Routine Upda...
Last post by SparkyBookworm - March 06, 2023, 05:49:34 PM
My grub is version 2.06-8 so looks different than in this pic included only for a reference of where my pc is currently stuck at:


grub> ls
(proc) (memdisk) (hd0) (hd0,gpt2) (hd0,gpt1)

THEN

grub> set root=(hd0,gpt2)
grub> set prefix=(hd0,gpt2)/boot/grub
grub> insmod normal
grub> normal

output/result: Sends me right back to Grub "bash-like" prompt (exactly where I started) instead of booting the system.

Using (hd0,gpt1) gave same result.

(memdisk) is fat, so I may as well try that next... nope, that didn't work either.

View the most recent posts on the forum