Page 1 of 1

Problems centos 5 aooi

Posted: Tue Nov 13, 2007 11:01 am
by tomjmalone
I reimaged my server to fc6 minimal ran the aooi script and then got this error:

I ran wget -q -O - http://www.atomicorp.com/installers/aooi |sh

Error: Cannot find the CentOS server image

what did i do wrong

Posted: Tue Nov 13, 2007 11:38 am
by Highland
What did the script output when you ran it beyond that error?

Posted: Tue Nov 13, 2007 12:27 pm
by tomjmalone
Atomic Offline OS Installer (AOOI)
by Scott R. Shinn <scott@atomicrocketturtle.com>
Version 0.9

Credits:
www.gnuker.com
www.nefw.net
www.orionhost.net
www.protechone.com
Robinet at 1and1.fr

This installer does not back up your data, if for
any reason it fails you will need to reimage the system.

Hit enter if you accept this risk and wish to continue,
otherwise hit Ctrl-C to quit



Turtle power.


Detected broken 1and1 configuration
Cleaning up Everything
mkfs.vfat not detected. Attempting to resolve with: yum -y install dosfstools
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 824 kB 00:00
core : ################################################## 2242/2242
primary.xml.gz 100% |=========================| 405 kB 00:00
updates : ################################################## 1099/1099
primary.xml.gz 100% |=========================| 1.7 MB 00:00
extras : ################################################## 5386/5386
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for dosfstools to pack into transaction set.
dosfstools-2.11-6.1.fc6.i 100% |=========================| 6.9 kB 00:00
---> Package dosfstools.i386 0:2.11-6.1.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dosfstools i386 2.11-6.1.fc6 core 47 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 47 k
Downloading Packages:
(1/1): dosfstools-2.11-6. 100% |=========================| 47 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: dosfstools ######################### [1/1]

Installed: dosfstools.i386 0:2.11-6.1.fc6
Complete!
Tranferring CentOS image to swap: mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
245280 inodes, 489982 blocks
24499 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=503316480
15 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Done



Getting CentOS ISO: --13:40:50-- http://yum.math.hmc.edu/os/centos/5.0/i ... n-1of6.iso
Resolving yum.math.hmc.edu... 134.173.34.193
Connecting to yum.math.hmc.edu|134.173.34.193|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 655984640 (626M) [text/plain]
Saving to: `CentOS-5.0-i386-bin-1of6.iso'

100%[=======================================>] 655,984,640 464K/s in 24m 11s

14:05:02 (442 KB/s) - `CentOS-5.0-i386-bin-1of6.iso' saved [655984640/655984640]

Done.
Error: Cannot find the CentOS server image

Posted: Tue Nov 13, 2007 3:19 pm
by scott
yep, should be fixed in 0.9.1

Posted: Wed Nov 14, 2007 10:27 am
by tomjmalone
Great I now get

100%[=======================================>] 655,984,640 477K/s in 23m 27s

14:17:31 (455 KB/s) - `CentOS-5.0-i386-bin-1of6.iso' saved [655984640/655984640]

Done.
Setting up installer kernel: CentOS-5.0-i386-bin-1of7.iso: No such file or directory
cp: cannot stat `1/isolinux/vmlinuz': No such file or directory
cp: cannot stat `1/isolinux/initrd.img': No such file or directory
Done
ks path is hd:hda2/ks-1and1i386.cfg
aooi: line 343: lilo: command not found
Setting the system to boot into the installer
aooi: line 346: lilo: command not found
Done


The installer has been configured, back up your data including your /etc/psa/psa.key, and reboot the system.
Root password has been temporarily set to: atomic555

Posted: Wed Nov 14, 2007 11:13 am
by scott
OK try it now, 0.9.2 is the latest version