LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-31-2007, 03:27 PM   #1
kadvar
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Arrow Slack on laptop--VFS: Cannot open root dev "303"


hi,
I recently bought an Acer Aspire 5570Z laptop and I decided to dual boot Slackware along with WindowsXP on it. The slackware install went fine and I installed it to /dev/hda3. I used the huge26.s kernel from the installation disc and used ReiserFS for my fs. Now when i boot into slackware through lilo on the bootscreen, the boot process goes by for a while and then I get this message:
Code:
VFS: Cannot open root dev "303" or unknown block(3,3).
Please append the correct "root=" boot option
Kernel Panic - not syncing 'VFS'
Unable to mount root fs on unknown-block(3,3)
I have used google and one suggestion that was given was to modify lilo.conf to point root to /dev/sda3 instead of hda3 as sata hard drives get recognized as sda under linux. This has not worked. Instead when I make changes to lilo.conf, recompile lilo and reboot, I get:
Code:
***********************************************************************************
Failed to open device '/dev/hda3'. no such device or address.
***********************************************************************************
An error has occured with the root filesystem check
You will now be given a chance to log into the system in single user mode and fix the problem.
************************************************************************************
###output of "fdisk -l" (after booting from boot cd)######
Code:
/dev/hda1   *	HPFS/NTFS	(my windows partition)
/dev/hda2  	Linux Swap
/dev/hda3	Linux		(my slackware installation)
*************
my lilo.conf
************
Code:
boot = /dev/hda


other=/dev/hda1
label=Windows
table=/dev/hda


 image = /boot/vmlinuz
 root = /dev/hda3
 label = Linux
 read-only
*************

Most of the other posts online with this problem are by people that have recompiled or upgraded their kernels. I have only used the stock 2.6 kernel provided in the slackware cd. it works wonderfully on my desktop.

Last edited by kadvar; 06-01-2007 at 01:35 PM.
 
Old 05-31-2007, 03:37 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Post your fstab, please.
 
Old 05-31-2007, 04:51 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Hi

You are booting hda3 as reiserfs, did you read about needing to make an initrd, on the boot cd. It looks as if lilo cannot find the filesystem because it has not loaded the reiserfs module.

Samac
 
Old 06-01-2007, 03:10 AM   #4
kadvar
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gnashley
Post your fstab, please.
Here's my fstab.
Code:
/dev/hda2       swap          swap         defaults    0    0
/dev/hda3       /             reiserfs     defaults     1    1
/dev/cdrom      /mnt/cdrom     auto        noauto,owner,ro    0    0
/dev/fd0        /mnt/floppy    auto        noauto,owner       0    0
devpts          /dev/pts       devpts      gid=5,mode=620     0    0
proc            /proc          proc        defaults

Last edited by kadvar; 06-01-2007 at 03:13 AM.
 
Old 06-01-2007, 03:30 AM   #5
kadvar
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by samac
Hi

You are booting hda3 as reiserfs, did you read about needing to make an initrd, on the boot cd. It looks as if lilo cannot find the filesystem because it has not loaded the reiserfs module.

Samac
hi,
but I cant even get the system to boot fully so that I can run the mkinitrd command. I have also not been able to install the kernel modules package provided on the cd because I cant get the system to boot. It just hangs with the kernel panic error i mentioned above. for the mkinitrd, I know i have to run
Code:
mkinitrd -c -k 2.16.13 -m reiserfs
but where do I type and execute this when the system does'nt even boot?

I suppose u need to make an initrd only if you are upgrading to a 2.6 kernel from an older kernel. I am directly selecting the huge26.s kernel from the slackware install cd itself so do i still need to make an initrd manually or does slackware do this for me automagically?
 
Old 06-01-2007, 10:59 AM   #6
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
iirc reiserfs support is included in the huge26.s kernel, so that is not the correct problem.

is your laptop HD SATA?

if so then your fstab and lilo.conf need to be changed to reflect this.

did you install with huge26.s (i.e. select if from the boot prompt of slackware install media) or just install huge26.s for your kernel during the install process.
 
Old 06-01-2007, 01:32 PM   #7
kadvar
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
ok problem solved but now another one in it's place

i simply changed all the entries in fstab from hda to sda and rebooted and the system booted into the huge26.s kernel Fine and i could log in and everything. i then installed the kernel-modules package for the 2.6.17.13 kernel from the slackware disc and then again rebooted and.... i get this:
Code:
hda_codec: Unknown model for ALC882,trying autoprobe from BIOS
firmware_class: exports duplicate symbol release_firmware (owned by kernel)
CS: IO port probe 0xc00-0xcff:excludes 0xcf8-0xcff
CS:IO port probe  0x820-0x8ff:clean
CS:IO port probe  0x800-0x80f:_
and it stops at that.. i googled around a bit and the hda_codec for ALC882 is a known problem on alsa for realtek soundcards on Acer laptops. i tried doing a removepkg on the alsa_drivers package so that i could atleast get the system to boot but that has'nt helped.

could anyone please provide me a few pointers on how i should go about trying to solve this?
 
Old 06-01-2007, 02:31 PM   #8
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
you might try:
Code:
#chmod -x /etc/rc.d/rc.alsa
but perhaps better would be (in lilo.conf)

append="noalsa"

which I think will prevent the alsa drivers from being loaded. hopefully that works..

if not another alternative is to upgrade the kernel, because it seems this might be fixed in newer kernels --> http://lwn.net/Articles/190305/, http://www.uwsg.indiana.edu/hypermai...05.2/1423.html

iirc huge26 is 2.6.17 ?

Last edited by bioe007; 06-01-2007 at 02:36 PM.
 
Old 06-02-2007, 05:20 AM   #9
kadvar
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bioe007
you might try:
Code:
#chmod -x /etc/rc.d/rc.alsa
but perhaps better would be (in lilo.conf)

append="noalsa"

which I think will prevent the alsa drivers from being loaded. hopefully that works..

if not another alternative is to upgrade the kernel, because it seems this might be fixed in newer kernels --> http://lwn.net/Articles/190305/, http://www.uwsg.indiana.edu/hypermai...05.2/1423.html

iirc huge26 is 2.6.17 ?
yep i think i'll go compile myself a new kernel, I did the noalsa thing but then up popped another error. I think i've some hardware in the laptop that just does'nt want to play nice with the present kernel.

and yes huge26.s is 2.6.17.13

Thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2.6.19: VFS: Cannot Open root device "sda1" or unknown-block(0,0) havok1977 Linux - Kernel 19 02-24-2021 12:35 AM
VFS: cannot open root device "sda3" or unknown-block (0,0) snakeo2 Linux - Newbie 10 07-05-2012 08:23 PM
Cannot open root device "303" or unknown-block(3,3) on SUSE 10.2 after update. mikesmithnova SUSE / openSUSE 7 05-08-2007 03:26 AM
VFS: Cannot open root device "805" or unknown-block(8,5) chameleonic Linux - Newbie 0 09-24-2006 03:34 PM
Kernel Panic:VFS: Cannot open root device "hda3" or 00:10 shivendnrab Linux - General 1 07-01-2004 03:08 AM

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

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