LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-22-2019, 11:46 AM   #1
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Rep: Reputation: Disabled
Trying (in vain, I might add) to install Slack alongside Ubuntu


Major noob trying to shoot for a dualboot ubuntu/slack setup. Not even quite sure how to form this post, lol. As far as I can tell, I did my partitions correctly. I didn't choose lilo (or elilo) for the bootloader. I'm basically clueless with grub, but I'm trying to make sense of the whole booting with grub scenario. I'm fairly certain whatever the problem is, is something I did or didn't. I just can't seem to figure out what that might be. I guess if worse comes to worse, I could just wipe my ubuntu and dedicate the whole drive to slack, but I really don't want to make that leap yet. Still too much of a noob for a dedicated slack drive, lol. The only thing I know for sure, is I get about 4 seconds into the boot process and then it just sits there. There are a couple slowpath warnings and one panic error but for all intents and purposes, I'm not sure what I'm looking at. I'm enclosing a couple pics that might help point out what I could be doing wrong. Then again, who knows? At any rate, I made this my last resort as it seems I'm not smart enough to figure this one out on my own :-/
Attached Thumbnails
Click image for larger version

Name:	lq-slackboot-error.jpg
Views:	57
Size:	67.3 KB
ID:	31594   Click image for larger version

Name:	lq-slack-grub-mkconfig.jpg
Views:	50
Size:	83.5 KB
ID:	31595   Click image for larger version

Name:	ls-slack-sdc3.jpg
Views:	44
Size:	107.7 KB
ID:	31596  
 
Old 10-22-2019, 11:58 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
is ubuntututu efi or Mbr installed?

If slack is efi , use this check off list
https://docs.slackware.com/howtos:sl...based_hardware
to be sure you have it set up properly.
I use MBR so yeah... I'm stretchy on the efi set up here.
 
Old 10-22-2019, 12:44 PM   #3
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Yeah, it's efi. Thanks for the link, I'll be checkin that out :-)
 
Old 10-22-2019, 01:22 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,602
Blog Entries: 19

Rep: Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456
I assume Ubuntu installed GRUB in your EFI system partition. If I were you, I'd stick to that as your boot loader for the time being (and I say that as someone who actually dislikes GRUB quite strongly). Always control GRUB from a single system to avoid complications, and again I recommend using Ubuntu for that initially. So after installing Slackware, you should reboot into Ubuntu and run update-grub from there. That should ensure that GRUB behaves consistently.

What kernel are you using for Slackware? If it's the recommended generic kernel, then you will also need an initrd image. Unusually Slackware doesn't create one automatically; you're expected to do that yourself using the mkinitrd script. There's a useful additional script in /usr/share/mkinitrd that will examine your hardware and tell you what options you need to give mkinitrd in order to get an image that contains the essential driver modules. Alternatively, you could install the huge kernel which contains all the drivers. I notice that one of your pics shows a kernel panic, and the usual cause of that is inability to access the root partition because the necessary drivers are missing.

I'm impressed that you want to go directly from Ubuntu to Slackware. I warn you that there will be culture shock. Ubuntu holds your hand all the time and Slackware doesn't. But you'll learn a lot more from Slackware.
 
Old 10-22-2019, 02:40 PM   #5
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
That's just it. I can't get slack to install, lol. As to the culture shock, I can relate. I fooled with slackware a few years ago and I'm well aware that it's a whole different beast. That's one of the main reasons I want to install it (other than I'm a slacker extraordinaire). I've driven over the road for a living for 25 years but got injured on the job a year ago and haven't been able to work since. That's why I'm delving back into linux. I figure since I can't do much else, I might as well try to learn something :-/ I can't seem to make it work with either the generic kernel or the huge kernel.

Last edited by nohopeforme; 10-22-2019 at 02:42 PM. Reason: forgot to add a couple things
 
Old 10-22-2019, 02:48 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
try going MBR get a live os, one that has gparted included in the iso, I think linux mint has it, some of the manjaro does in there live os.

use gparted to create a new partition table (msdos=mbr) change your bios to legacy boot (make sure your BIOS has that which it should, and your drive is 2TB or lesser). then install it MBR style. no need to finagle the efi files to make them the way they're suppose to be then move them to where they're suppose to be in order for it to actually work.
 
Old 10-22-2019, 04:31 PM   #7
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
try going MBR get a live os, one that has gparted included in the iso, I think linux mint has it, some of the manjaro does in there live os.

use gparted to create a new partition table (msdos=mbr) change your bios to legacy boot (make sure your BIOS has that which it should, and your drive is 2TB or lesser). then install it MBR style. no need to finagle the efi files to make them the way they're suppose to be then move them to where they're suppose to be in order for it to actually work.
I've looked in my bios and it doesn't show any options for booting in legacy mode. That said, I've read where if your current install is efi, then subsequent installs need to be efi as well. I'm still googling and reading everything I can find, though. Sooner or later, I'll throw something at the wall and maybe it'll stick, lol
 
Old 10-22-2019, 06:18 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by nohopeforme View Post
I've looked in my bios and it doesn't show any options for booting in legacy mode. That said, I've read where if your current install is efi, then subsequent installs need to be efi as well. I'm still googling and reading everything I can find, though. Sooner or later, I'll throw something at the wall and maybe it'll stick, lol
give it a new partition table which btw wipes the hdd clean, making whatever in this case dos = MBR,
that is why I said check bios for other then efi aka legacy, mine had both separately or together. HP 840 g2;

though you say your BIOS does not afford you the option of one or the other or both together. sorry.

from when I did the efi in slack and a few other distros, I remember I had to if I remember correctly, boot a live mount the drive then get into the boot partition find the files and rename them while moving them to where they actually needed to be to get it to work but the particulars I do not remember, and I am not feeling like wiping my install to go though all of that to get the steps I figured out on the fly to get that to work.

Oh yes in mine it gave me an option on boot that allowed me to search the partitions to find the files, that is how I got to see what they were named.

just find out the exact file names that slack is suppose to be to boot, then find where they are being stored and where they are suppose to be and what they the move them while renaming them then whatever else with grub.

that is as much as I can say because I did it one step at a time figuring it out as I went using the options I had at my disposal.
 
Old 10-22-2019, 07:24 PM   #9
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
give it a new partition table which btw wipes the hdd clean, making whatever in this case dos = MBR,
that is why I said check bios for other then efi aka legacy, mine had both separately or together. HP 840 g2;

though you say your BIOS does not afford you the option of one or the other or both together. sorry.

from when I did the efi in slack and a few other distros, I remember I had to if I remember correctly, boot a live mount the drive then get into the boot partition find the files and rename them while moving them to where they actually needed to be to get it to work but the particulars I do not remember, and I am not feeling like wiping my install to go though all of that to get the steps I figured out on the fly to get that to work.

Oh yes in mine it gave me an option on boot that allowed me to search the partitions to find the files, that is how I got to see what they were named.

just find out the exact file names that slack is suppose to be to boot, then find where they are being stored and where they are suppose to be and what they the move them while renaming them then whatever else with grub.

that is as much as I can say because I did it one step at a time figuring it out as I went using the options I had at my disposal.
I really don't want to wipe the drive. I've got an ubuntu install on here I can't afford to lose. Just call me the googling fool, lol. Appreciate the feedback, though :-)
 
Old 10-22-2019, 08:03 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by nohopeforme View Post
I really don't want to wipe the drive. I've got an ubuntu install on here I can't afford to lose. Just call me the googling fool, lol. Appreciate the feedback, though :-)
yeah I know, just explaining and that is why I told you my experience in finding where the files are at and having to rename them and put them where they are suppose to be, so it will work and with two or more distros. I just do not remember the particulars, is all.
 
Old 10-23-2019, 04:49 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,602
Blog Entries: 19

Rep: Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456Reputation: 4456
I'm pretty sure you have a legacy mode there somewhere but some uefis make it difficult to find. It's often disguised as "csm" (compatibility support module). But you shouldn't mix modes; that's very dangerous. If you have Ubuntu installed in uefi native mode and you want to keep it that way, then you should use native mode for Slackware as well.

