Hi,

It looks like your imaging is not correct. At least one of the 2 following 
files is missing:
- /sbin/grub-install
- /boot/grub/device.map (this should contyain something like:)
-----------8<-----------8<-----------8<-----------8<-----------8<-----------
# this device map was generated by anaconda
(hd0)     /dev/sda
-----------8<-----------8<-----------8<-----------8<-----------8<-----------

In /var/lib/systemimager/scripts/post-install/ try to add a 99all.debug script 
that would contain:
-----------8<-----------8<-----------8<-----------8<-----------8<-----------
#!/bin/bash
echo ======= BEGIN_DEBUG
ls -l /sbin/grub-install
echo =======
find /boot/grub
echo =======
cat /boot/grub/device.map
echo =======
rpm -q grub*
echo ======= END_DEBUG
-----------8<-----------8<-----------8<-----------8<-----------8<-----------

And try to reimage. For some reason something is missing and I need to 
understand why.

I need the infos between BEGIN_DEBUG and END_DEBUG.
In the meantime, I'm rebuilding the full oscar dist for centos-6 just in case 
something was missed by me.

Cheers,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DIR
________________________________
De : - - [a...@comserv-usa.com]
Envoyé : vendredi 9 janvier 2015 00:43
À : oscar-users; LAHAYE Olivier
Objet : Re: RE:[Oscar-users] stuck...



Olivier,


Xming for some reason does not copy/paste well.  I think its a buffer size 
issue.  Below is the more important stuff and I think I see the issue.  as you 
can see from the S14 and S15 scripts the system thinks its not a grub1 or 2 
system?? This is CentOS 6.6 so I'm wondering if something changed maybe to make 
it think this?  Thanks as always!!



512 bytes (512 B) copied, 7.6133e-05 s, 6.7 MB/sblockdev --rereadpt /dev/sda
parted -s -- /dev/sda mklabel msdos || shellout
Creating partition /dev/sda1.
parted -s -- /dev/sda mkpart primary 1 101 || shellout
parted -s -- /dev/sda set 1 boot on || shellout parted -s -- /dev/sda set 1 
boot on
Creating partition /dev/sda2.
parted -s -- /dev/sda mkpart extended 101 72746 || shellout
Creating partition /dev/sda5.
parted -s -- /dev/sda mkpart logical linux-swap 102 614 || shellout
Creating partition /dev/sda6.
parted -s -- /dev/sda mkpart logical 615 72746 || shellout
Warning: The resulting partition is not properly aligned for best performance.
New partition table for /dev/sda:
parted -s -- /dev/sda print
Model: DELL PERC 5/i (scsi)
Disk /dev/sda: 72.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 101MB 99.6MB primary ext2
2 101MB 72.7GB 72.6GB extended lba
5 102MB 614MB 513MB logical linux-swap(v1)
6 615MB 72.7GB 72.1GB logical ext3

Load software RAID modules.
Load device mapper driver (for LVM).
Load additional filesystem drivers.
modprobe: module jfs not found in modules.dep
modprobe: module reiserfs not found in modules.dep
mkswap -v1 /dev/sda5 || shellout
mkswap: /dev/sda5: warning: wiping old swap signature.
Setting up swapspace version 1, size = 500732 KiB
no label, UUID=c81c1d5a-e062-45a8-8442-24e1d8e1828d
swapon /dev/sda5 || shellout
mke2fs -q -t ext3 /dev/sda6 || shellout
mkdir -p /a/ || shellout
mount /dev/sda6 /a/ -t ext3 -o defaults || shellout
mke2fs -q -t ext2 /dev/sda1 || shellout
mkdir -p /a/boot || shellout
mount /dev/sda1 /a/boot -t ext2 -o defaults || shellout
mkdir -p /a/proc || shellout
mount proc /a/proc -t proc -o defaults || shellout
mkdir -p /a/sys || shellout
mount sysfs /a/sys -t sysfs -o defaults || shellout
Evaluating image size...
--> Image size = 1304MiB
Report task started.
Quietly installing image...
rsync -aHS --exclude=lost+found/ --exclude=/proc/* --numeric-ids 
192.168.3.101::test2/ /a/
Report task stopped.
rsync -av --numeric-ids 192.168.3.101::overrides/test2/ /a/
rsync -av --numeric-ids 192.168.3.101::overrides/test23/ /a/
rsync: change_dir "/test23" (in overrides) failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(1538) 
[receiver=3.0.0]
Override directory test23 doesn't seem to exist, but that may be OK.
Editing files for actual disk configuration...
/dev/sda -> /dev/sda
/etc/fstab
/etc/systemconfig/systemconfig.conf
/boot/grub/menu.lst

run_post_install_scripts
>>> 10all.fix_swap_uuids
>>> 11all.replace_byid_device
>>> 14all.grub2_install
Not a grub 2 system, exitting.
>>> 15all.grub_install
This is not a grub1 system. Exitting...
>>> 95all.monitord_rebooted
>>> 99all.harmless_example_script

I live in /var/lib/systemimager/scripts/post-install.
See: /var/lib/systemimager/scripts/post-install/README for details.

>>> 90test2.add_nfs
umount /a/sys || mount -no remount,ro /a//sys || shellout
umount /a/proc || mount -no remount,ro /a//proc || shellout
umount /a/boot || mount -no remount,ro /a//boot || shellout
umount /a/ || mount -no remount,ro /a// || shellout
umount: /a: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Imaging completed

>
> On January 8, 2015 at 8:32 AM LAHAYE Olivier <olivier.lah...@cea.fr> wrote:
>
>
>
> Ho, ok,
>
> then, can you send me the log of the install of a node. You can save it to a 
> file from the deployment monitor. Just double click on the host during its 
> imaging and when it is finished, use save from the drop down menu.
>
> Olivier.
>
>
>
>
>
>
> --
>    Olivier LAHAYE
>    CEA DRT/LIST/DIR
>
>
>
>
>
> De : a...@comserv-usa.com [a...@comserv-usa.com]
> Envoyé : jeudi 8 janvier 2015 14:14
> À : LAHAYE Olivier; oscar-users@lists.sourceforge.net
> Objet : Re: [Oscar-users] stuck...
>
>
>
>
> I'm running 6.6
>
> /\ndy
>
>
> ----- Reply message -----
> From: "LAHAYE Olivier" <olivier.lah...@cea.fr>
> To: "- -" <a...@comserv-usa.com>, "oscar-users" 
> <oscar-users@lists.sourceforge.net>
> Subject: [Oscar-users] stuck...
> Date: Thu, Jan 8, 2015 2:48 AM
>
>
>
> Hi,
>
> If you're running CentOS7, make sure you're using the grub2 post-install 
> script: 14all.grub2_install
> 15all.grub_install is for centos6.
>
> Cheers,
>
> Olivier.
>
>
>
>
>
>
> --
>    Olivier LAHAYE
>    CEA DRT/LIST/DIR
>
>
>
>
>
> De : - - [a...@comserv-usa.com]
> Envoyé : jeudi 8 janvier 2015 04:34
> À : oscar-users; LAHAYE Olivier
> Objet : Re: [Oscar-users] stuck...
>
>
>
> Hi Olivier,
>
> Well, I was able to get the system to build at least but I can't get it to 
> boot afterwards.  It doesn't make it to the bootloader and I did implement 
> your S15 fix script that installs the grub bootloader but still no go.  Any 
> idea what else I could look into? I'm not sure on this issue.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to