help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub -set up-


From: Andrei Borzenkov
Subject: Re: grub -set up-
Date: Tue, 2 Dec 2014 21:12:24 +0300

В Tue, 2 Dec 2014 16:56:06 +0200
Angelo Moreschini <address@hidden> пишет:

> 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

I assume this is your Linux partition. In this case you can do

set root=hd0,msdos1
linux /boot/vmlinuz
initrd /boot/initrd
boot

You may need to provide additional kernel parameters, you should know
better which ones are needed. You can also look around which files are
there using

ls (hd0,msdos1)/
ls (hd0,msdos1)/boot

etc. grub also supports file completion using TAB.

> 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
> --------------------
> 
> On Tue, Dec 2, 2014 at 4:48 PM, Angelo Moreschini <address@hidden
> > wrote:
> 
> > Hi
> >
> > I booted my computer from a hard disk where I restored the image of SO
> > Fedora that I made with Clonezilla
> >
> > When I opened the computer,  I got the grub prompt instead of the boot of
> > Fedora.
> >
> > The dialog where is the Grub prompt say:
> > --------------
> > Gnu Grub version 2.02~beta2-11
> > minimal BASH-like line editing is supported. For the first word, Tab list
> > possible command completions. Anywhere else TAB list possible device or
> > file completions.
> >
> > Grub > ....
> > ----------------------
> > Of course I need to do a new setup of GRUB that was lost when I made the
> > image of the disk using the Grub prompt command.
> > It is hard for me understand how I can do this setup  .. (I didn't find
> > any  complete list of the commads that I can use).
> >
> > Could I have an help ?
> >
> > Thank you
> >
> > Regards
> >
> > Angelo
> >




reply via email to

[Prev in Thread] Current Thread [Next in Thread]