Displaying 20 results from an estimated 600 matches similar to: "kickstart - dont wipe data"
2008 Apr 28
1
Kickstart syntax for CentOS upgrade
I'd like to automate the upgrade from CentOS 4.6 to 5.1 as much as
possible. Since upgrades per se are not really recommended, I'm
planning to do a kickstart installation. However, I want to leave
one of the existing partitions (/scratch) untouched during the
installation. Here is my current layout (LogVol00 is swap so not
shown in the df output below):
# df -hl
2012 Apr 12
1
CentOS 6.2 anaconda bug?
I have a kickstart file with the following partitioning directives:
part /boot --fstype ext3 --onpart=sda1
part pv.100000 --onpart=sda2 --noformat
volgroup vol0 pv.100000 --noformat
logvol / --vgname=vol0 --name=lvol1 --useexisting --fstype=ext4
logvol /tmp --vgname=vol0 --name=lvol2 --useexisting --fstype=ext4
logvol swap --vgname=vol0 --name=lvol3 --useexisting
logvol /data --vgname=vol0
2012 Oct 15
2
ext3 partition on LVM lost all data
Hello Gentlemen,
I would like to ask a question about an issue I have with the Centos 6.3
installation.
I have installed a Centos 6.3 on a server we used before with 5.4 on
Friday. I have created a KS file to let me connect to the server via VNC
and have all repos and packages preconfigured. I only needed to
partition the hard drive using VNC.
During the partition process I selected which
2018 Aug 29
3
Kickstart file for software raid
I am using a kickstart file for CentOS 7
raid / --device=md0 --fstype="xfs"
--level=1 --useexisting
raid /home --noformat --device=md1
--level=1 --useexisting
It is erroring out on the --useexisting.
The exact text is:
RAID volume "0" specified with "--useexisting" does not exist.
What did I do wrong?
Jerry
2011 Jan 09
5
replace x86 with x64 system and reuse existing LVM
I want to replace an existing 32bit with a 64bit installation (Centos 5).
There's an existing LVM with lots of partitions. Most are used for Xen
guests. The system itself uses only one of them plus a separate /boot
partition that is not on LVM.
What's the best course of action here? Should I do the reinstall with
kickstart or better manually and reuse the existing filesystem? As I
2017 Feb 15
1
Kickstart - part ignore onpart ??
I'm ill, i'm german ...
the script is looks ok, copy from a slim installation of anaconda.
Insert only the "pre part"
and
part /boot --onpart=/dev/sda1
part / --onpart=/dev/sda2
part swap --onpart=/dev/sda3
As i wrote: Jump over to another console and the partitions are there.
Sincerely
Andy
Am Mittwoch, den 15.02.2017, 11:16 -0800 schrieb John R
2011 Jul 29
1
Kickstart and CentOS 6 episode 2...
Hey,
I solved my "The installation source given by device ['sdb2'] could not be found".
Apparently ignoredisk is so strong it not only ignores the disks to be partitioned but also the disks holding the installation source...
Now I ran into:
? In interactive step cleardiskssel, can't continue
In anaconda.log I saw:
? step installtype does not exist
? step confirminstall
2006 Mar 22
0
partition problems in kickstart
I fought with this for a day, and now am crying for help....
The goal is 5 partitions: boot, notebook suspend, / , /home. and
swap. So I have to use LVM.
Here are my commands:
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel --drives=hda
#Disk partitioning information
part pv.1
2018 Aug 29
0
Kickstart file for software raid
Sorry - I did not include that I am actually "updating" a system from C6 to
C7 and it has an existing RAID /dev/md0 and /dev/md1. Hit send to quick.
Jerry
On Wed, Aug 29, 2018 at 3:52 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> I am using a kickstart file for CentOS 7
>
> raid / --device=md0 --fstype="xfs"
>
2008 Mar 28
3
questions on kickstart
I have 2 questions dealing with 2 different kickstart files.
1) my kickstart sections for RAID disk setup and kickstart reports it
cannot find sda. Why is that. sda is there and works.
clearpart --all --initlabel
part raid.01 --asprimary --bytes-per-inode=4096 --fstype="raid"
--onpart=sda1 --size=20000
part swap --asprimary --bytes-per-inode=4096 --fstype="swap"
2017 Feb 15
2
Kickstart - part ignore onpart ??
Hello Guys,
after hours of uncessfull create example before i forward special
parition tests.
part ignoe --onpart
But Installation hang out for parition the harddisk.
jump to another console partitions are ok ?
Which line/lines is/are missing?
Andy
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical
2011 Apr 04
1
lvm and kickstart issues deploying CentOS5.5
Hi.
I'm currently trying to configure a kickstart script to do auto installs. We split up the partitions so that we have control on the mount security like setting no execute on the tmp portions etc .
I keep hitting the same error :
"Could not stat /dev/VolGroup00/LogVol_root --- No Such file or directory
The device apparently does not exist; did you specify is correctly "
Even
2009 Nov 09
2
Partition alignment
I'll be setting up a vSphere 4 environment hosting CentOS 5.4 on Netapp
FAS and was curious how you guys are handling the automation of
partition alignment within your linux guests. I'd like to use cobbler
for dynamically creating kickstart scripts and wasn't sure if I could
align my disk during install some how. Are there kickstart arguments to
force the alignment on a 4k boundary?
2013 Mar 09
1
kickstart %pre vda/sda troubles
hi,
The problem: for kvm/qemu disks are /dev/vdx devices when using the
virtio driver. For vmware, drives are /dev/sdx devices. For hp
servers, /dev/ccisss/whatever (sorry, no proliant with an array
controller handy to check it).
in order to just have one kickstart script to maintain I am trying to
use the %pre section but getting a bit stuck. This is what I have:
%pre
if [ -b /dev/sda ]
then
2019 Apr 03
2
Kickstart putting /boot on sda2 (anaconda partition enumeration)?
Does anyone know how anaconda partitioning enumerates disk partitions when
specified in kickstart? I quickly browsed through the anaconda installer
source on github but didn't see the relevant bits.
I'm using the centOS 6.10 anaconda installer.
Somehow I am ending up with my swap partition on sda1, /boot on sda2, and
root on sda3. for $REASONS I want /boot to be the partition #1 (sda1)
2015 Nov 19
2
CentOS7 kickstart failed ( no such option: --bytes-per-inode)
Dear All,
I'm trying to create a kickstart installer.
I specified an option --byes-per-inode to 'logvol' command, but I got a message "No such option: --bytes-per-inode" during installation.
Does anybody know a solution?
The following is the lines for disk partitioning definition specified in my kickstart file.
-------------------------
##
## Disk partitioning information
2012 Apr 13
1
harddisk partition not created right with centos 5.7
Hello Group,
I am building a company application based on Centos 5.7 OS. The
application was working earlier and creating right partitions both for
hardware as well as VM.
But since we introduced Centos 5.7 OS and start building application with
5.7 anaconda the hardware partitions are duplicate of VM partitions
*while creating hardware partition my code looks like.*
cat >
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
I am testing some kickstarts on ESXi virtual machine with pair of 16GB disks.
Partitioning is lvm over raid.
If i am using "logvol --grow i get "ValueError: not enough free space in volume group"
Only workaround i can find is to add --maxsize=XXX where XXX is at least 640MB less than available.
(10 extents or 320Mb per created logical volume)
Following snippet is failing with
2008 Mar 03
3
LVM and kickstarts ?
Hey,
Can anyone tell me why option 1 works and option 2 fails ? I know I
need swap and such, however in trouble shooting this issue I trimmed
down my config.
It fails on trying to format my logical volume, because the mount point
does not exist (/dev/volgroup/logvol)
It seems that with option 2, the partitions are created and LVM is setup
correctly. However the volgroup / logvolume was not
2007 Aug 07
4
Will this work? server+centOS5+100users?
I am an experienced MS administrator of W2003 servers & Exchange systems.
I have 5+ years UNIX mid-level experience but not in centOS. Grounded in SCO UNIX (the real SCO UNIX).
We want to use CentOS on a recently grave yarded Dell poweredge 400SC server.
This is a P4 3.0 Ghz, w/4GB memory, 2 SATA 250 GB disks.
We want to use this server w/CentOS5, to provide file and print resources to 100