stateless-linux troubles when updating kernel.

Carl-Johan Kjellander carljohan at design.chalmers.se
Fri Jul 15 19:48:39 UTC 2005


I ran into som troubles with stateless-linux today.

I have a protosystem, and I chroot:ed into it, mounted /proc and
did a 'yum -y update'. That ran fine and installed a new kernel
among other things. But upon running stateless-snapshooter I ran
into some troubles:

# stateless-snapshooter -n -p minimal
     ##################################################################(100%)
Traceback (most recent call last):
   File "/usr/share/stateless/snapshooter.py", line 177, in transfer_finished
     self.prepare_destination()
   File "/usr/share/stateless/snapshooter.py", line 263, in prepare_destination
     self.copy_pxeboot_files ()
   File "/usr/share/stateless/snapshooter.py", line 251, in copy_pxeboot_files
     copy_from_snapshot ("diskless-initrd-%s.img" % latest_kernel, 'initrd.img')
   File "/usr/share/stateless/snapshooter.py", line 246, in copy_from_snapshot
     shutil.copy (src_path, dest_path)
   File "/usr/lib/python2.3/shutil.py", line 71, in copy
     copyfile(src, dst)
   File "/usr/lib/python2.3/shutil.py", line 37, in copyfile
     fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/srv/stateless/snapshots/minimal/minimal-2/boot/diskless-initrd-2.6.11-1.35_FC3.img'

Which script creates the diskless-initrd? And why doesn't it generate
a new one for the new kernel? I have an old one but I wanna use
the new one.

And does it generate one for the SMP kernel as well cause I wanna use that
kernel for my P4?

/cjk
-- 
begin 644 carljohan_at_kjellander_dot_com.gif
Y1TE&.#=A(0`F`(```````/___RP`````(0`F```"@XR/!\N<#U.;+MI`<[U(>\!UGQ9BGT%>'D2I
Y*=NX,2 at OUF2&<827ILW;^822C>\7!!Z1,!K'B5(6H<SH-"E*TJ3%*/>QI6:7"A>Y?):D2^*U at NCV
R<MOQ=]V(B6>LZYD-_T1U<@3W]A4(^$-W4]A#V")W6#.R"$;IR'@).46BN7$9>5D``#L`




More information about the fedora-devel-list mailing list