LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-03-2006, 07:56 AM   #1
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Rep: Reputation: 15
not able to mount root partition upon boot


I compiled and installed kernel 2.6 and the modules according to all the readme's, but during the boot process I got the following message:
mount: mounting /dev/sda9 on /mnt failed: No such device or address
ERROR: mount returned error code 1. Trouble ahead.
mount: mounting /dev/sda9 on /mnt failed: Invalid argument
/boot/initrd.gz: exiting

I can't figure out what can cause this problem.
Filesystem support was compiled in the kernel (as well as Sata controller drivers). I didn't find any reference to (module) jbd in the menuconfig options which seems to be necessary for a ext3 filesystem, except for debugging support which I don't use. The file load_kernel_modules in the boot directory was empty except for some comment lines. Do I have to fill this file manually?


Here is a condensed version of my fstab:
/dev/hda5 /__NTFS_DATA ntfs
/dev/hda6 /__NTFS_GAMES ntfs
/dev/sda9 / ext3
/dev/sda10 /var ext3
/dev/sda11 /tmp ext3
/dev/sda12 /opt ext3
/dev/sda13 /home ext3
/dev/sda3 /boot ext3
 
Old 11-03-2006, 11:21 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Just a guess, did you follow "Slackware initrd mini HOWTO" for 2.6 kernels using ext3 partitions?

http://slackware.cs.utah.edu/pub/sla.../README.initrd
 
Old 11-03-2006, 12:51 PM   #3
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Rep: Reputation: 15
another guess

seems like you know this, but you also have to edit lilo.conf and run /sbin/lilo after you make your initrd.

You could try just re-making the initrd (it will replace the old initrd.gz with a new one)
 
Old 11-03-2006, 01:21 PM   #4
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Original Poster
Rep: Reputation: 15
I followed the README in the boot directory, which is the same as the mini howto.
This is my lilo.conf (and I ran lilo after making changes)

boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x32k
vga = 790
other = /dev/sda1
label = Windows
table = /dev/sda
image = /boot/vmlinuz
initrd = /boot/initrd.gz
root = /dev/sda9
label = Linux
read-only

I didn't place lilo in the MBR, but in the root section. Could that make any difference? (sda1 is the first bootable NTFS partition, sda9 the root partition which is a logical partition).
As I also said that the file load_kernel_modules is empty, is that normal and if not how does it get filled with modules?

Last edited by Kristian2; 11-03-2006 at 01:25 PM.
 
  


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
booted from CD, cant mount root partition frankie_DJ Linux - Newbie 1 08-26-2006 08:29 PM
8.0->8.1 upgrade results in failer to mount root partition dguy Slackware 5 05-04-2005 06:17 AM
Can't mount windows partition in suse w/o root Mlehliw Linux - Newbie 2 08-08-2004 06:32 AM
Slackware 10.0 bare.i won't mount root partition PeteRossi Slackware - Installation 6 07-14-2004 01:14 PM
How do I mount root partition? Xswitch Linux - General 4 07-19-2003 05:30 PM


All times are GMT -5. The time now is 04:15 AM.

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