Getting Fedora to work - SELinux
sport
sport-light at sbcglobal.net
Sat Nov 25 19:46:06 UTC 2006
Are you sure you can put swap space on LVM? I have never done it, and
think it may be a bad idea anyway. You want the fastest partition or
partitions to be swap, and usually I put it on a primary partition.
Also, you can shut off selinux by passing the kernel parameter selinux=0
I don't know off hand how to pass kernel parameters to an installation
kernel, but I'm pretty sure it can be done. In fact I had to do it once
to shut off the apic with noapic, I just don't remember how I did it.
The kernel parameters how to will tell you though. That's not the exact
name, but it's something like that.
good luck
On Sat, 2006-11-25 at 10:37 -0700, Craig White wrote:
> On Sat, 2006-11-25 at 09:53 -0600, Michael Satterwhite wrote:
> > Michael Satterwhite wrote:
> > > Aaron Konstam wrote:
> > >> On Sat, 2006-11-25 at 08:43 -0600, Michael Satterwhite wrote:
> > >>> Rikke D. Giles wrote:
> > >>>> On 11/24/2006 08:42:49 PM, Michael Satterwhite wrote:
> > >>>>> That said, my install runs through the point that it tries to boot. It
> > >>>>> reaches the point that it says:
> > >>>>>
> > >>>>> Mounting local filesyste [Failed]
> > >>>>> Enabling local filesystem quotas [OK]
> > >>>>> Enabling /etc/fstab swaps
> > >>>>>
> > >>>>> At this point, the boot hangs and goes no further. I've noted that
> > >>>>> other
> > >>>>> people have reported the same problem.
> > >>>> Hey Michael,
> > >>>>
> > >>>> Did you turn off SE linux? Hmm, or maybe it's enabled by default until
> > >>>> you hit the first boot sequence. Anyway, that could be a problem, it
> > >>>> might not be recognizing your drives because its not familiar with the
> > >>>> labels given (via Kubuntu or whatever).
> > >>> No, I didn't. Actually, I don't remember a prompt that asked me about SE
> > >>> Linux.
> > >>>
> > >> The problem is that it is called SELINUX (the cr was unfortunate) and
> > >> you are asked whether you want to use it during the install. If you are
> > >> having install and boot problems I would disable it. At first, at least.
> >
> > I just read a review of FC6 available today on Linux Today. The review
> > says that SELinux is enabled by default and can't be turned off until
> > after the installation is complete. This would coincide with my memory
> > of not being prompted about SELinux during installation. If the article
> > interests you, it's at
> >
> > http://www.enterprisenetworkingplanet.com/netos/article.php/3645261
> ----
> yeah, firstboot allows you to turn it off but that doesn't take effect
> until you restart again.
>
> I would doubt that your problem has anything to do with SELinux or NTP
> (that was simply a wild guess by Anne).
>
> The failure you list above would appear to be struggling with trying to
> activate the swap memory and I have no idea what chose in manual
> configuration but normally, a swap partition is automatically created in
> the partition druid portion of the installer (anaconda) and by default,
> the druid would create a boot partition and a single LVM partition which
> would be sub partitioned into a swap and a single partition for
> everything else like this...
>
> # fdisk -l /dev/hda
>
> Disk /dev/hda: 203.9 GB, 203928109056 bytes
> 255 heads, 63 sectors/track, 24792 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 13 104391 83 Linux
> /dev/hda2 14 24792 199037317+ 8e Linux LVM
>
> and then checking fstab...
> # cat /etc/fstab
> /dev/VolGroup00/LogVol00 / ext3 defaults
> 1 1
> LABEL=/boot /boot ext3 defaults
> 1 2
> devpts /dev/pts devpts gid=5,mode=620
> 0 0
> tmpfs /dev/shm tmpfs defaults
> 0 0
> proc /proc proc defaults
> 0 0
> sysfs /sys sysfs defaults
> 0 0
> /dev/VolGroup00/LogVol01 swap swap defaults
> 0 0
>
> Anyway, whatever is listed as swap memory in /etc/fstab doesn't appear
> to actually be available when you tried to boot.
>
> If you want, you could boot with the following parameters passed at
> boot...
>
> linux rescue
>
> then once booted, you can change your chroot...
>
> chroot /mnt/sysimage
>
> and then finally get what is listed in /etc/fstab so you can check if
> such a partition exists for swap.
>
> You can 'display' LVM volumes (but I gather you didn't use LVM) with the
> command...
>
> lvdisplay
>
> Craig
>
More information about the users
mailing list