kernel not detecting partitions

Submitted by Anonymous
on March 17, 2009 - 3:12pm

Hi,

I am compiling kernel 2.6.28 which I tried to strip as much as I could except for necessary things. Now, when I boot up, mount /proc, the file /proc/partitions is empty (contains only the header). Does anyone know what I might have disabled so that my kernel doesn't detect partitions correctly?

Thanks in advance!

Dr. Eddy

Re:kernel not detecting partitions

srinivas kandagatla
on
March 17, 2009 - 4:27pm

Hi Eddy,
Probably you are missing sysfs mount.
All the information in /proc/partitions is pulled up from sys/block/... directory
Rgrds
srini

You are right, I am not

Dr. Eddy (not verified)
on
March 18, 2009 - 6:44am

You are right, I am not mounting sysfs.

I thought it wasn't necessary, since some guy on IRC told me it's not needed.
Anyway, I'll try that out!

Thanks!

Dr. Eddy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.