2009/6/2 Giorgos <gio...@gm...>
> Hi! :-)
>
> Some time ago, I made an image for my ubuntu jaunty partition (ext4
> formated), with clonezilla live cd.
> Recently, after downloading the latest clonezilla version, I restored
> the image and after restoring the files, I received this error at grub
> restoration phase:
>
> Running: grub-install-no-floppy-root-directory=/tmp/hd_img.QiFQFv /dev/sda
>
> grub-probe: error: Cannot open '/boot/grub/devise_map'
>
> /usr/sbin/grub-install: line 374: [: =: unary operator expected
>
>
> Then the restoration just stopped, so after some time I pressed
> ctrl-alt-del and I restarted.
> My system became non-bootable (since grub was erratic), so I could
> only boot windows, booting from floppy (with gag).
>
> The usual way for restoring grub from ubuntu live cd not worked, so I
> made a fresh install (that corrected MBR) and I restored my image with
> clonezilla (at expert mode) unchecking (deselecting) the "Reinstall
> grub" option.
>
> OK! I'm new to Linux, so I need your help! :-)
> Everything seems to be OK now, but what went wrong?
>
>
> Thanks!!! :-)
> Giorgos.
>
this happened to me too . For linux image restoration, there are 2 thing you
had to do manually
1. edit fstab to reflect current device file name
2. install GRUB
to edit fstab
$ sudo fdisk -l
to check the right device name. Say your hd is /dev/sda and root partition
is sda1, mount it and edit fstab accordingly
$ sudo mount -t ext3 /dev/sda1 /mnt
$ sudo vi /mnt/etc/fstab
to install GRUB
$ sudo grub
grub> find /boot/grub/stage1
to check where GRUB should be installed, say the output is (hd0,0)
grub> root (hd0,0)
grub> setup (hd0)
output message should be positive and now you're done.
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Clonezilla-live mailing list
> Clo...@li...
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
>
--
Regards,
Umarzuki Mochlis
http://gameornot.net
|