SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After a lot of fight against Grub2 and questions not answered in other forums, I come here to ask for help at wise people of LQ. I hope this is the correct sub-forum.
My computer has two Linux OS inside: aptosid, a Debian derivative, and Salix, a Slackware based, as you know. As a consequence of an aptosid's dist-upgrade, I cannot boot salix.
It is, obviously, a Grub2 issue, which is the bootmanager of aptosid, having salix as second OS. In my battles with Grub2 I've learned (in some forum; don't ask me what forum, I don't remember) that the script /etc/grub.d/30_os-prober is not always reliable. Because that, I've annulled the mode "x" of this script and configured 40_custom instead. Here is as it looks now:
Code:
lluis1@aptosidbox1:~$ cat /etc/grub.d/40_cus*
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Salix-Slackware 13.37 (on /dev/sda3)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 17405d87-e0a8-4b36-94cd-27682c750d50
linux /boot/vmlinuz root=UUID=17405d87-e0a8-4b36-94cd-27682c750d50
}
lluis1@aptosidbox1:~$
As far as I'm able to see, this configuration must go, but if I try to boot Salix-Slackware 13.37, I get:
Code:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)
For more information I've run bootinfoscript, which results are here
This is a Slackware forum. Slackware is not Salix. Slackware also does not contain grub2. Perhaps you are better off finding help in the Salix forum : http://www.salixos.org/forum/
Apologies if I've bothered you. I think you don't need to be impolite.
Of course, I've asked at salix forum, but nobody could find a solution. If salix is a derivative of Slackware, then the knowledge of Slackware is applicable to salix.
And in the first paragraph I've said "I hope this is the correct sub-forum". If not, please said me what other subforum is.
Apologies if I've bothered you. I think you don't need to be impolite.
The response you got looked pretty factual to me.
Quote:
Of course, I've asked at salix forum, but nobody could find a solution. If salix is a derivative of Slackware, then the knowledge of Slackware is applicable to salix.
Not when you're asking about a component that Slackware has never included. Obviously that wouldn't be derived from Slackware in any way.
Quote:
And in the first paragraph I've said "I hope this is the correct sub-forum". If not, please said me what other subforum is.
I have no idea. Good luck with your search for an answer, though.
I would ask in Linux General (this reads like a Grub2 issue). The Slackware forum is the least appropriate IMHO given that Slackware is one of the few that does not include/use Grub2.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Rip van Vinkle,
I published here my experience concerning GRUB2 in Linux Mint and LILO in Slackware Linux.
Since Salix is a derivative of Slackware I assume it uses LILO. LILO is much more reliable – in my opinion – than GRUB. So you could try to install LILO on MBR and GRUB Legacy on the partition with aptosid using the method that I described in the mentioned post. Then use LILO to run both your systems. That should work.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
eyeofliberty,
The issue which I described in the mentioned post concerns GRUB2 in Linux Mint. I think that the similar method will solve the problem with GRUB2 in aptosid.
One of the nice things about grub and grub2 is that you can interactively run boot loader commands during the boot so that you can figure out exactly what's wrong with your configuration file and boot the system so you can make the changes. Win win!
Judging from the error message, I'd advise you to put the boot process in interactive mode and list out your disk partitions. I'm pretty sure that (hd0,msdos3) isn't correct (or isn't an ext2 partition).
An altogether unsatisfactory and unhelpful thread until that last post.
By the time the message the OP sees is issued the boot-loader (whatever it is) has done it's job. That is a kernel message from a Slackware derived distro. You'd think the Slack community would try to help, but apparently not.
Unless things are different in Salix, you will need to include an initrd to get all the support pre-loaded for the kernel. Add it immediately after the kernel line.
That grub setup does look a mess - open another thread for that if you want; general as suggested will probably be a better choice.
An altogether unsatisfactory and unhelpful thread until that last post.
By the time the message the OP sees is issued the boot-loader (whatever it is) has done it's job. That is a kernel message from a Slackware derived distro. You'd think the Slack community would try to help, but apparently not.
We don't ship grub2. The kernel message (almost certainly not our kernel, either) is simply saying that it couldn't mount root, very likely because the initrd or the boot loader were not set up properly. I don't know, but suspect that the initrd construction is different from what we do as well.
Salix may have forked from Slackware, but it differs in a lot of ways. This is one of them.
Sorry you weren't satified, but asking for support in the wrong place (from a project that has nothing to do with the software in question) isn't likely to produce helpful answers.
They (SalixOS) use a huge kernel by default and do not encourage (in any of their documentation) the use of a generic kernel with initrd (so I suspect most users do not bother). That all said, I fully agree that this isn't the right forum and should either be in general or in Salix's own forum.
I'm pretty sure that (hd0,msdos3) isn't correct...
I would agree. According to your Boot Info script, that's a swap partition. Your salix root partition is on the second hard drive (hd1,3), not the first (hd0,3).
I would recommend you revisit/reevaluate the documentation used to create your custom entry. Or run os-prober and let that take care of it for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.