LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   2 logical Volumes in volume group "VolGroup00" now active (http://www.linuxquestions.org/questions/linux-kernel-70/2-logical-volumes-in-volume-group-volgroup00-now-active-633607/)

shivaraj.shetty 04-07-2008 05:27 AM

2 logical Volumes in volume group "VolGroup00" now active
 
Hi,
I compiled a linux kernel version 2.6.24 with the old configurations by make oldconfig and installed. After that Vmlinuz & System.map files are automatically generated in the /boot directory but not the .config file. I modified the grub.conf and menu.lst file by updating with my kernel details. After rebooting, the messages what I see on the monitor are as below.

2 logical volume(s) in Volume Group"VolGroup00" now active.
file descriptor 3 left open
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount/initrd/dev failed: 2
kernel panic - not syncing: attempted kill init


The above messages are seen while booting. can you please suggest me how to overcome these problems. I will be greatful to you.

Thanks in advance.

cjcox 04-11-2008 06:19 PM

I'd say there is an error in your menu.lst or in your /etc/fstab. Feel free to post both.

shivaraj.shetty 04-14-2008 03:05 AM

Enforcing mode requested but no policy loaded. Halting now.
 
The menu.lst file is as follows.

default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-5.EL)
root (hd1,0)
kernel /vmlinuz-2.6.9-5.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-5.EL.img
title SBS Linux (2.6.24)
root (hd1,0)
kernel /vmlinuz-2.6.24 ro root=/dev/VolGroup00/LogVol00 enforcing =0
initrd /initrd-2.6.24.img


The /etc/fstab file is as follows.


# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0


I changed the VolGroup01 to # This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

The messages what I can see on the screen while booting are as follows.



2 logical volume(s) in volume group VolGroup00 now active
lvm used greatest stack depth: 6612 bytes left
Making device nodes
file descriptor 3 left open
Creating root file system
kjournald starting. Commit interval 5 seconds.
EXT3 -fs: mounted file system with ordered data mode
Switching to new root:
audit(1208173566.080.2) enforcing = 1 old_enforcing = 0 auid = 4294967295
input:ImPS/2 Generic wheel mouse as Class/input/input0
input:ImPS/2 Generic wheel mouse as Class/input/input1
Enforcing mode requested but no policy loaded. Halting now.
Kernel Panic- not syncing: Attempted to kill init!

Please suggest me to go ahead.

Thanking you,
Shivaraj B Shetty

cjcox 04-14-2008 01:44 PM

Try adding selinux=0 to the boot line and boot like you did on the last set you posted.

shivaraj.shetty 04-15-2008 03:11 AM

Hi cjcox,

I edited the /etc/selinux/config file by changing the SELINUX = enforcing to SELINUX = permissive. Now its booting fine. Thanks for the suggestion.

Hurrah!!


All times are GMT -5. The time now is 05:24 AM.