Trying (in vain, I might add) to install Slack alongside Ubuntu
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
That was also wrong, I changed it in my last post from sd2,3 to hd2,3 . I must have been fat fingering the keyboard really bad earlier and didn't have a chance to go back and proofread my post till later on in the day. Sorry about that. It usually takes me a couple of rereads and edits after I initially post something to get it right.
set root=(hd2,1)
linux /boot/vmlinuz root=/dev/sdc1
set root=(hd2,2)
linux /boot/vmlinuz root=/dev/sdc2
set root=(hd2,3)
linux /boot/vmlinuz root=/dev/sdc3
set root=(hd2,4)
linux /boot/vmlinuz root=/dev/sdc4
set root=(hd1,1)
linux /boot/vmlinuz root=/dev/sdb1
first HDD = 0 , second = 1 , third = 2 .. that part is zero based.
Quick (I hope, lol) question. This drive that I'm trying to install slack to, has 4 partitions total.
/dev/sdc1 is my boot partition
/dev/sdc/2 is my ubuntu install (which was installed first)
/dev/sdc3 is my botched slackware install (installed to /media/ace/c364ca81-25c0-42ed-9c46-88d61cb0870a/)
/dev/sdc4 is my swap partition for slackware
When I run fdisk /dev/sdc1, I see this: Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
When I run fdisk /dev/sdc2, I see this: The old ext4 signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x60195037.
When I run fdisk /dev/sdc3, I see the same thing: The old ext4 signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x60195037.
When I run /dev/sdc4, I see this: The old swap signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xdf18fd86.
Needless to say, I didn't write anything to the drive. My question is this: As far as I know, I have a GPT partition table. Said partition table is supposedly for all partitions, yes? So, why does fdisk tell me that the second and 3rd partitions have an unrecognized partition table? That makes absolutely no sense to me, whatsoever. I'm going to try and add some pics for clarification and hopefully, they show up :-/
Quick (I hope, lol) question. This drive that I'm trying to install slack to, has 4 partitions total.
/dev/sdc1 is my boot partition
/dev/sdc/2 is my ubuntu install (which was installed first)
/dev/sdc3 is my botched slackware install (installed to /media/ace/c364ca81-25c0-42ed-9c46-88d61cb0870a/)
/dev/sdc4 is my swap partition for slackware
When I run fdisk /dev/sdc1, I see this: Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
When I run fdisk /dev/sdc2, I see this: The old ext4 signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x60195037.
When I run fdisk /dev/sdc3, I see the same thing: The old ext4 signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x60195037.
When I run /dev/sdc4, I see this: The old swap signature will be removed by a write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xdf18fd86.
Needless to say, I didn't write anything to the drive. My question is this: As far as I know, I have a GPT partition table. Said partition table is supposedly for all partitions, yes? So, why does fdisk tell me that the second and 3rd partitions have an unrecognized partition table? That makes absolutely no sense to me, whatsoever. I'm going to try and add some pics for clarification and hopefully, they show up :-/
P.S. this is the results of the slack install that I can't seem to boot without it erroring out
You run fdisk on a drive not a partition. sdc3 is the third partition on the third drive. The 3 is the partition number, the c indicates which drive.
Ok, that answers my question on the partition table situation. Thanks for that, CP. As to the 3 and the c, I've got that much under control (amazingly enough, lol). Here's my grub.cfg:
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=-1
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=-1
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
linux /boot/vmlinuz-5.0.0-32-generic root=UUID=4c0e0dcc-63ef-4ae5-a398-d70890ec690c ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.0.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
menuentry 'Ubuntu, with Linux 5.0.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-32-generic-advanced-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
echo 'Loading Linux 5.0.0-32-generic ...'
linux /boot/vmlinuz-5.0.0-32-generic root=UUID=4c0e0dcc-63ef-4ae5-a398-d70890ec690c ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.0.0-32-generic
}
menuentry 'Ubuntu, with Linux 5.0.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-32-generic-recovery-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
echo 'Loading Linux 5.0.0-32-generic ...'
linux /boot/vmlinuz-5.0.0-32-generic root=UUID=4c0e0dcc-63ef-4ae5-a398-d70890ec690c ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.0.0-32-generic
}
menuentry 'Ubuntu, with Linux 5.0.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-31-generic-advanced-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
echo 'Loading Linux 5.0.0-31-generic ...'
linux /boot/vmlinuz-5.0.0-31-generic root=UUID=4c0e0dcc-63ef-4ae5-a398-d70890ec690c ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.0.0-31-generic
}
menuentry 'Ubuntu, with Linux 5.0.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-31-generic-recovery-4c0e0dcc-63ef-4ae5-a398-d70890ec690c' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
else
search --no-floppy --fs-uuid --set=root 4c0e0dcc-63ef-4ae5-a398-d70890ec690c
fi
echo 'Loading Linux 5.0.0-31-generic ...'
linux /boot/vmlinuz-5.0.0-31-generic root=UUID=4c0e0dcc-63ef-4ae5-a398-d70890ec690c ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.0.0-31-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Slackware 14.2 (on /dev/sdc3)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c364ca81-25c0-42ed-9c46-88d61cb0870a' {
insmod part_gpt
insmod ext2
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 c364ca81-25c0-42ed-9c46-88d61cb0870a
else
search --no-floppy --fs-uuid --set=root c364ca81-25c0-42ed-9c46-88d61cb0870a
fi
linux /boot/vmlinuz-huge-4.4.14 root=/dev/sdc3
}
submenu 'Advanced options for Slackware 14.2 (on /dev/sdc3)' $menuentry_id_option 'osprober-gnulinux-advanced-c364ca81-25c0-42ed-9c46-88d61cb0870a' {
menuentry 'Slackware 14.2 (on /dev/sdc3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--c364ca81-25c0-42ed-9c46-88d61cb0870a' {
insmod part_gpt
insmod ext2
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 c364ca81-25c0-42ed-9c46-88d61cb0870a
else
search --no-floppy --fs-uuid --set=root c364ca81-25c0-42ed-9c46-88d61cb0870a
fi
linux /boot/vmlinuz-huge-4.4.14 root=/dev/sdc3
}
menuentry 'Slackware 14.2 (on /dev/sdc3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--c364ca81-25c0-42ed-9c46-88d61cb0870a' {
insmod part_gpt
insmod ext2
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 c364ca81-25c0-42ed-9c46-88d61cb0870a
else
search --no-floppy --fs-uuid --set=root c364ca81-25c0-42ed-9c46-88d61cb0870a
fi
linux /boot/vmlinuz-generic-4.4.14 root=/dev/sdc3
}
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# 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 'Slackware'{
set root='(hd2,gpt3)'
linux /boot/vmlinuz root=/dev/sdc3
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.