LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2005, 04:51 PM   #1
tgo
Member
 
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
2.6 install issues


I reinstalled slackware last night on my laptop to get a fresh install. Before I reinstalled last night I had tried many times and using many differnet methods I found on google. Every method I tried it said it worked but everytime I am getting the same error message when I try to boot it.
I get:

VFS: Cannot open root device "301" or unknown block (3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (3,1)

So i tried to install with the fresh install using this guide:

http://www.linuxquestions.org/questions/answers/487

and of course it said it worked fine and then when i boot i get that error

I really have no idea and I think it has to be one or two things off the same everytime as using installpkg and installing from source both give the same error.
 
Old 07-24-2005, 05:03 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Did you make Step 4 and 5 correctly? It seems the kernel can't recognize your filesystem.
 
Old 07-24-2005, 05:06 PM   #3
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
well the only real question i had with 4 was

mkinitrd -c -k 2.6.11.9 -m reiserfs

and he said:

Since I'm running an IDE system with reiserfs, the only thing I need initrd to load is the reiserfs modules

I googled and it seemed like reiserfs would be what to use for the -m switch, but I am not even sure whats reisefrs is so maybe I messed up there. Do most computers use reiserfs or what are the other options? the man page for mkinitrd had its only example with it too so I assumed it was that.

for step 5 i had lilo just like it should be i checked that a few times, so maybe 4 is where i messed up.
 
Old 07-24-2005, 06:35 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
reiserfs is a file system, it's the way your data is organized inside a partition. I don't remember the default for Slackware, but usually it's a ext2, ext3 or reiserfs partition. Try putting the other two modules in your mkinitrd (I think you've to separate the module names with a ":" ).
Also make sure the -k option in mkinitrd matches your kernel number.

About step 5, you could've forgotten to add the initrd= parameter, that's why I told you to check it.

A more advanced command would be:
mkinitrd -c -k 2.6.11.9 -m reiserfs -f reiserfs -r /dev/hdb1

That tolds to use that module for hdb1.

Also if it's ext3 add the jdb module as stated on that page.

Last edited by gbonvehi; 07-24-2005 at 06:39 PM.
 
Old 07-24-2005, 08:07 PM   #5
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
I did:

mkinitrd -c -k 2.6.10 -m ext2 -f ext2 -r /dev/hda1

and it said:

WARNING Couldnt not find module for "ext2"

so i did the same but took the -m option off

it seemed to work and i edited again lilo like he had it in his guide

so then i booted the 2.6 and it is said:

VFS : Mounted root (ext2 filesystem)

but the next lines right after that said:

mount: Mounting /dev/hda1 on /mnt failed: No such device or address
ERROR: mount returned code 1. Trouble ahead.
mount: Mounting /dev/hda1 on /mnt failed: Invalid Arguement
mount: Mounting /dev/hda1 on /mnt failed: Invalid Arguement
/boot/initrd.gz: exiting
pivot_root: pivot_root: Device or resource busy
Freeing unused kernel memory: 164k freed

then it brings me a prompt

so unless this error was caused by me excluding the -m option which errored when i used it i am not sure.
 
Old 07-25-2005, 12:02 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Check in your /etc/fstab which kind of filesystem you've in root.
 
Old 07-25-2005, 02:58 PM   #7
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
well since it wont properly boot i just used the slack 1 cd and booted with that and did

mkdir /a
mount /dev/hda1 /a

so inside of fstab is just 2 lines but they are:

/dev/fd2 / ext2 defaults 1 1
proc /proc proc deaults 0 0

which isnt helpful at all but since i cant boot i cant see my old one.


EDIT:

I reinstalled slack and use ext3 and then did used the method in that guide for ext3 and I got the same exact error message as before.

Last edited by tgo; 07-25-2005 at 06:25 PM.
 
Old 07-25-2005, 08:39 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Maybe it's the IDE controller driver then.
Paste the output of: /sbin/lspci
 
Old 07-25-2005, 08:50 PM   #9
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
Well i did another install as ext2 and havent tried the new kernel yet so here is the output:

