LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-07-2008, 05:27 AM   #1
shivaraj.shetty
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
Question 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.
 
Old 04-11-2008, 06:19 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 305

Rep: Reputation: 42
I'd say there is an error in your menu.lst or in your /etc/fstab. Feel free to post both.
 
Old 04-14-2008, 03:05 AM   #3
shivaraj.shetty
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy 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_ubject_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_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_ubject_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_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
 
Old 04-14-2008, 01:44 PM   #4
cjcox
Member
 
Registered: Jun 2004
Posts: 305

Rep: Reputation: 42
Try adding selinux=0 to the boot line and boot like you did on the last set you posted.
 
Old 04-15-2008, 03:11 AM   #5
shivaraj.shetty
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

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!!
 
  


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
How to find Physical Volumes associated with a Logical Volume Group mghiya Programming 3 09-27-2013 08:59 AM
Volume group "VolGroup00" not found tornado_11 Linux - General 21 02-11-2010 01:12 PM
Booting Problem "VolGroup00" vwtech Fedora 4 04-27-2008 07:45 PM
Logical Volume Management "pvmove" Question jamida Linux - Software 1 02-23-2008 10:56 AM
(URGENT) Fedora Core 6 - Could not find logical volume "VolGroup00" linxnoob Linux - General 3 07-07-2007 06:36 AM


All times are GMT -5. The time now is 06:43 AM.

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