Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th November 2006, 11:49
cuongtim cuongtim is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating image with Systemimager

Dear all,

I follow the guideline in http://www.howtoforge.com/howto_linux_systemimager to create an image using Systemimager.
When I run si_prepareclient --server myserver
and choose YES for both questions, then failed with the following output:
Using "sfdisk" to gather information about disk:
/dev/sda

start: (c,h,s) expected (1023,254,63) found (1023,0,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,7)
Use of uninitialized value in hash element at /usr/lib/systemimager/perl/SystemI
mager/Common.pm line 1042, <FH_IN> line 8.
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/scsi/scsi_mod.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/scsi/sd_mod.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/scsi/libata.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/scsi/ata_piix.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/fs/jbd/jbd.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/fs/ext3/ext3.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/net/sk98lin/sk98lin.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/snd-page-alloc.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/soundcore.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/snd.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/snd-timer.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/snd-pcm.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/oss/snd-mixer-oss.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/oss/snd-pcm-oss.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/seq/snd-seq-device.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/seq/snd-seq.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/seq/snd-seq-midi-event.
ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/seq/oss/snd-seq-oss.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/core/seq/snd-seq-dummy.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/pci/hda/snd-hda-codec.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/sound/pci/hda/snd-hda-intel.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/i2c/i2c-core.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/i2c/busses/i2c-i801.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/usb/host/ehci-hcd.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/usb/host/uhci-hcd.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/net/ipv6/ipv6.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/crypto/md5.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/acpi/ac.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/acpi/battery.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/acpi/button.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/acpi/video.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/md/dm-mod.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/net/sunrpc/sunrpc.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/net/bluetooth/bluetooth.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/net/bluetooth/l2cap.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/net/bluetooth/rfcomm/rfcomm.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/fs/autofs4/autofs4.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/parport/parport.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/char/lp.ko
Adding: /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/parport/parport_pc.ko
>>> Filesystem for new initrd: ext2
>>> Creating new initrd from: /tmp/.systemimager.4
>>> New initrd mount point: /tmp/.systemimager.5
>>> dd if=/dev/zero of=/etc/systemimager/boot/initrd bs=1024 count=23680
23680+0 records in
23680+0 records out

>>> mke2fs -b 1024 -m 0 -N 640 -F /etc/systemimager/boot/initrd
mke2fs 1.37 (21-Mar-2005)
/etc/systemimager/boot/initrd: Permission denied while setting up superblock[/COLOR]
>>> rm -fr /tmp/.systemimager.4 /tmp/.systemimager.5

FAILED: mke2fs -b 1024 -m 0 -N 640 -F /etc/systemimager/boot/initrd at /usr/lib/
systemimager/perl/SystemImager/UseYourOwnKernel.pm line 723.




I install systemimager-server 3.6.3-2 in my Debian 3.1 and systemimager-client 3.6.3-1 in Fedora Core 4.

Any help would be very appreciated.

Cuongtim
Reply With Quote
Sponsored Links
  #2  
Old 16th November 2006, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by cuongtim
Dear all,

I follow the guideline in http://www.howtoforge.com/howto_linux_systemimager to create an image using Systemimager.
When I run si_prepareclient --server myserver
and choose YES for both questions, then failed with the following output:
Using "sfdisk" to gather information about disk:
/dev/sda

start: (c,h,s) expected (1023,254,63) found (1023,0,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
start: (c,h,s) expected (1023,254,63) found (1023,1,7)
Use of uninitialized value in hash element at /usr/lib/systemimager/perl/SystemI
mager/Common.pm line 1042, <FH_IN> line 8.
There seems to be something wrong with your partitions. How did you partition your hard drive? What's in /etc/fstab?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th November 2006, 03:50
cuongtim cuongtim is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default RE:Creating image with Systemimager

Dear Falko,

Here is the display of /etc/fstab:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda7 swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0

Cuongtim
Reply With Quote
  #4  
Old 18th November 2006, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Looks ok. I guess then that the problem is caused by using different SystemImager versions on the server and the client.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problems installing NForce4 sound drivers Wraithfire Installation/Configuration 21 16th April 2006 17:30
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 12:59
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48
Systemimager and pushupdate csoky HOWTO-Related Questions 2 12th November 2005 21:34


All times are GMT +2. The time now is 07:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.