PDA

View Full Version : [ubuntu] Ghost restore to VMware



esullivan
September 25th, 2008, 07:50 PM
We made a ghost image of a PC with Ubuntu 8.04 on it. The object was to move that PC to a VMWare machine to remove the footprint. We made the ghost image just fine. When we go to restore it, this is what the HD config looks like:

http://img140.imageshack.us/img140/5226/70373408dc9.th.jpg (http://img140.imageshack.us/my.php?image=70373408dc9.jpg)http://img140.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)

And after that we get this message:

http://img205.imageshack.us/img205/9748/61885269qe6.th.jpg (http://img205.imageshack.us/my.php?image=61885269qe6.jpg)http://img205.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)

The ghost restore continues as normal. When its done and we try and start it, it says "Grub" in the upper left for less then a second and then reboots and repeats.

Any thoughts on how to fix this and get it to boot normal?

esullivan
September 27th, 2008, 10:39 PM
Nobody has any thoughts huh?

Bakon Jarser
September 27th, 2008, 11:36 PM
Well, since nobody else had any thoughts I guess I'll take a shot, but I probably have no idea what I'm talking about.

If I had to guess I'd say that the problem is that grub is looking for the master boot record on the new machine and can't find it because there isn't one. You might be able to get it to boot with super grub.

esullivan
September 27th, 2008, 11:47 PM
Tried super grub, got the boot screen then it says:

"[ 53.853938] EXT3: failed to open journal device unknown-block (0,0): -6"

I can guess that the file system didn't like the ghost restore. Is there a tool to repair this? I have looked around nothing seemed to work.

Bakon Jarser
September 28th, 2008, 12:21 AM
http://service1.symantec.com/SUPPORT/on-technology.nsf/docid/2000042113083825

esullivan
September 28th, 2008, 12:44 AM
It's booting now, however it is having issues with the file system.

esullivan
September 28th, 2008, 04:06 PM
I got it. Ran Super Grub to repair boot then booted to intstall CD and ran sudo fsck /dev/sda1 to repair filesystem.

Thanks man!

HOWEVER, now I have a max res of 800x600. I would like it higher. Here is xorg.conf:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection


Any help?

Bakon Jarser
September 28th, 2008, 07:04 PM
I found this link (https://help.ubuntu.com/community/FixVideoResolutionHowto) on this site (http://www.linuxquestions.org/questions/ubuntu-63/intel-82845g-graphics-controller-352262/).

esullivan
September 29th, 2008, 03:06 PM
Got it working, THANKS!!!!