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 03-01-2023, 12:54 AM   #31
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1

Quote:
Originally Posted by biker_rat View Post
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?
My huge-kernel was also part of the update that initially broke the system; so I couldn't boot into that either. I don't see any advantage of using the slackware install iso over a manjaro-live boot iso (which is more full-featured and easier to use), so I didn't try it.. In fact, I didn't think the slackware install iso was capable of anything aside from installing slackware. But I will keep that in mind and give it a try next time.
 
Old 03-01-2023, 01:06 AM   #32
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,866
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by Marshall_Banana View Post
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..?
Nothing to do with the filesystem type.
  1. /dev/ is for device file creation - device names to be used and referred to. It is never as far as I can imagine a place to mount anything of any kind.
  2. Any directory upon which a filesystem is mounted hides all the files that live there, making them inaccessible.
#2 applied to /dev/ would make a system unusable.
 
1 members found this post helpful.
Old 03-01-2023, 04:09 AM   #33
biker_rat
Member
 
Registered: Feb 2010
Posts: 371

Rep: Reputation: 220Reputation: 220Reputation: 220
Did you actually try to boot with huge or assumed it wouldn't work because it was updated too? Huge image has a lot of extra drivers in it as it is meant to mount the root storage device and root filesystem with no initrd.gz required on most systems. This means it will often boot your system to a console only no network state sufficient to do significant rescue work even if there is a mismatch between the kernel image and module version. Of course if you have unusual hardware or use unusual root filesystem YMMV.
 
Old 03-01-2023, 08:47 AM   #34
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
I don't see any advantage of using the slackware install iso over a manjaro-live boot iso (which is more full-featured and easier to use),
I agree the slackware iso has no advantage and the manjaro-iso makes chrooting into a system easier.
 
1 members found this post helpful.
Old 03-01-2023, 09:46 AM   #35
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,665
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
Quote:
Originally Posted by Marshall_Banana View Post
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..?
You need to know what /dev is for. This is not a real directory but the mountpoint for a virtual filesystem that is used by the kernel to manage hardware. As the kernel identifies drives, partitions and similar hardware at boot, the udev daemon creates device files for them. These are not real files; they have no content and no presence on disk. They are merely access points into the kernel.

Every time a program wants to access hardware, it accesses the corresponding device file. That wakes up the kernel which uses the appropriate driver function to carry out the requested operation. As far as the program is concerned, it has simply been accessing a file and getting a returned result. That makes Linux programming very simple because the programmer does not need to know anything at all about the hardware or how to access it.

Now if you mount something on /dev, it will replace all the virtual device files which udev has created and the kernel will therefore lose all access to hardware such as partitions.
 
2 members found this post helpful.
Old 03-04-2023, 12:31 AM   #36
Marshall_Banana
LQ Newbie
 
Registered: Feb 2023
Posts: 22

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by biker_rat View Post
Did you actually try to boot with huge or assumed it wouldn't work because it was updated too? Huge image has a lot of extra drivers in it as it is meant to mount the root storage device and root filesystem with no initrd.gz required on most systems. This means it will often boot your system to a console only no network state sufficient to do significant rescue work even if there is a mismatch between the kernel image and module version. Of course if you have unusual hardware or use unusual root filesystem YMMV.
yes, I actually tried to boot with it. I'm not sure why it didn't work. I have an Asus TUF X570-PLUS and an AMD Ryzen 9 3900X, for reference. I don't think that would qualify as unusual hardware, though.
 
  


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 09:20 PM.

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