problem about boot
Just a guess... but did you remember to change the root=LABEL=/ entry in your bootloader file to root=/dev/hda2 (or whatever the root is on your system).
Rick
----- Original Message -----
From: "lky" <[email protected]>
Date: Wednesday, October 22, 2003 9:28 am
Subject: problem about boot
Quoted 12 lines
Hi,I installed 2.6-based SELinux (linux-2.6-2003100110.tgz) on Redhat9.0.But when I reboot with the initrd I got the kernel panic,as below:
-------------------------------------------------------------------
-----------------------
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 19 mounting ext3
pivotroot:pivot_root(/sysroot, /sysroot/initrd) failed : 2 umount /initrd/proc failed : 2
Quoted 9 lines
Freeing unused kernel memory : 232k freed
kernel panic : No init found . Try passing init = option to kernel
-------------------------------------------------------------------
-----------
The policy has been loaded before this. And I got the same result if I reboot the kernel with it's own initrd. So I think the initrd isn't the reason. Have I wrongly configured the kernel? Thanks!
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Why do I have to do this! I understand the mechanics of what is happening. I am just unclear as to why the SELinux kernel can't handle the label or why it doesn't install as /dev/hdxx or appropriate.
Quoted 3 lines · Richard Herbert Wanner
Just a guess... but did you remember to change the root=LABEL=/ entry in your bootloader file to root=/dev/hda2 (or whatever the root is on your system).
Signature · 10 lines
Nick Gray Senior Network Engineer Bruzenak Inc. [email protected] -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · Nick
Why do I have to do this! I understand the mechanics of what is happening. I am just unclear as to why the SELinux kernel can't handle the label or why it doesn't install as
/dev/hdxxor appropriate.
It isn't a kernel issue; it is an initrd issue. You can boot with root=LABEL=/ with SELinux if you are using an initrd.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.