Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warning: '/proc/partitions' does not match '/dev' directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Azmodan
n00b
n00b


Joined: 25 Jan 2004
Posts: 18

PostPosted: Mon Jan 26, 2004 6:35 pm    Post subject: Warning: '/proc/partitions' does not match '/dev' directory Reply with quote

When running /sbin/lilo I get the following error :

Quote:
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/ide/host0/bus1/target0/lun0/disc' -> '/dev/hda'
The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted
as a kernel command-line boot parameter; hence, the '/dev' directory
structure does not reflect DEVFS_FS device names.


I found this post on the topic that suggest :

Quote:
After the line that says
root = /dev/hda3

add a new line that says
append = "devfs=mount"


The poster lilo.conf was

Code:
image = /boot/kernel-2.4.20-gentoo-r7
root = /dev/hda3
#root = /devices/discs/disc0/part3
label = Gentoo
read-only # read-only for checking


Mine is the standard recent genkernel one :

Code:
# For recent genkernel users
image=/boot/kernel-2.4.22
  label=gentoo
  read-only
  root=/dev/ram0
  append="init=/linuxrc real_root=/dev/hda3"
  initrd=/boot/initrd-2.4.22


So I tried to add append = "devfs=mount" after the line that say root=/dev/ram0 but i got the same error when re-running /sbin/lilo. I also tried to add it to my existing append line and got the same error.
_________________
In GPL we trust.
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Mon Jan 26, 2004 6:45 pm    Post subject: Reply with quote

I think in something like 'devfs=mount' mount would refer to the mount point...such as 'devfs=/dev'...not real sure...never saw that error before so give that a shot and see if it works...add it to your append line.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
Azmodan
n00b
n00b


Joined: 25 Jan 2004
Posts: 18

PostPosted: Mon Jan 26, 2004 6:49 pm    Post subject: Reply with quote

Didn't worked....
_________________
In GPL we trust.
Back to top
View user's profile Send private message
Azmodan
n00b
n00b


Joined: 25 Jan 2004
Posts: 18

PostPosted: Mon Jan 26, 2004 6:56 pm    Post subject: Reply with quote

I performed a search on google. This error seems to only happen to Debian users. Weird.

Basically, it seems that mean that devfs was compiled in the kernel but unused. It can be safely ignored.

I don't know exactly what is in my kernel since I used genkernel but I will follow the advice and ignore it.

Let's hope the remaining of the install process will work.
_________________
In GPL we trust.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue Aug 17, 2004 7:31 am    Post subject: Reply with quote

Duplicate of https://forums.gentoo.org/viewtopic.php?t=133403
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum