FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 06-30-2010, 01:14 PM
Kaushal Shriyan
 
Default Ubuntu Server: Kernel Configuration Considerations

Hi,

The issue is that we have built ubuntu using kickstart/tftp/pxe image
on all the 300 servers. The issue is with the pxe server. We found out
that the running Kernel on all the ubuntu hosts are 2.6.24-16-generic
and not 2.6.24-16-server.

Please suggest me whats the best way to set it to correctly to
2.6.24-16-server on all the hosts running ubuntu 8.04 server(Hardy)

Thanks and Regards

Kaushal

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 06-30-2010, 01:19 PM
Dan Sheffner
 
Default Ubuntu Server: Kernel Configuration Considerations

I think you want:
d-i base-installer/kernel/override-image string linux-server

what do you have in your file for that?




On Wed, Jun 30, 2010 at 8:14 AM, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:

Hi,



The issue is that we have built ubuntu using kickstart/tftp/pxe image

on all the 300 servers. The issue is with the pxe server. We found out

that the running Kernel on all the ubuntu hosts are 2.6.24-16-generic

and not 2.6.24-16-server.



Please suggest me whats the best way to set it to correctly to

2.6.24-16-server on all the hosts running ubuntu 8.04 server(Hardy)



Thanks and Regards



Kaushal



--

ubuntu-server mailing list

ubuntu-server@lists.ubuntu.com

https://lists.ubuntu.com/mailman/listinfo/ubuntu-server

More info: https://wiki.ubuntu.com/ServerTeam



--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 06-30-2010, 01:32 PM
Kaushal Shriyan
 
Default Ubuntu Server: Kernel Configuration Considerations

On Wed, Jun 30, 2010 at 6:49 PM, Dan Sheffner <dsheffner@gmail.com> wrote:
> I think you want:
>
> d-i base-installer/kernel/override-image string linux-server
>
Hi Dan

d-i base-installer/kernel/override-image string linux-server ?

is that a command. I didnot understand it.

Please help me understand

Thanks and Regards

Kaushal

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 06-30-2010, 02:10 PM
Dan Sheffner
 
Default Ubuntu Server: Kernel Configuration Considerations

you are using a preseed.cfg file right?

You want to have this in there:

# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.

#d-i base-installer/kernel/image linux-generic
d-i base-installer/kernel/override-image string linux-server

That is what picks which kernel is should be running I believe.

I have documented allot of the PXE boot stuff here:

https://www.digisoftinc.org/wiki/index.php/Ubuntu_preseed.cfg_installs_off_PXE_Boot

As far as fixing it on each machine that is beyond my expertise but I believe you would have to get the ubuntu server kernel...compile it and then add it to your grub list.

Sorry if you are looking for a direct fix for each server.

On Wed, Jun 30, 2010 at 8:32 AM, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:

On Wed, Jun 30, 2010 at 6:49 PM, Dan Sheffner <dsheffner@gmail.com> wrote:


> I think you want:

>

> d-i base-installer/kernel/override-image string linux-server

>

Hi Dan



d-i base-installer/kernel/override-image string linux-server ?



is that a command. I didnot understand it.



Please help me understand



Thanks and Regards



Kaushal



--

ubuntu-server mailing list

ubuntu-server@lists.ubuntu.com

https://lists.ubuntu.com/mailman/listinfo/ubuntu-server

More info: https://wiki.ubuntu.com/ServerTeam



--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 07-05-2010, 07:49 AM
Kaushal Shriyan
 
Default Ubuntu Server: Kernel Configuration Considerations

On Wed, Jun 30, 2010 at 7:40 PM, Dan Sheffner <dsheffner@gmail.com> wrote:
> you are using a preseed.cfg file right?
>
> You want to have this in there:
>
> # The kernel image (meta) package to be installed; "none" can be used if no
> # kernel is to be installed.
>
> #d-i base-installer/kernel/image linux-generic
> d-i base-installer/kernel/override-image string linux-server
>
> That is what picks which kernel is should be running I believe.
>
> I have documented allot of the PXE boot stuff here:
>
> https://www.digisoftinc.org/wiki/index.php/Ubuntu_preseed.cfg_installs_off_PXE_Boot
>
> As far as fixing it on each machine that is beyond my expertise but I
> believe you would have to get the ubuntu server kernel...compile it and then
> add it to your grub list.
>
> Sorry if you are looking for a direct fix for each server.
>
> On Wed, Jun 30, 2010 at 8:32 AM, Kaushal Shriyan <kaushalshriyan@gmail.com>
> wrote:
>>
>> On Wed, Jun 30, 2010 at 6:49 PM, Dan Sheffner <dsheffner@gmail.com> wrote:
>> > I think you want:
>> >
>> > d-i base-installer/kernel/override-image string linux-server
>> >
>> Hi Dan
>>
>> d-i base-installer/kernel/override-image string linux-server ?
>>
>> is that a command. I didnot understand it.
>>
>> Please help me understand
>>
>> Thanks and Regards
>>
>> Kaushal
>>
>> --
>> ubuntu-server mailing list
>> ubuntu-server@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
>> More info: https://wiki.ubuntu.com/ServerTeam
>
>
> --
> ubuntu-server mailing list
> ubuntu-server@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>

Hi,

I am using http method to install ubuntu server over the network. I do
use ks.cfg file. Basically network based installations. I have
tftpd/dhcpd/apache2 servers to serve this purpose
The issue is that after installing ubuntu 8.04 server on the client
host, I see the generic kernel being installed and not the server
kernel.

I did manually by running apt-get install linux-image-server on the
client host. It installed the server kernel which is a manual method.
is there a way to fix it on the pxe image itself so that whenever new
clients are being build with Ubuntu 8.04 server. It installs server
kernel and not generic kernel.

Please let me know if i need to furnish additional information about my setup.

Please suggest/guide further.

http://ubuntu-tutorials.com/2007/10/11/how-to-configure-pxe-network-booting-on-ubuntu-for-network-based-installations/

Thanks,

Kaushal

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 07-05-2010, 10:40 AM
"Michael Zoet"
 
Default Ubuntu Server: Kernel Configuration Considerations

Hi Kaushal,

...
>>
>

> I did manually by running apt-get install linux-image-server on the
> client host. It installed the server kernel which is a manual method.
> is there a way to fix it on the pxe image itself so that whenever new
> clients are being build with Ubuntu 8.04 server. It installs server
> kernel and not generic kernel.

Maybe you need to generate a PXE netboot image that installs the server
kernel? It is really "a long time ago" that I installed something over PXE
but I think these images are just normal desktop images and use the normal
desktop kernels. But I may be wrong. If I'm right you can contribute by
generating different PXE netboot images. Or you can do a feature request
in launchpad.

>
> Please let me know if i need to furnish additional information about my
> setup.
>
> Please suggest/guide further.
>

There are many options available to do things a little different! But I
think this is something every SysAdmin must master for himself/herself.
Just something for you to look further: FAI (search for this on the
Internet) and
http://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management _software.
These may or may not help you. It depends on your network, your skills and
your willingness to learn.

If I where in your situation I would write a small script that installs
the server kernel, remotely deploy this script on every server, reboot
automatically every server and after a restart deinstalls the desktop
kernel.

Then I would take a closer look at the content of your PXE install image.

Michael


--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 01:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org