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
ADVERTISEMENT
Feb 27, 2011
I am looking for a way to partition 2 disks automatically with are both connected to 2 different scsi controllers.
I want one disk on one controller to be partitioned with boot and lvm and the other one with a different partition layout.
I there a way in kickstart to do this, like for instance specify the drive module?
View 1 Replies
View Related
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
May 23, 2010
I'm trying to install CentOS 5.5 from harddrive using a kickstart file. Kickstart file is read correctly, it contains the following 3 lines (+ additional config):
install
harddrive --partition=sda11 --dir=repos/CentOS/5.5/isos/i386
repo --name="CentOS-5.5 - Updates" --baseurl=hd:sda11:repos/CentOS/5.5/updates/i386
I've downloaded both CentOS-5.5-i386-bin-DVD.iso and CentOS-5.5-i386-bin-1of7.iso, but anaconda (the installer) asks: - What partition and directory on that partition holds the CD (iso9660) images for CentOS? ...
VT3 gives these messages:
INFO: partition /dev/sda11 selected
INFO: mounting device sda11 for hard drive install
INFO: mntloop loop7 on /tmp/loopimage as /tmp/hdimage/repos/CentOS/5.5/isos/i386/CentOS-5.5-i386-bin-1of7.iso fd is 12
[Code]....
View 4 Replies
View Related
Apr 12, 2010
when i use kickstart to install centos from cdrom (i make it myself in my way),i got a %post script problem with the kickstart file. 1.%post script used to copy my own software from cdrom to hard disk.then make install automaitlly with bash script.
the %post script like :
%post
mkdir -p /myownsoftware
cp -r /mnt/myownsoftware/* /myownsoftware
cd /myownsoftware
[Code]...
View 10 Replies
View Related
Sep 8, 2009
we can't get the clients in our lab to do a kickstart install. we're doing the install by booting from the Centos 5.3 net install cd and anaconda starts, but terminates abnormally reporting a SIGSEGV fault. Interestingly, attempts at doing an install from a CD and without the network connection results in this error:
X11TransSocketINETConnect() can't get address for localhost:6001. Temporary failure in name resolution.
View 7 Replies
View Related
Oct 22, 2009
In the release anouncement there is mention of adding additional repo's at install time. Is this also possible in the kickstart file?
View 1 Replies
View Related
Mar 3, 2010
I have compiled and created a kernel rpm kernel-2.6.18165.11.1.el5-3.i386.rpm
then created initrd image
I have installed the above via kickstart installation
%post
mount xxx.xxx.x.xx:/var/www/html/os/i386 /mnt/tmp
cd /mnt/tmp
rpm -uvh kernel-2.6.18165.11.1.el5-3.i386.rpm
cp initrd-2.6.18-165.11.1.el5.img /boot
[Code]....
View 2 Replies
View Related
Oct 19, 2009
I am trying to copy an updated splash.xpm.gz at the end of a system build but everything in the post section is total ignored.
#--- Post-installation script
%post
#!/bin/sh
#...Mount the installation CD
[code]....
View 8 Replies
View Related
Oct 30, 2009
I'd like to install centos from a USB stick on to a hard drive and also include a custom kickstart on the USB stick to run post-build scripts or install additional packages, which the additional packages would also be on the USB stick..Are there any howto's already written?
View 2 Replies
View Related
Oct 13, 2010
I have CentOS 5.5. server on 2 raid 1 drives .The system is a quad core Intel CPU with 2GB RAM.Printers:-
HP p1006 laserjet
HP multifunction 5600
Canon prixma ip3000
Canon prixma ip4500
I cannot get any of these printers to work on this server.
View 2 Replies
View Related
Jun 19, 2011
I was informed that Firefox 3 supports HTML5 but Centos 5's Firefox is not supporting it. This is the screenshot of the video that failed to run on Centos 5, Firefox 3. I also tried to install the latest version of adobe flash player but the new version didn't work.
View 3 Replies
View Related
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
Apr 5, 2009
On a fresh install on a dell 2650: The install goes smooth and on reboot after Nash starts we get
SCSI: 0:1:0:0: timing out command, waited 22s
repeated for two controllers and 16 devices on each controller. Then boots and runs fine.
View 4 Replies
View Related
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
Feb 15, 2010
i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-
Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.
Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....
View 2 Replies
View Related
Apr 11, 2011
In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
View 2 Replies
View Related
May 4, 2010
When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.
View 6 Replies
View Related
Apr 10, 2009
I tried to run system-config-kickstart when after full installed CentOS 5.3,it report error as following,does anyone face the same problem?
[root@localhost ~]# system-config-kickstart
Loaded plugins: fastestmirror, kernel-module, priorities, protectbase,
: versionlock
[code]....
View 2 Replies
View Related
Jun 23, 2011
Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here
The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi
View 2 Replies
View Related
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
View Related
Feb 3, 2011
I've been a DOS/Windows guy for 20 years, and recently became a SW test lab helper. My company uses CentOS for a lot, so I've become familiar with it, but obviously not as comfortable as I am with Windows.
Here's what I have planned:
machine: Core 2 Duo E8400, 8GB DDR2, 60GB SSD OS drive, ATI 4650 video card, other storage is flexible (I have 3 1TB drives and 4 750GB drives around that can be used in this machine.)
uses: HTPC, Network Storage, VMWare server host: SMTP, FTP server, and Web server virtual machines
I've figured out how to do much of this, but I haven't figured out how to do backups in Linux. I've been spoiled with Windows, with the built in backup system so simple to use. I find myself overwhelmed with the array of backup software, and unable to determine which to use. none of them seem to do everything I need them to do, but some come close, I think. I'm hoping someone here can help me out in figuring out which program to use and how to use it.
Here is what I need the backup software to do:
1. scheduled unattended backups, with alerts if the backups fail
2. a weekly full backup with incremental every 12 hours
3. removing the old backups when the new full backup runs, I would prefer to keep 2 weeks of backups, but that's not necessary
4. a GUI would be preferable, since my arthritic fingers don't always do as I want them to do. I typo things a lot, and the label worn off my backspace can attest to that.
View 7 Replies
View Related
Jul 25, 2009
I am new to linux. I install fedora 10 in text mode in my system. Because some drivers didn't support. I don't no know how to install supporting drivers. My system config. are Intel 945 mother board, 512 DDR2 RAM, 80GB IDE hard disk, P4 3GHz processor. When i try to install in graphics mode after disk checking i.e while anaconda is loading my monitor automatically turned off. So I recognized that problem with some driver. So I installed in text mode. Please tell me where do i get drivers for my system and how to install in my system. I don't have Internet connection for automatic installation using yum which was i found from linux forum so kindly tell me manual installation.
View 2 Replies
View Related
Feb 21, 2009
I just installed centos 5 on a hp dl380 server and it has 2 72.8 scsi gig hard drives. The problem I am having is that only one hard drive is being recognized and it is not being recognized as a scsi. This is what I get from fdisk -l
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 8854 71015332+ 8e Linux LVM
as you can see, the system doesn't even see the second hard drive. How do I get both hard drives to be seen and how do I get them to be recognized as scsi?
View 2 Replies
View Related
Aug 6, 2009
I've managed to install Centos 5.3 (with Gnome) from a temporary IDE-based CD drive. This has now been removed and, instead, I have added a SCSI-based Panasonic LF-D201 DVD-RAM drive onto channel-B of the Intel SRCU32 (LSI clone) SCSI RAID card.
it seems that Centos cannot see the DVD-RAM drive at all - not even as a simple CD drive.
View 9 Replies
View Related
Dec 11, 2009
I added two scsi disk, but it is not listed in /dev. But the controller information is available from lspci code...
View 4 Replies
View Related
Apr 25, 2011
Client has a server running 5.5 (I think) and it they moved locations. This server is used in other locations (state) via ssh tunnel as well so they can all access files.
When attempting to boot up I get screenshot 1 (superblock errors)[url]
They supposedly have a backup on a hot swap scsi and I want to know how/if I can restore it using that backup if I cant fix the superblock boot/error issue.
I took some other screenshots:
[url]
[url]
[url]
View 1 Replies
View Related
Dec 14, 2010
Does anyone know of a way to tell the CentOS installer -not- to use LVM in a kickstart? We've been using a system that lets us define which particular drives to use during the installation as part of our deployment system. This does not work now that LVM is the 'default' in CentOS. I've looked over the options and I see how to FORCE particular LVM configurations, but I see no way to just turn it off.
View 6 Replies
View Related
Jun 24, 2010
I created a kickstart file and put it on a floppy. I have installed several times to refine the process and confused. I am not sure if the kickstart file is even being used by grub. I specified
autostep --autoscreenshot The install STILL asks me all those questions I was trying to avoid by doing autostep in the first place, and /root/anaconda-screenshots coes not exist.
I specified
linux = hd:fd0:/ks.cfg
as a Grub command line option. I got that line off a forum, so it may be inaccurate. Anyone know if that is correctd? If I screw that up, shouldn't anaconda complain about file-not-found? Are the screenshots only applicable to graphics mode or also to text mode? (I have been using text mode, assuming text file screen dumps would appear in that subdirectory...)
View 7 Replies
View Related
Sep 18, 2009
I am trying to kickstart and want in post install to copy some files from a shared directory, to enable passwd less ssh and having
same users across the clusters. But the cp does not work, nor does .ssh directory is getting created I have pasted my post install script below.
mkdir /mnt/sysimage/mnt/temp
mount -t nfs 10.1.1.1:/home /mnt/sysimage/mnt/temp
cp -f /mnt/sysimage/mnt/temp/passwd /etc/passwd
cp -f /mnt/sysimage/mnt/temp/group /etc/group
[code].....
View 6 Replies
View Related