On Mon, Dec 1, 2014 at 2:20 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: > On Mon, Dec 1, 2014 at 9:31 AM, Angelo Moreschini > <mrangelo.fedora@xxxxxxxxx> wrote: >> Hi, >> >> I tried Clonezilla. >> I made an image-backup of the disk where Fedora is installed, and after I >> restored, on the same disk, the image that I backuped . >> Actually, when I boot the disk where there is the restored image,at the >> begin I get the prompt of the GRUB . >> >> I know that I didn't use Clonezilla in correct mode (probabilly I could >> backup the disck with better option to include the GRUB installation) . >> But in this moment I woud like to make setup of GRUB (from the command line) >> for booting Fedora. >> >> Can I have some suggestions how to do it? >> >> From the prompt of GRUB I wrote this command line: >> and I got this output: >> >> ------------------- >> GRUB > ls -l >> device proc: filesystem type procfs sector size 512 total size 0KiB >> device hd0: no know filesystem detected sector size 512 B total size ....... >> partition hd0, msdos2: no know filesystem detected partion start at .. >> tot size >> partition hd0, msdos1: filesystem type ext* last mod ..partion start >> at .. tot sz >> device hd1: no know filesystem detected sector size 512 B total size ....... >> partition hd1, msdos1: filesystem type ext* label try_clonezilla last >> mod. ...partion start at .. tot sz >> -------------------- > > I'm not following this really. GRUB2 doesn't do setup from command > line, and its command line doesn't accept 'ls -l' as a command. Interesting. UEFI systems with GRUB consider ls -l considers -l an invalid filename so I get an error. But on BIOS systems, this command does work. Anyway, if you find Fedora netinstall or DVD media, and add boot parameter 'rescue' (without the quotes) then you'll get a rescue interface. Accept all the defaults for each page, and then at the end when you get the prompt do # chroot /mnt/sysimage # grub2-install /dev/sdX ## where X is the letter designation for your drive # grub2-mkconfig -o /boot/grub2/grub.cfg This installs GRUBs parts, and will also create a new grub.cfg. The old grub.cfg would probably work so it's possible you could skip creating a new one. -- Chris Murphy -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org