[SOLVED] error: no such device, after install Slackware 13.37 64bit
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.
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.
#
# 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 ###
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.
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).
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.
@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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.