Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-10-2006, 04:51 PM
|
#1
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
First attempt at new kernel VFS cannot open root device
My first attempt build a new kernel. I follwed all the advice hereabouts for building and installing the new 2.6 kernel.
But on booting up I get
VFS cannot open root device "sdb1" or unknown - block(0,)
Please append a correct "root"=
Kernel panic - not syncing
The 2.4 kernel is fine if I select it
This is the relevant bit of grub menu.lst
title SlackwareLinux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz-custom-2.6.16.9 root=/dev/sdb1 ro
savedefault
boot
title SlackwareLinux-2.4 (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/sdb1 ro
savedefault
boot
title SlackwareLinux-2.4 (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/sdb1 ro
savedefault
boot
This is fstab
/dev/sdb2 swap swap defaults 0 0
/dev/sdb1 / ext3 defaults 1 1
/dev/sda2 /mnt/windows ntfs ro 1 0
/dev/sdb3 /mnt/kubuntu ext3 user,noauto 0 0
/dev/sdb5 /mnt/winlin vfat user,umask=0 0 0
/dev/sdb6 /mnt/winback vfat user,umask=0 0 0
/dev/sdc1 /mnt/flash1 vfat user,noauto,umask=0 0 0
/dev/sdd1 /mnt/flash2 vfat user,noauto,umask=0 0 0
/dev/hda /mnt/cdrom iso9660 user,noauto,rw 0 0
/dev/fd0 /mnt/floppy vfat user,noauto 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
Any ideas?
|
|
|
05-10-2006, 04:53 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
You need to be sure that the fs for '/' is compiled in the kernel, not as a module.
|
|
|
05-10-2006, 05:03 PM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Original Poster
Rep:
|
It is in the kernel.
In fact I just copied over the old .config from the 2.4 tree and the only change I made was to select the opteron processor
|
|
|
05-10-2006, 05:05 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by arubin
It is in the kernel.
In fact I just copied over the old .config from the 2.4 tree and the only change I made was to select the opteron processor
|
CANNOT DO THAT.
Must get/make a config for the 2.6 kernel. Different beasts.
Just "make menuconfig" or "make xconfig", and make a new config file
|
|
|
05-10-2006, 05:15 PM
|
#5
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Original Poster
Rep:
|
Sorry. I did not make myself clear. I copied over .config then ran make menuconfig
|
|
|
05-10-2006, 05:19 PM
|
#6
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
The other usual cause for this is that you didn't compile in support for your hard disk drive (usually IDE support). Find out what IDE controller you use and make sure it is supported in Device Drivers > ATA/ATAPI/MFM/RLL. Or make sure the generic support is enabled.
|
|
|
05-10-2006, 05:38 PM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Original Poster
Rep:
|
Well I have SATA drives. Could that be the problem? SCSI disk support is in. Low level drives are as modules. My 2.4 kernel is the sata.s installlation kernel.
|
|
|
05-10-2006, 05:55 PM
|
#8
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Original Poster
Rep:
|
I have a result - of sorts
I added low level NVidia sata support and I have managed to boot to the command line.
The problem now is that the usb keyboard and mouse are not working. I presume this means back to menuconfig?
|
|
|
05-11-2006, 08:04 AM
|
#9
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Yeah, that sounds like you didn't include USB support for Human Interface Devices. It is in the top level of the USB tree.
|
|
|
05-11-2006, 05:07 PM
|
#10
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Original Poster
Rep:
|
Thanks to everyone that has helped me with this.
I had two more problems:
Compiling the NVidia driver. Searching LQ revealed that this needed patching.
Lack of sound. I had to compile ALSA into the kernel.
It is now working.
One more question. During this testing phase everytime I wanted to switch from 2.4 to 2.6 I had to re-install the nvidia drivers. Is there anyway of having the two sets co-existing on the system. Installin one lot uninstalls the others.
|
|
|
All times are GMT -5. The time now is 06:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|