LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2019, 02:46 PM   #16
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by BW-userx View Post
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.
Thanks, man. I'll definitely give that a shot :-)
 
Old 10-23-2019, 03:46 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Edited my earlier post sdc should have been root=/dev/sdc3
Code:
menuentry 'Slackware'{
set root=(hd2,3)
linux /boot/vmlinuz root=/dev/sdc3
}

Last edited by colorpurple21859; 10-23-2019 at 04:41 PM.
 
1 members found this post helpful.
Old 10-23-2019, 05:58 PM   #18
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 colorpurple21859 View Post
Edited my earlier post sdc should have been root=/dev/sdc3
Code:
menuentry 'Slackware'{
set root=(hd2,3)
linux /boot/vmlinuz root=/dev/sdc3
}
keyboard shuffle .. them keys moving around on one when not looking.
 
Old 10-23-2019, 06:54 PM   #19
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Edited my earlier post sdc should have been root=/dev/sdc3
Code:
menuentry 'Slackware'{
set root=(hd2,3)
linux /boot/vmlinuz root=/dev/sdc3
}
Didn't pan out. Hopefully, my pics show up. Well, no pics for some reason, lol. I tried that and received this error:

error: disk 'sd2,3'not found.
Press any key to continue...
 
Old 10-23-2019, 07:04 PM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
error: disk 'sd2,3'not found.
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.
 
Old 10-23-2019, 07:09 PM   #21
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
make a few of them and just change the location if you do it right one will make the hit, like this.
Code:
menuentry "FreeBSD v12-p10" {
set root='(hd0,3)'
#chainloader +1
kfreebsd /boot/loader
}

#menuentry "FreeBSD 12.1 BETA3 A" {
#set root='(hd1,0)'
#chainloader +1
#kfreebsd /boot/loader
#}
 
#menuentry "FreeBSD 12.1 BETA3 B" {
#set root='(hd1,1)'
#kfreebsd /boot/loader
#chainloader +1
#}

 
#menuentry "FreeBSD 12.1 BETA3 C" {
#set root='(hd1,2)'
#chainloader +1
#kfreebsd /boot/loader
#}
then just remember which one it is. and remove the others, or comment them out, like I did. Just format them for Linux.

Last edited by BW-userx; 10-23-2019 at 07:15 PM.
 
Old 10-23-2019, 07:16 PM   #22
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
make a few of them and just change the location if you do it right one will make the hit, like this.
Code:
menuentry "FreeBSD v12-p10" {
set root='(hd0,3)'
#chainloader +1
kfreebsd /boot/loader
}

#menuentry "FreeBSD 12.1 BETA3 A" {
#set root='(hd1,0)'
#chainloader +1
#kfreebsd /boot/loader
#}
 
#menuentry "FreeBSD 12.1 BETA3 B" {
#set root='(hd1,1)'
#kfreebsd /boot/loader
#chainloader +1
#}

 
#menuentry "FreeBSD 12.1 BETA3 C" {
#set root='(hd1,2)'
#chainloader +1
#kfreebsd /boot/loader
#}
then just remember which one it is. and remove the others, or comment them out, like I did. Just format them for Linux.
And all this takes place in the 40_custom file?
 
Old 10-23-2019, 07:47 PM   #23
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
And all this takes place in the 40_custom file?
yes

just change the locations on each one
Code:
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.

Last edited by BW-userx; 10-24-2019 at 06:50 AM.
 
Old 10-26-2019, 02:27 PM   #24
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
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 :-/
Attached Thumbnails
Click image for larger version

Name:	fdisk-dev-sdc.png
Views:	13
Size:	129.8 KB
ID:	31646   Click image for larger version

Name:	fdisk-sdc1.png
Views:	13
Size:	225.8 KB
ID:	31647   Click image for larger version

Name:	fdisk-sdc2.png
Views:	10
Size:	250.4 KB
ID:	31648   Click image for larger version

Name:	fdisk-sdc3.png
Views:	10
Size:	250.4 KB
ID:	31649   Click image for larger version

Name:	fdisk-sdc4.png
Views:	8
Size:	250.7 KB
ID:	31650  

 
Old 10-26-2019, 02:40 PM   #25
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nohopeforme View Post
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
Attached Thumbnails
Click image for larger version

Name:	botched-slack.jpg
Views:	15
Size:	155.1 KB
ID:	31651  
 
Old 10-26-2019, 03:01 PM   #26
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
When I run fdisk /dev/sdc3
That is suppose to be
Code:
fdisk /dev/sdc
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.
 
Old 10-26-2019, 03:08 PM   #27
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
boot into ubuntu post the output of
Code:
sudo cat /boot/grub/grub.cfg
 
Old 10-26-2019, 03:18 PM   #28
nohopeforme
Member
 
Registered: Aug 2019
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
That is suppose to be
Code:
fdisk /dev/sdc
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 ###
 
Old 10-26-2019, 03:31 PM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
at the grub menu highlight the slackware entry e for edit
change the linux line to this
Code:
linux /boot/vmlinuz root=/dev/sdc3 noacpi
then ctrl-x to boot
 
Old 10-26-2019, 04:03 PM   #30
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 e for edit
change the linux line to this
Code:
linux /boot/vmlinuz root=/dev/sdc3 noacpi
then ctrl-x to boot
Tried that and ended up with the what you see in the pics :-/
Attached Thumbnails
Click image for larger version

Name:	grub-edit-1.jpg
Views:	21
Size:	73.4 KB
ID:	31653   Click image for larger version

Name:	grub-edit-2.jpg
Views:	21
Size:	67.6 KB
ID:	31654  
 
  


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 06:22 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