You don't make it clear what boot are you having trouble with: the installation CD or the installed system. If it's the Slackware installation disc, try booting with another CD. Your Ubuntu live disc will do. If it boots successfully, then you have a bad Slackware disc and need to make another one. If it's the installed system, then I still think you need an initrd. You can make one within Slackware by chrooting in from your Ubuntu system, even if Slack itself won't boot.
 
Old 10-23-2019, 05:48 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
at the grub menu, highlight the slackware entry, press e for edit.
on the line that starts with linux if there is a "root=UUID=......." change to root=/dev/sdc3, press ctl-x or f10 to boot.

If this works, in Slackware open a terminal as root
Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh
run the mkinitrd command that is generated.
reboot into ubuntu, rerun update-grub

another way
as root in ubuntu edit /etc/grub.d/40_custom with the following entry and run update-grub
Code:
menuentry 'Slackware'{
set root=(hd2,3)
linux /boot/vmlinuz root=/dev/sdc3
}

Last edited by colorpurple21859; 10-23-2019 at 04:42 PM.
 
Old 10-23-2019, 02:27 PM   #13
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
at the grub menu, highlight the slackware entry, press e for edit.
on the line that starts with linux if there is a "root=UUID=......." change to root=/dev/sdc3, press ctl-x or f10 to boot.

If this works, in Slackware open a terminal as root
Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh
run the mkinitrd command that is generated.
reboot into ubuntu, rerun update-grub

another way
as root in ubuntu edit /etc/grub.d/40_custom with the following entry and run update-grub
Code:
menuentry 'Slackware'{
set root=(sd2,3)
linux /boot/vmlinuz root=/dev/sdc
}
I tried the 2nd option of editing the 40_custom file and here are the results. The grub listing didn't have the slackware entry on the bottom before I tried your suggestion. When I chose it, I got the error shown here. I'm going to remove the entry to the 40_custom file and try your 1st suggestion. The help is very much appreciated :-) (shoot...my pics didn't show up, lol)

Last edited by nohopeforme; 10-23-2019 at 02:29 PM.
 
Old 10-23-2019, 02:33 PM   #14
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
at the grub menu, highlight the slackware entry, press e for edit.
on the line that starts with linux if there is a "root=UUID=......." change to root=/dev/sdc3, press ctl-x or f10 to boot.

If this works, in Slackware open a terminal as root
Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh
run the mkinitrd command that is generated.
reboot into ubuntu, rerun update-grub

another way
as root in ubuntu edit /etc/grub.d/40_custom with the following entry and run update-grub
Code:
menuentry 'Slackware'{
set root=(sd2,3)
linux /boot/vmlinuz root=/dev/sdc
}
Ok, once again..with pics. As I posted prior, I edited the custom_40 file and the slackware entry on the bottom wasn't there before I did so. When I chose said bottom slackware entry, I received the error shown in the pic...which I hope shows up this time :-/ (and still no pics. Not sure why they aren't loading)

Last edited by nohopeforme; 10-23-2019 at 02:35 PM.
 
Old 10-23-2019, 02:45 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
this is what I had to use once,
Code:
#menuentry "SLACKWARE-14.2+ (works)" {
#set root='(hd0,7)'
#linux /boot/vmlinuz-huge root=/dev/sdb7
#}
you need to work out your partition the root is on on your system.

not sure what sd in on that other one, but the /dev/sdc is a oops forgot partition number.

Last edited by BW-userx; 10-23-2019 at 02:49 PM.
 
  


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
Are people really so vain? hazel General 27 05-03-2018 04:54 PM
Error msg on trying to install Ubuntu 10.4 alongside Windows ZombyWoof Ubuntu 2 01-28-2011 05:00 AM
Tried but in vain to list contents of a directory rs_vijay Programming 3 01-17-2007 03:59 PM
Trying in vain to netinstall linux clavin42 Linux - Software 5 02-09-2006 06:01 PM
Ubuntu: GCC, PPPOE, and vain attempts to connect to the internet trevorv Linux - Newbie 11 02-04-2005 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:05 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