LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2023, 02:24 AM   #16
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1

Quote:
Originally Posted by colorpurple21859 View Post
do you get the slackware grub menu?
yes. Tried to boot from here but it still hangs at the line reading:
"Using /etc/random-seed to initialize /dev/urandom."

Also, a couple lines above this one I get messages reading:
[ 10.278758] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 10.291406] exFAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Not sure how relevant this is, but I thought it seemed suspicious.
 
Old 02-25-2023, 02:30 AM   #17
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by hazel View Post
That message comes from systemd, so your grub tweaks have worked and the kernel has definitely booted. It's halting at a later stage. Maybe the lack of an initrd has prevented some necessary drivers from being loaded.
And here I was doing my best to keep a system that was free from systemd.. Seems like everything depends on being able to update that initrd; I'm just not sure how at the moment.
 
Old 02-25-2023, 02:37 AM   #18
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
did you try any of the entries in the sub-menu?
 
Old 02-25-2023, 03:25 AM   #19
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by colorpurple21859 View Post
did you try any of the entries in the sub-menu?
yes; I made it to the point where loading messages were shooting up the screen but it just hangs on the message:
"Using /etc/random-seed to initialize /dev/urandom."
 
Old 02-25-2023, 12:57 PM   #20
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,830
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Are you sure it's hung? Have you tried to login remotely? Does Ctrl-Alt-F3 do anything? Have you tried booting with nomodeset? Urandom might be the last thing to happen before KMS starts, and if KMS isn't working you can get what appears to be a hung system.
 
2 members found this post helpful.
Old 02-25-2023, 05:45 PM   #21
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by mrmazda View Post
Are you sure it's hung? Have you tried to login remotely? Does Ctrl-Alt-F3 do anything? Have you tried booting with nomodeset? Urandom might be the last thing to happen before KMS starts, and if KMS isn't working you can get what appears to be a hung system.
yes, I'm sure; I've previously waited approximately 8 hours for the system to continue on its own past this message. I'm not sure how to login remotely (I'm not even sure if I have ssh enabled) so I haven't done that. Ctrl-Alt-F3 does nothing. Just tried booting with nomodeset and it still hangs at the same message..

Seems like my most suitable option right now might be to just re-run the slackware install iso, as was mentioned previously in the thread..
 
Old 02-25-2023, 06:23 PM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
I think there is something wrong with the initrd, try this

Code:
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
sudo manjaro-chroot /mnt
source /etc/profile
cd /boot
rm initrd.gz
rm -rf initrd-tree
ls /lib/modules
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k <the output of previous ls command without the />
<run the ouput of the previous mkinitrd_command_generator.sh>
grub-install
grub-mkconfig -o /boot/grub/grub.cfg
exit
ignore the "cat: /proc/mdstat: No such file or directory" message mdstat has to do with raid, which I assume you aren't using.

Last edited by colorpurple21859; 02-25-2023 at 07:42 PM.
 
2 members found this post helpful.
Old 02-25-2023, 07:12 PM   #23
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,830
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by colorpurple21859 View Post
Code:
sudo manjaro-chroot /mnt
source /etc/profile
Might not be necessary here, but between the two above I would be adding sudo mount -a just to be sure. It's a necessity for btrfs users.
 
2 members found this post helpful.
Old 02-26-2023, 09:38 AM   #24
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Another thought is maybe it was a bad update, run slackpkg before the mkinitrd and grub-mkconfig.

Another thought, maybe a video problem, even through the screen doesn't respond, blindly login, press enter twice login as root, reboot. does it reboot?

Last edited by colorpurple21859; 02-26-2023 at 10:14 AM.
 
1 members found this post helpful.
Old 02-26-2023, 03:01 PM   #25
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Took a re-look at the /etc/fstab, I'm sure this is the problem:
Quote:
/dev/sdc1 /dev/ exfat fmask=133,dmask=022 1 0
/dev/sdc1 is getting mounted over /dev

Last edited by colorpurple21859; 02-26-2023 at 03:06 PM.
 
