Deleting extra kernel in Virtual Machine

vanDivX

Guru
Joined
Aug 20, 2009
Messages
110
Reaction score
0
hi, I have installed PIAF in VMWare and followed the 'choppy sound elimination' advice which makes you install second kernel. http://pbxinaflash.com/vm/

In closing there is this advice to choose the installed kernel:

" After you reboot your system, be sure to choose the 2.6.18-53.1.4.el5 kernel when prompted. "

That's all nice and peachy, however I'd have to choose it every single time I reboot, I'd like to know if its safe to edit the line for the other (original) kernel 'away'. It defaults to it, not to the new kernel I just installed and which I want to use from now on. Or maybe how to change their booting order.

I select the original kernel and press 'e' and then I get three lines there to edit (root... kernel... initrd... ). Should I just delete all three of them?

I am just monkey with linux (following the lines to type out) and don't want to lock myself out of booting this VM

I did delete them but have no idea how to save the changes before proceeding with booting, the commands given there as help miss the most important command how to save your changes DOH.


---------------------

I have another question: is it safe to Suspend the VM instead of shutting it down (shutdown -h now)? Suspending would make life simpler when the time comes that PC should be rebooted. I normally suspend my winXP VMs and that's just fine but I am not sure when it comes to PIAF VM.

And still another - I did this VMWare install to make new start and get my remote SIP extensions back to having voice heard on them but no such luck. Why-oh-why is it still such a finicky thing in the third millenium, WHY WHY WHY (no answer from the sky as expected) LOL

I did install Gold PIAF 1.7.5.5 in this VMachine and expected this fault to go away, I used to have them work just fine some time back but not for the last half a year and next week I expect shipment of ten Nortel SIP phones about which everybody talks these days and they will be just heap of crap for me if I can't fix voice on SIP lines...

I do have forwarded SIP RTP 10000-20000 to Piaf and in FPBX I select Dynamic IP in SIP Security section (I have dyndns - FQDN) but I don't get voice even if I input my numeric IP (I suppose with this FPBX one is not supposed to add the lines to sip_custom.conf (externip= localhost= ...) )
 
Kernel question:
1) Either uninstall the kernels you dont want and it'll automatically edit grub.conf
or
2) Edit /boot/grub/grub.conf and delete the entries you don't want
or
3) Edit /boot/grub/grub.conf and change the default to the kernel you want to automatically boot. They start at 0 and go down so to boot the 2nd kernel then you'd change the default to 1.
 
Thanks, I'll edit the grub.conf file and change the default.

I changed default from 1 to zero as you see below since I want the first kernel (2.6.18-53.1.4.el5vm) to boot, tested and it works like a charm
:) thanks a bunch again, bit by bit I will learn how to do things. Too late I've seen the sticky thread 'Read before posting' ;) anyway this way others may benefit from this thread.

------------------------------------------
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.4.el5vm)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.1.4.el5vm ro root=LABEL=/
initrd /initrd-2.6.18-53.1.4.el5vm.img
title CentOS (2.6.18-194.8.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.8.1.el5 ro root=LABEL=/
initrd /initrd-2.6.18-194.8.1.el5.img

------------------------------------------

However I am somewhat doubtful that PIAF works correctly in VMWare. Is anybody out there who actually runs PIAF in VMWare successfully? I mean with some more complex setup than just plainest of the plain.
 
I have been running PIAF in VMWare server for a long time and have had no problems. What you having trouble with?
 

Members online

Forum statistics

Threads
26,687
Messages
174,409
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top