Ubuntu Installation :: Set The Kernel Parameters To Perform An Unattended Install Using Preseed File?

Oct 23, 2010

I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Preseed-file Not Working As Expected On Lucid Desktop Install - Read

Jul 30, 2010

I have a problem to get it to work. The installer seems to read the preseed-file alright, and some of the values defined in the preseed-file are taken into account. The questions regarding locale, keyboard layout and time zone are answered using the preseed-file, but in the user account creation-step the process goes wrong. The Full name-field is obtained from the preseed-file, but the login-name is generated by the installer and not read from the preseed. Also the password-fields are empty and not filled in. Also the script that I've defined with preseed/late_command is never run.

I tried searching the forums but no-one had exactly this kind of problem, so it makes me think that this has to be some trivial error I'm doing. Could someone take a look at these configs and see if there's something wrong with them? How should I continue resolving this?

[Code]....

View 1 Replies View Related

Ubuntu Installation :: Kernel Parameters : How To Modify Them

Feb 4, 2010

Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?

Now as to my reason for this question:

In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]

The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.

Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.

View 3 Replies View Related

Ubuntu :: Trying To Patch 10.10 I686 - 1 Out Of 1 Hunk FAILED -- Saving Rejects To File Linux-2.6/Documentation/kernel-parameters.txt.rej

Nov 16, 2010

I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.

Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....

1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.

View 7 Replies View Related

Ubuntu :: Preseed Installation Asks Ready To Install?

Sep 21, 2010

I've generated a preseed for my Ubuntu Lucid installation, its loading ubiquity automatically (from kernel parm automatic-ubiquity) and it fills in all the values from the preseed file its given. However it displays the Ubiquity page "Ready to Install" (I am using the kubuntu ubiquity package) and I have to click the button install for it to start. How can I get it to skip this and just start installing?

View 1 Replies View Related

Installation :: Grub2 Not Passing Parameters To Kernel?

Sep 8, 2010

I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:

Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this

[Code]....

I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.

View 4 Replies View Related

Ubuntu Installation :: Likewise Open Install With Preseed Not Working?

Jan 6, 2011

I'm having trouble installing likewise open through preseed.I'v used the example from https://help.ubuntu.com/10.04/instal...le-preseed.txt as the source of my preseed file.It works just fine installing openssh, smbfs and libpam-mount. Se the code below. But if I try adding likewise to the code below installation stops when the likewise package is starting to install.Quote:

# Individual additional packages to install
d-i pkgsel/include string openssh-server build-essential smbfs libpam-mount
# Whether to upgrade packages after debootstrap.

[code]....

View 1 Replies View Related

Debian Installation :: Preseed Install Of 8.2 Amd 64 Fails To Wait For DHCP

Oct 9, 2015

I've run into a situation where when performing a pxe/preseed install the system boots up into the install without issue, getting a dhcp address, then the installer begins to configure the network and it gets to where it request a dhcp address and it instantly fails the install stating that we are either not using dhcp or it's slow.

I've added d-i netcfg/dhcp_timeout string 600 to the preseed file but it doesn't seem to be honoured here since it doesn't wait 600 seconds before failing. I have 2 other identical systems that install using the same preseed file but the installer completes as expected. This system has no issues installing centos just debian fails. I did try, once the install failed, to switch to the console and run udhcpc and the server received the address reserved for it.

Is there a method to force debian installer to wait a bit longer for the dhcp server besides what I've already done?

View 0 Replies View Related

Ubuntu Servers :: Unable To Select Server Kernel With Preseed?

Jan 6, 2010

I'm currently trying to use preseed to build an ubuntu server box over the network. I'm using the netboot.tar.gz from the karmic main mirror. By default it installs the standard kernel (linux-2.6.31-16-generic), and I want to use the server kernel (the metapackage linux-server which should install linux-image-2.6.31-16-server). I'm using a minimal build:

Code:
tasksel tasksel/first multiselect minimal As far as I can see all the other preseed settings are close to defaults. I've tried setting both of the following lines (separately and together) with no effect:
Code:
d-i base-installer/kernel/image string linux-server
d-i base-installer/kernel/override-image string linux-server
Once the machine is built, if I run:

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Perform A Minimal Install To A USB Attached Hard Drive?

Dec 28, 2010

I'm trying to figure out how to perform a minimal install to a USB attached hard drive. A full install works just fine, when I start the install from the LiveCD desktop, all the USB drives are visible and can be installed to. In the minimal install, the requisite kernel modules for USB storage don't seem to be loaded, therefore, my USB hard drive is not visible and cannot be mounted, partitioned, or installed to.

The reason behind this is I'm trying to build an XBMC install on a USB hard drive and want only the minimum backend OS that's necessary as some of the Ubuntu desktop software causes issues with some of the XBMC software. I've posted on the XBMC boards about this, but my questions have gone completely unanswered,

View 8 Replies View Related

Programming :: Use Late_command In Preseed File?

Dec 27, 2010

The need which made me come here and share the problem with you is that the proper usage of late_command in preseed file.

I've prepare a preseed file which works fine, but the late_command should install a test script when installation finishes.

What I need is: copying the script from the cdrom into /root directory of the system which is being installed, and execute it! the code I've tried is found from those who previously tried executing script after installation. but for me that doesn't work!

View 7 Replies View Related

Programming :: Partitioning Using 'preseed.cfg' File

Nov 30, 2010

I'm gonna use a preseed file in order to install ubuntu 9.04, in which I put my own recipe for partitioning the linux system, the scheme of the partitioning must be in the following form:

I was looking for a proper configuration on the net, the result below was which I have found while surfing:

code:

The system that I'm gonna perform installation ubuntu on, is a server which has 3 slot of hard disk drive (SAS) and by default HP has configured them functioning in RAID 5. how the exact configuration could be?

View 8 Replies View Related

General :: Install Mint 9 KDE With Installation Parameters?

Aug 11, 2010

I want to install Mint 9 KDE but I need to specify some installation parameters. I need to set the default filesystem as EXT3 so I can create a disk image with Acronis True Image that doesn't support EXT4 yet.

I've done the same with Ubuntu Server 10.04 by including the parameter 'partman/default_filesystem=ext3' at the installation console. I know Mint 9 Gnome can also be installed direct from the CD, but the KDE Live DVD doesn't give me any such option - just the desktop installer.

How do I customise the installation of Mint 9 KDE?

View 2 Replies View Related

Ubuntu Installation :: Allows To Install/remove Software And To Perform Other Package Management Related Tasks?

Jul 14, 2011

I added a code into terminal and restarted, then I tried to install Java and this came up.'There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.'

PHP Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate

[code]....

View 1 Replies View Related

CentOS 5 Server :: Unattended Reboot With An Encrypted Root File System?

Mar 31, 2009

Centos 5.3 includes Ext4 and improved support for encrypted file systems but it appears to be aimed at laptop/desktop systems, in that a password must be entered at boot time.

Is it possible to have a server with an encrypted root file system boot up without entering a password?

Mandos will do it...
http://wiki.fukt.bsnet.se/wiki/Mandos
...by serving up the password from another server...
http://packages.debian.org/squeeze/mandos
...to a client loaded into the initial RAM disk environment...
http://packages.debian.org/squeeze/mandos-client
...but it's not available on CentOS, and is only in Debian unstable.

Is there a similar (or any) solution for CentOS?

In particular, I'm envisaging encrypted virtual machines being served passwords from their virtual host.

Alternatively, the data that *really* needs to be protected could be encrypted while the system core remains unencrypted. But then the keys to decrypt the file system must be stored in the unencrypted portion, so this is not an effective method.

View 3 Replies View Related

Server :: Cannot Set Kernel Parameters / What To Do?

Feb 8, 2011

I have a strange problem with RHEL4.7, with kernel 2.6.9-78.

I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.

I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.

Also I mounted proc device on another mount point:

# mount -t proc proc /mnt

View 1 Replies View Related

Ubuntu :: How To Edit Kernel Boot Parameters

Jun 18, 2010

Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi

It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.

View 3 Replies View Related

Ubuntu :: Cannot Save GRUB Kernel Parameters

Apr 27, 2011

We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.

View 3 Replies View Related

CentOS 5 :: Unattended Install From USB With Special Instructions

Mar 4, 2010

I have to create an unattended install from an USB with special instructions. Unfortunately I'm a newbie and I have no clue as to where to start. We did recieve one link to use and I still don't understand what I'm supposed to do. The link is on the CentOS home page.

View 1 Replies View Related

Ubuntu :: Schedule Unattended Updates To Install At A Specific Time?

Dec 8, 2010

I've been quite puzzled by the behavior of unattended updates - it seems it runs the updates at or before 7am (on all the server installs I've got). They are only set to do security updates unattended, but what I am wondering is if there is a way to change the time that they install? I want the updates to install early in the morning, at like 3am or such, so I can reboot the machine when I get up if needs a reboot.I found a few mentions about it, but nothing specifically talking about the time.[URL]..

View 3 Replies View Related

Ubuntu Installation :: Unattended-upgrades For Non - Security Updates?

May 25, 2010

I've recently installed the unattended-upgrades package on a few Ubuntu 9.04 servers, and it's working great to automatically install security upgrades. However, is there a way to have non-security upgrades automatically installed as well? The README for unattended-upgrades says it'll do security ones only.

My main goal is to have all package upgrades be installed unattended except for kernel and libc upgrades (I want to do those manually on my own time). I guess I could write a script that does 'apt-show-versions -u' to get a list of upgradable packages and then do 'apt-get install' on the packages if their names don't match linux-server, linux-image-server, or libc*, but I was hoping there's an easier way to accomplish this.

I've looked at 'aptitude safe-upgrade -y', but I think that'll install kernel and libc upgrades.

View 3 Replies View Related

Ubuntu Installation :: Unattended Upgrades And 3rd Party Repos