00:00.0 Host bridge: Intel Corp.: Unknown device 2590 (rev 03)
00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2592 (rev 03)
00:02.1 Display controller: Intel Corp.: Unknown device 2792 (rev 03)
00:1d.0 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.1 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.2 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.3 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.7 USB Controller: Intel Corp. I/O Controller Hub USB2 (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corp. I/O Controller Hub Audio (rev 03)
00:1e.3 Modem: Intel Corp. I/O Controller Hub Modem (rev 03)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 2641 (rev 03)
00:1f.2 IDE interface: Intel Corp.: Unknown device 2653 (rev 03)
00:1f.3 SMBus: Intel Corp. I/O Controller Hub SMBus (rev 03)
03:00.0 Ethernet controller: Broadcom Corporation: Unknown device 170c (rev 02)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
03:01.2 Class 0805: Ricoh Co Ltd: Unknown device 0822 (rev 17)
03:03.0 Network controller: Broadcom Corporation: Unknown device 4324 (rev 03)


I know you said it was probally only the ide but i figured i would paste everythng here. I see it says the ide interface is unknown.

Hopefully you can gather something from this.

And thanks for all yoru help on this thread.
 
Old 07-26-2005, 03:27 PM   #10
cyanidebm
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Hello,

I just recently installed Slackware 10.1 on my new i9300, remember having problems after I upgraded to 2.6. Initial kernel used drivers where the HD was /dev/hdx, but with 2.6 it was now a /dev/sdx. I had to edit fstab and modify lilo a bit but now its working. May need to mount the disc once you boot off slackware disc then modify fstab?

Good luck,

-cyanidebm
 
Old 07-26-2005, 06:37 PM   #11
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
ok well i mounted the hda2 (my hda1 is windows) from initrd-tree so basiclly /boot/initrd-tree/dev/hda2

and fstab looked the same as the one that works in 2.4.

Is this the only place I could view the fstab that will load when 2.6 is booted? If not where did you mean for me to edit it.

EDIT:

ok I followed the directions exactly like:

http://www.linuxquestions.org/questions/answers/408

and after the first try I got the same error as always saying vfs cant sync

and now after the second it did the same thing

I have got this same error countless times now so if I could just figure out what the problem is I would be fine.

I have have tried ext2 many times and ext3 twice and still get the same error .

Last edited by tgo; 07-26-2005 at 10:38 PM.
 
Old 07-26-2005, 11:12 PM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
So, are you compiling your own kernel? I thought you were using 2.6 from Slackware CD 2. Take a look at your mother manual (or a reference in Internet) and see that you're adding correct modules in Linux kernel. Try making the built-in (not as module) so you won't need a initrd disk.
 
Old 07-26-2005, 11:29 PM   #13
tgo
Member
 
Registered: Dec 2004
Posts: 125

Original Poster
Rep: Reputation: 15
Ive done both ways and its just strange that no matter if i compile with installpkg or on my own i wind up with the same error.
 
Old 07-27-2005, 12:01 AM   #14
cyanidebm
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
slackware/2.6/laptop issues cont'd

What I was trying to explain, when I switched to 2.6, the driver used to detect my HD changed, and in doing so instead of being hda anymore it became sda. Took me a couple times to realize this, had to recompile the kernel to get the new driver in as well. What laptop do you have? Your lspci resembles mine quite a bit.

I then had to change fstab entries for /dev/hdax to /dev/sdax :

/dev/sda4 swap swap defaults 0 0
/dev/sda3 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 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 0 0
none /sys sysfs defaults 0 0

Also had to change lilo.conf root values to point to boot = /dev/sdax :

image = /boot/vmlinuz-2.6.12.2
root = /dev/sda3
label = Linux-2.6.12.2
read-only

Good luck,

-cyanidebm
 
  


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
Serious install issues... crazycraven Linux - Software 2 09-18-2005 04:51 PM
10.1 install issues ktambascio Mandriva 1 12-18-2004 08:09 PM
9.2 install issues chrism Linux - Newbie 8 04-11-2004 07:04 PM
Install Issues kencyber VectorLinux 4 11-15-2003 09:02 PM
9.1 install issues sebvad Mandriva 2 09-10-2003 07:13 AM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration