[CentOS] serial console oddities with CentOS Linux release 6.0 (Final)

2011-11-20 Thread Dennis Clarke

It seems as if /etc/inittab has undergone some changes. That doesn't seem
to be related to my issues however. I am able to setup the grub.conf (
menu.lst if you like ) to use the serial console ttyS0 at 9600 baud and
the usual bits.

However I can not actually see the GRUB menu at boot time. I see nothing
until the server begins to boot and then I can see everything. However the
grub menu is absent entirely.

My config looks like so :

# grep -v ^# /boot/grub/grub.conf
default=0
timeout=30
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal -timeout=30 serial console
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro
root=UUID=2396ae8a-7eaa-4690-8701-10fb1b604e21 rd_NO_LUKS
rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
crashkernel=auto rhgb console=tty0 console=ttyS0,9600n8
initrd /initramfs-2.6.32-71.el6.x86_64.img


Everything runs fine, however the GRUB menu is no where to be seen at boot
time. Any ideas ?

Dennis



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindexsearch=0x1D936C72FA35B44B
+-+---+
| Dennis Clarke   | Solaris and Linux and Open Source |
| dcla...@blastwave.org   | Respect for open standards.   |
+-+---+

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] not using LVM for Linux VM guests?

2011-11-20 Thread Smithies, Russell
Nope, doesn't work for me still.
It's the root partition I'm trying to resize so if I delete then recreate to 
larger size, partprobe still fails then if I reboot it won't start as it can't 
find the root partition.
As Barry suggested, I don't think you can reread the root partition.

--Russell

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of James A. Peltier
 Sent: Friday, 18 November 2011 6:29 p.m.
 To: CentOS mailing list
 Subject: Re: [CentOS] not using LVM for Linux VM guests?
 
 - Original Message -
 |  I've tried that, it returns a warning about kernel unable to reread
 |  partition table and requiring a reboot to see any modifications.
 |  Then the next call to pvcreate fails as it can't find the partition.
 | 
 |  --Russell
 | 
 |  -Original Message-
 |  From: centos-boun...@centos.org [mailto:centos-
 boun...@centos.org]
 |  On
 |  Behalf Of Barry Brimer
 |  Sent: Friday, 18 November 2011 11:13 a.m.
 |  To: CentOS mailing list
 |  Subject: Re: [CentOS] not using LVM for Linux VM guests?
 | 
 |  Quoting Smithies, Russell russell.smith...@agresearch.co.nz:
 | 
 |  Perhaps I'm doing it wrong then.
 | 
 |  1). In Vmware, extend the existing disk by changing the
 |  provisioned size in the vSphere client.
 |  2). In Centos, create an additional partition with fdisk, 3).
 |  Somehow
 |  reread the partition table without rebooting??
 |  4). pvcreate
 |  5). vgextend
 |  6). lvextend
 |  7). resize2fs
 | 
 |  What I find is that without a reboot, the OS doesn't see the
 |  partition so can't pvcreate etc.
 | 
 |  --Russell
 |
 | I don't believe partprobe works when you change the partitiontable of
 | the disk that the root filesystem is on. I could be remembering it
 | wrong.
 |
 | Barry
 
 It does but it (the new size) is not recognized until you delete the 
 partition,
 recreate it with the new size, then run partprobe again, then resize the file
 system.  It's worked for me in the past.
 
 --
 James A. Peltier
 IT Services - Research Computing Group
 Simon Fraser University - Burnaby Campus
 Phone   : 778-782-6573
 Fax : 778-782-3045
 E-Mail  : jpelt...@sfu.ca
 Website : http://www.sfu.ca/itservices
   http://blogs.sfu.ca/people/jpeltier
 I will do the best I can with the talent I have
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Setting up a Virtual Machine

2011-11-20 Thread John J. Boyer
I have CentOS 5.7. How would I go about setting up a virtual machine so 
as to run another Linux distro on top of it? Specifically Scientific 
Linux or Vinux, a special distro for blind users. I will be using the 
latter to test my BrailelBlaster software with gtk and the Orca 
screenreader. Will I have to assign memory to the VM permanently?

Thanks,
John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a Virtual Machine

2011-11-20 Thread John R Pierce
On 11/20/11 2:45 PM, John J. Boyer wrote:
 I have CentOS 5.7. How would I go about setting up a virtual machine so
 as to run another Linux distro on top of it? Specifically Scientific
 Linux or Vinux, a special distro for blind users. I will be using the
 latter to test my BrailelBlaster software with gtk and the Orca
 screenreader. Will I have to assign memory to the VM permanently?

imho, the easiest way to do this would be to install VirtualBox.  the 
memory assigned to the VM is only in use when the VM is active, you can 
'standby' a virtualbox and it releases all its resources, then resume it 
at another time.




-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] serial console oddities with CentOS Linux release 6.0 (Final)

2011-11-20 Thread Tru Huynh
On Sun, Nov 20, 2011 at 02:13:13PM -0500, Dennis Clarke wrote:
 

 However I can not actually see the GRUB menu at boot time. I see nothing
 until the server begins to boot and then I can see everything. However the
 grub menu is absent entirely.
 
 My config looks like so :
 
..
 serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
 terminal -timeout=30 serial console
put these two lines at the beginning and fix the --timeout typo :)

This config works for me:
cut
serial --unit=0 --speed=38400
terminal --timeout=10 serial console
default=0
timeout=5

title CentOS Linux (2.6.32-71.29.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.29.1.el6.x86_64 ro 
root=/dev/mapper/vg_c6-lv_root rd_LVM_LV=vg_c6/lv_root rd_LVM_LV=vg_c6/lv_swap 
rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 
KEYBOARDTYPE=pc KEYTABLE=us nomodeset crashkernel=auto rhgb quiet console=tty0 
console=ttyS0,38400n
initrd /initramfs-2.6.32-71.29.1.el6.x86_64.img
/cut

Cheers,

Tru

-- 
Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgp4zTpN0vC25.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] build postfix spec w/ mysql

2011-11-20 Thread Christopher Chan
On Sunday, November 20, 2011 02:11 AM, Tim Dunphy wrote:
 hello list!

 I am attempting to build an rpm of postfix that includes support for mysql. 
 I've done this before with earlier versions on postfix but I am staring at 
 this spec file until my eyes bleed and I just don't see why when I build the 
 spec with rpmbuild mysql support isn't there.

   After I install the rpm I have a look at the modules as such:
ldd $(which postfix) | grep -i mysql

   and nothing's there.

   I was hoping someone out there might not mind having a look at the spec 
 file and let me know what I'm missing.


I thought there was a postfix package with mysql enabled in the plus repo?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a Virtual Machine

2011-11-20 Thread John J. Boyer
On Sun, Nov 20, 2011 at 02:54:34PM -0800, John R Pierce wrote:

 imho, the easiest way to do this would be to install VirtualBox.

So I tried to install the latest version of VirtualBox from 
virtualbox.org It turned out that it deleted a previous version, which I 
suppose was provided with CentOS and then couldn't install itself. The 
error lmessage said it could not find the kernel source. What should I 
do now?

John

 memory assigned to the VM is only in use when the VM is active, you can 
 'standby' a virtualbox and it releases all its resources, then resume it 
 at another time.
 
 
 
 
 -- 
 john r pierceN 37, W 122
 santa cruz ca mid-left coast
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a Virtual Machine

2011-11-20 Thread Reindl Harald


Am 21.11.2011 02:29, schrieb John J. Boyer:
 On Sun, Nov 20, 2011 at 02:54:34PM -0800, John R Pierce wrote:
 
 imho, the easiest way to do this would be to install VirtualBox.
 
 So I tried to install the latest version of VirtualBox from 
 virtualbox.org It turned out that it deleted a previous version, which I 
 suppose was provided with CentOS and then couldn't install itself. The 
 error lmessage said it could not find the kernel source. What should I 
 do now?

yum install kernel-headers kernel-devel
such software needs usually to compile kernel-modules



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a Virtual Machine

2011-11-20 Thread Trey Dockendorf
On Sun, Nov 20, 2011 at 7:29 PM, John J. Boyer john.bo...@abilitiessoft.com
 wrote:

 On Sun, Nov 20, 2011 at 02:54:34PM -0800, John R Pierce wrote:

  imho, the easiest way to do this would be to install VirtualBox.

 So I tried to install the latest version of VirtualBox from
 virtualbox.org It turned out that it deleted a previous version, which I
 suppose was provided with CentOS and then couldn't install itself. The
 error lmessage said it could not find the kernel source. What should I
 do now?

 John

  memory assigned to the VM is only in use when the VM is active, you can
  'standby' a virtualbox and it releases all its resources, then resume it
  at another time.
 
 
 
 
  --
  john r pierceN 37, W 122
  santa cruz ca mid-left coast
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos

 --
 John J. Boyer; President, Chief Software Developer
 Abilitiessoft, Inc.
 http://www.abilitiessoft.com
 Madison, Wisconsin USA
 Developing software for people with disabilities

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


For Virtualbox this article may be helpful,
http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a Virtual Machine

2011-11-20 Thread John J. Boyer
On Mon, Nov 21, 2011 at 02:32:18AM +0100, Reindl Harald wrote:
 
 yum install kernel-headers kernel-devel
 such software needs usually to compile kernel-modules
Both packages are already installed.

John

 



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 2 network card setup

2011-11-20 Thread Johan Vermeulen
Dear all,

I have a question regarding 2 network card setup, when e.g. using dhcp.

Until a few months ago, I worked with OpenSuse. There in firewall 
config, you had to assign each NIC to a zone,
either internal, external, DMZ or custom.

Without it not much would work.

I don't seen anything on CentOs in firewall config.

So how does this work in CentOs?

greetings, James

-- 
Johan Vermeulen
IT-medewerker
Caw De Kempen
johan.vermeu...@cawdekempen.be
0479.82.01.41

Opensource Software is the future.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 network card setup

2011-11-20 Thread Fajar Priyanto
On Mon, Nov 21, 2011 at 1:39 PM, Johan Vermeulen
jvermeu...@cawdekempen.be wrote:
 Until a few months ago, I worked with OpenSuse. There in firewall
 config, you had to assign each NIC to a zone,
 either internal, external, DMZ or custom.

 Without it not much would work.

 I don't seen anything on CentOs in firewall config.

 So how does this work in CentOs?

In Centos the standard firewall settings are basic. Don't worry about
setting up zones, etc.
Unless you do want that setting.
What are you going to do with 2 network card? As gateway?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos