LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2012, 05:28 AM   #1
Broker824
Member
 
Registered: Apr 2010
Location: Serbia
Distribution: Slackware 14.1 and Current, CrunchBang 11, Ubuntu 14.04, antiX 13.1
Posts: 108

Rep: Reputation: 13
error: no such device, after install Slackware 13.37 64bit


Hi,

I Install Slackware 13.37 64bit to new laptop Dell Inspiron N5110, i5 CPU, 8 GB RAM, 500 GB hard drive, triple boot.
Ubuntu, Windows 7 and Slackware, all 64bit.

After install, first error: no such device, else kerenel panic - Not syncing: VFS: Unable to mount root fs on unknown-block(8,8).

In attachments is pictures.
I use GRUB Loader.

Please help.

Notice
I newbie in Slackware Linux and my English language is veri bad, sorry.
Attached Thumbnails
Click image for larger version

Name:	grub.jpg
Views:	30
Size:	157.2 KB
ID:	9777   Click image for larger version

Name:	error.jpg
Views:	26
Size:	131.0 KB
ID:	9778   Click image for larger version

Name:	kernel.jpg
Views:	33
Size:	264.4 KB
ID:	9779  

Last edited by Broker824; 05-30-2012 at 07:39 AM.
 
Old 05-29-2012, 05:44 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
If you are using Ubuntu's grub to boot Slackware then please post your complete grub configuration file (menu.lst or grub.cfg)

Eric
 
Old 05-29-2012, 05:52 AM   #3
Broker824
Member
 
Registered: Apr 2010
Location: Serbia
Distribution: Slackware 14.1 and Current, CrunchBang 11, Ubuntu 14.04, antiX 13.1
Posts: 108

Original Poster
Rep: Reputation: 13
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
set default="0"
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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos5)'
  search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=15
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; 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=7
	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
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=e893e1df-f6d5-4336-962a-86c7c02f924a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
	echo	'Loading Linux 3.2.0-24-generic ...'
	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=e893e1df-f6d5-4336-962a-86c7c02f924a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-24-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+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root e893e1df-f6d5-4336-962a-86c7c02f924a
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 9E9E64159E63E46D
	chainloader +1
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set=root f7acd07f-2d0b-4384-a05a-8534100f1c75
	linux /boot/vmlinuz-generic-2.6.37.6 root=/dev/sda8
}
### END /etc/grub.d/30_os-prober_proxy ###
 
Old 05-29-2012, 07:01 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I can't make heads or tails from this new Grub2 syntax.
The only thing I can advise you is to install Slackware's LILO into the root sector of its own partition and then use the Grub chainloader just like you did with the Windows partition. The chainloader can load LILO and LILO will boot Slackware.

Eric
 
Old 05-29-2012, 07:40 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Code:
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set=root f7acd07f-2d0b-4384-a05a-8534100f1c75
	linux /boot/vmlinuz-generic-2.6.37.6 root=/dev/sda8
It looks to me like grub2 from Ubuntu is using the generic slackware kernel. To use the generic kernel, you need to generate an initrd. Optionally, you could configure grub2 to use vmlinuz-huge-2.6.37.6 (but don't ask me how, as I try to avoid grub2 at all costs).

Adam
 
Old 05-29-2012, 09:24 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
put this entry in /etc/grub.d/40_custom rerun update grub, Slackware should boot.

Quote:
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root f7acd07f-2d0b-4384-a05a-8534100f1c75
linux /boot/vmlinuz root=/dev/sda8
}
If you already created a initrd.gz then this entry will work

Quote:
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root f7acd07f-2d0b-4384-a05a-8534100f1c75
linux /boot/vmlinuz-generic-2.6.37.6 root=/dev/sda8
initrd /boot/initrd.gz
}
Another option is to install lilo to the slackware partition and changeload from ubuntu by adding a chainloader entry to the /etc/grub/40_custom file. Just remember to run updategrub in ubuntu after editing the 40_custom file

Last edited by colorpurple21859; 05-29-2012 at 09:25 AM.
 
1 members found this post helpful.
Old 05-29-2012, 03:54 PM   #7
Broker824
Member
 
Registered: Apr 2010
Location: Serbia
Distribution: Slackware 14.1 and Current, CrunchBang 11, Ubuntu 14.04, antiX 13.1
Posts: 108

Original Poster
Rep: Reputation: 13
Solved.

@colorpurple21859
My problems has done by first method, putting that
Code:
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root f7acd07f-2d0b-4384-a05a-8534100f1c75
linux /boot/vmlinuz root=/dev/sda8
}
in /etc/grub.d/40_custom and update GRUB in Ubuntu.

I am writing this from another commputer. On laptop I did not find driver for wireless and wired network Internet.

Thank You very much for your helping.

Last edited by Broker824; 05-29-2012 at 03:55 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
Slackware 13.37 64bit vmware install crashes kde jocef Slackware 10 05-15-2011 02:32 PM
[SOLVED] Plane Shift install in Slackware 13.1 64bit Deyna Slackware 15 11-28-2010 08:57 PM
How to install Reliance Netconnect broadband+ usb device ZTE AC2627 in Fedora11 64bit yog82esh Linux - Newbie 1 06-12-2010 10:13 AM
[SOLVED] Slackware 13 64bit - Nvidia forcedeth module. Can't load. No ethernet device Sum1 Linux - Networking 3 02-20-2010 11:30 AM
[SOLVED] Slackware 13 64bit: First time using SlackBuilds and unable to install programs. Switch7 Slackware 19 10-08-2009 09:26 AM

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

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