I wrote the scripting support.
The patch can be found under http://phcoder.hut1.ru/bash.patch
As in this version there is no arithmethic support I added commands true5 and
false 5 for testing
They return five times true and then false (true5) or inverse (false5)
TODO:
1) Positional arguments li
Goal: Make the computer load a linux system every certain amount of times, this system would restoe from backup other system installed on a different partition.Reason: When untechnical users (aka my little brother at my father's house) are using the windows system they tend to ruin it (installing
You can use grub-set-default command (shipped with grub legacy), which
should be easily ported for windows (if your boot partition is readable by win).
(It is shell script.).
http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dset_002ddefault
Then you can do all the logic in wind
Vladimir Serbinenko <[EMAIL PROTECTED]> writes:
> I wrote the scripting support.
> The patch can be found under http://phcoder.hut1.ru/bash.patch
This URL does not work for me.
--
Marco
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu
I wrote the scripting support.
The patch can be found under http://phcoder.hut1.ru/bash.patch
This URL does not work for me.
Could you try to enter the site (http://phcoder.hut1.ru/) then click on
Scripting support->patch for scripting support. It seems that hoster
blocks if you try
As I'm planning to use it as a recovery console I
prefer loading linux won't be dependable of loading
windows, but that it'll be loaded on its on each week
or each 10 boots. It seems to me that grub requires a
very small patch in order to make partitionX loaded 10
times and then to go back to defau
E Leibovich <[EMAIL PROTECTED]> writes:
> Specs: A home system running windows on partition /dev/hda1 wishes
> to have the content of /dev/hda1 partition recovered once in a
> while, and upon request from a file stored on a different
> partition. The system should also be able to update the image
So what needs to be done is place an image back once in a while. It
should be possible to create a GRUB command for that, I guess. :-)
Why a command? A better way, IMO, is using some variables stored in file.
It could be presented as array SAVED_INTEGER of integers and SAVED_FLAGS
of flag
GRUB 1.91 built from latest CVS snapshot with a fresh bootstrap of GCC
3.4.4 and binutils 2.16.91.0.3 thus :
[EMAIL PROTECTED] ~]$ gcc -v
Reading specs from
/home/dclarke/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/home/dclarke/local
--with
Do you suggest me to run a script from linux that will
make grub run windows after 10 times? I ment that the
system will run windows (possibly XP) 10 times, and
then run linux once. Altering grub from XP is not so
simple, and exept relying on the XP to recover itself
(IE switch to "boot from linux"
On Thursday 27 Oct 2005 17:03, E Leibovich wrote:
> As I'm planning to use it as a recovery console I
> prefer loading linux won't be dependable of loading
> windows, but that it'll be loaded on its on each week
> or each 10 boots. It seems to me that grub requires a
> very small patch in order to
On Oct 27, 2005, at 1:45 PM, Dennis Clarke wrote:
ok printenv boot-device
boot-device hd:0 (eth)
I then boot GRUB like so :
boot hd:1 /grub/grubof.modules
This may be the problem. Is that how you normally boot? What about
"boot hd:1,/grub/grubof.modules" -- does that
On Saturday 22 October 2005 01:53 pm, Timothy Baldwin wrote:
> That is exactly my point. POSIX uses off_t as a byte counts into files, the
> type we are discussing the name of is used for sector counts.
OK. That makes sense.
However, I do not like grub_sector_t. For me, this is still an address o
On Saturday 22 October 2005 04:46 pm, Vladimir Serbinenko wrote:
> I propose the following argorithm. Bison parser transforms the text-form
> to internal form of a linked list of commands with some special commands
> like jump if last value was true, ... . Think about assembler. Then it's
> execute
On Sunday 23 October 2005 04:31 am, Hollis Blanchard wrote:
> Will you update the links on http://www.gnu.org/software/grub/ and
> http://www.gnu.org/software/grub/grub-2.en.html, and maybe add a
> redirect from http://www1.autistici.org/grub/moin.cgi/FrontPage (for
> people who have bookmarks)?
T
On Sunday 23 October 2005 04:57 am, Hollis Blanchard wrote:
> On Oct 21, 2005, at 5:20 PM, Timothy Baldwin wrote:
> > Normal mode ls leaks disk handles because it doesn't close files
> > properly.
> > grub_vsprintf doesn't terminate a string it passes to grub_strtoul.
>
> Have these fixes been appl
On Sunday 23 October 2005 01:24 pm, Vesa Jääskeläinen wrote:
> I made a draft how video subsystem could work. It doesn't currently
> contain information about internals, but is more concentrated on usage
> of the API.
It looks good.
> In order to make GRUB 2's video subsystem more flexible, there
On Sunday 23 October 2005 11:38 pm, Paul Bolle wrote:
> No. The problem was that I had installed the GRUB files not in the
> default directory (but in /boot/grub2) while grub-mkimage will not
> change the grub_prefix variable found in the kernel.img.
>
> This might suggest to add an option to grub-
18 matches
Mail list logo