Menu

How clonezilla live detects grub1 or grub2?

Help
ansantos
2011-01-27
2013-04-05
  • ansantos

    ansantos - 2011-01-27

    Hi, I cloned a disk with an installation of XBMCLive. Since I was having some problems with grub2, I decided to remove it and install grub1. To do that, I did:
    apt-get purge grub2 grub-pc
    apt-get install grub
    However, when restoring the image, Clonezilla detects that the system has grub2 instead of grub1. How does Clonezilla guess the grub version?

    Thanks

     
  • Steven Shiau

    Steven Shiau - 2011-02-01

    Basically Clonezilla will find if the files /boot/grub/*.mod exist, if so, it will assume the restored OS is using grub 2.
    In your case, you can try to remove the files /boot/grub/*.mod.
    The detection codes are in /opt/drbl/sbin/ocs-functions, you can find "*.mod".
    If you have better suggestion, please let us know. Thanks.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.