2 members found this post helpful.
Old 02-27-2023, 01:16 AM   #26
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
So I followed the suggestions from both of you; and it seems like we're getting closer and achieving interesting results. Now I'm able to boot straight into the grub menu as before but with updated menu entries; but it still hangs at the same message as before;
"Using /etc/random-seed initialize /dev/urandom."

Quote:
Originally Posted by colorpurple21859 View Post
Took a re-look at the /etc/fstab, I'm sure this is the problem:

/dev/sdc1 is getting mounted over /dev
Interesting that you mention that; because when I tried $mount -a, as suggested by mrmazda, the output was
mount: /dev: /dev/sdc1 already mounted or mount point busy.
I'd be willing to bet its related somehow. But I'm ready to take any suggestions on how to pursue this and potentially fix the hang.

Also, I'm not sure if it's related to the fact that I'm running it through a live environment, but after running $slackpkg update, I came across a "FATAL" warning claiming that the Official Slackware Repository fails the CHECKSUMS.md5.asc download.
(I have a strong feeling it was due to being run in the live environment, though.)

I don't think it was a serious problem, but I thought it was worth noting I also received this warning;
warning: os-prober will not be executed to detect other bootable partitions.
systems on them will not be added to the GRUB boot configuration.

Last edited by Marshall_Banana; 02-27-2023 at 01:18 AM.
 
Old 02-27-2023, 01:30 AM   #27
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,830
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Move /dev/sdc1 to some other mountpoint or just comment its fstab line to see what happens. There's no possible justification I can think of to mount any exfat filesystem on /dev/.
 
1 members found this post helpful.
Old 02-27-2023, 05:03 AM   #28
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
If I had to guess, the line was added with the attempt to fix the "failed to get canonical path overlay" error. As mrmazada suggested add a # to the beginning of that line or change /dev/ to something else.

Last edited by colorpurple21859; 02-27-2023 at 05:05 AM.
 
1 members found this post helpful.
Old 02-27-2023, 06:15 AM   #29
biker_rat
Member
 
Registered: Feb 2010
Posts: 370

Rep: Reputation: 220Reputation: 220Reputation: 220
This is slackware15, but you are trying to fix it with Manjaro livecd. First thing to ask, do you have huge kernel installed? If vmlinuz symlink is pointing at generic image, try pointing grub it at huge image? Most systems booting from huge kernel will give you a working console , no network slackware environment form which you can 1) reinstall grub, 2) reinstall lilo,3)edit grub.cfg, 4) edit lilo.cfg, 5) make new initrd.gz (which is not usually required to boot with huge). Maybe you tried this or don't have huge kernel image but I don't see it discussed and it is normal early step to attempt for slackware rescue. Also similar effect to use slackware install iso for rescue boot, did you attempt to get console only no network system that way?
 
1 members found this post helpful.
Old 03-01-2023, 12:50 AM   #30
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by mrmazda View Post
Move /dev/sdc1 to some other mountpoint or just comment its fstab line to see what happens. There's no possible justification I can think of to mount any exfat filesystem on /dev/.
This did the trick; sdc is the usb stick I was using to live boot the desktop, so I changed the mount point to /dev/usb.. (I wasn't sure what was the most appropriate mount point to choose for this usb). I can finally boot into it normally for the first time since the beginning of this month. A big thank you to everyone who took the time to respond and contemplate what could be wrong with my system. This has been a very enlightening learning experience for me. It seems like it's officially time to mark this thread as [SOLVED].

Although, I'm still a little confused as to why and how mounting the sdc /dev/ could cause the system to hang.. it seems it has something to do with the fact that it was formatted as an exfat filesystem, according to mrmazda..?

Last edited by Marshall_Banana; 03-01-2023 at 01:10 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [GRUB] Warning messages while updating grub.cfg gbschenkel Slackware 3 08-28-2021 02:45 PM
GRUB menu not getting updated even after changing /boot/grub/grub.cfg KNSI Linux From Scratch 4 06-20-2018 09:13 PM
GRUB menu not getting updated even after changing /boot/grub/grub.cfg KNSI Linux - Newbie 6 06-20-2018 01:54 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration