grub-devel
[Top][All Lists]
Advanced

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

obtaining hard disk from partition or file or slice


From: Adrián
Subject: obtaining hard disk from partition or file or slice
Date: Thu, 19 Oct 2006 09:09:47 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

Is there available on grub2 a command or function that works this way:

IN: (hd0,1)
OUT: (hd0)

and that also works this way:

IN: (hd0,1)/boot/grub/grub2.cfg
OUT: (hd0)

and also...

IN: (hd0,1,c)
OUT: (hd0)

that we can call hd_from()

?

As you might guess I will use this function in conjunction of search
command to automatise a grub2 reinstallation.

And other similar functions... as isolating the partition part of a given
"grub url" or the slice part ?

adrian15




reply via email to

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