Jul 14, 2010

I have searched on the internet but didn't manage to find out how to flag 3rd party repositories in /etc/apt/sources.list.d/50unattended-upgrades. It installs all updates from the stock Ubuntu repos but none from 3rd party repositories I later added (e.g. Chromium PPA, Skype, etc.). I understand I have to manually add the lines but I'm not sure what's the format for this. How to do this? Here's how my 50unattended-upgrades file looks like:

Code:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"Ubuntu karmic-security";
"Ubuntu karmic-updates"; };

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
//"vim";
//"libc6";
//"libc6-dev";
//"libc6-i686"; };

// Send email to this address for problems or packages upgrades. If empty or unset then no email is sent, make sure that you have a working mail setup on your system. The package 'mailx' must be installed or anything that provides /usr/bin/mail.
//Unattended-Upgrade::Mail "root@localhost";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

View 5 Replies View Related

CentOS 5 :: Unattended Kickstart Install Supporting Both IDE (hda) / SCSI (sda)?

Apr 6, 2010

Can an unattended Kickstart support both IDE (hda) and SCSI (sda)? The goal is to to create a new virtual machine from scratch. What I have works for Parallels in which a new VM defaults to emulate an IDE hard disk. It does not work for VMware Workstation which defaults to emulate a SCSI disk.

The relevant Kickstart section: bootloader --location=mbr --driveorder=hda --append="rhgb quiet"

clearpart --all --initlabel --linux --drives=hda
part /boot --fstype ext3 --size=100 --ondisk=hda
part pv.2 --size=0 --grow --ondisk=hda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 --grow --maxsize=2048

Can the Kickstart file be made to not care what drive type is there, or conditionally handle either type?

View 4 Replies View Related

Ubuntu Installation :: 10.04 Preseed - Incorrect CD-ROM

Jun 4, 2010

I'm trying to preseed a 10.04 install, and it's giving me a lot of trouble. I've been using [url] as a guide, but I can't seem to make it work.

I have ripped the x64 alternate install .iso to my hard drive, inserted the preseed files (details on this later) and remastered and burned the iso. When I put the disc into my test PC, it boots up to the CD, checks for English keyboard, enters my custom install option and then fails. It brings up a red screen that says, "Incorrect CD-ROM detected. The CD-ROM drive contains a CD which cannot be used for installation. Please insert a suitable CD to continue with the installation."

The way I've understood the documentation is that there are 2 files that needed edited, and one file that needs created: edit /isolinux/text.cfg, edit /isolinux/isolinux.cfg, and create /preseed.cfg

Here is what I currently have in those files:

Code:

Code:

Code:

The preseed.cfg is 95% copied from the ubuntu documentation, I've only made the changes that are necessary. I'll admit I do not know what most of the boot parameters in the /isolinux/text.cfg file mean.

View 5 Replies View Related

General :: How Increasing RAM Affects Kernel Parameters

Nov 16, 2010

We just doubled the RAM on our RHEL 4 production servers...Oracle from 16gb to 32gb and Apache/JBoss from 8 to 32 gb. I am trying to figure out how to get the biggest bang from the increased RAM. Should kernel.shmmax be upped to be 50% of the 32gb....from its current 8gb? I need to create the largest possible SGA and was unable to do so, apparently because the kernel.shmmax value had gone unchanged.

And for the JBoss web servers, also RHEL 4, and particular kernel changes which can take advantage of the increased RAM and provide an immediate performance improvement?

View 7 Replies View Related

Programming :: Perform Floating Point Operations In Linux Kernel?

Apr 7, 2011

how to perform floating point operations in kernel? i answered that its impossible to perform floating point operations in kernel.but he is telling that its possible but with some feature to be added.can any body know about this perfectly??

View 1 Replies View Related

Fedora :: Subject - Modify Only Parameters In Kernel Config

Aug 28, 2009

I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )

View 1 Replies View Related

Ubuntu Installation :: Preseed No Network Interfaces Detected

Feb 17, 2010

I am trying to preseed the UBUNTU 9.04 x86 installer and everything else is okay except that for some systems, it says "No Network Interfaces found" with options as "Continue" and "Go Back". My network interface detection is set to "auto" in my preseed file. I want to remove this popup. Can someone please help with the correct line in preseed.cfg?

View 1 Replies View Related

Ubuntu Installation :: Ubiquity Asking For Cd With Packages On Custom - Preseed?

Aug 18, 2010

I just made a custom ubuntu, following these instructions [url], and it works great, but during the install ubiquity tries to check the cd for extra packages... and prompts an error... but it doesn't have any packages nor it is needed to have... i just want that ubiquity skips this instruction.... I'm guessing the correct pressed instruction will solve this, but I can't find any mention to this...

View 1 Replies View Related

Programming :: Insmod: Error Inserting 'kernel.ko': -1 Invalid Parameters?

Jan 16, 2010

insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program

__________________kernel.c________________________ ___________

#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_INFO */

[code].....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved