Jump to content











Photo
- - - - -

Grub4dos / bootlace: suppress offer to boot old mbr

grub4dos

  • Please log in to reply
8 replies to this topic

#1 trueriver

trueriver

    Newbie

  • Members
  • 22 posts
  •  
    United Kingdom

Posted 10 February 2013 - 07:26 PM

hi everyone,

 

It is good to be back - I was around on diddy.bootland some years ago just about when grub4dos 0.4.4 was released. Seems a long time ago now, and since then I have forgotten something I once knew.

 

I am preparing a usb stick for booting. I copied grldr into /grub , created menu.lst there too.

 

I used bootlace.com to write the mbr, and I am working from Linux.

 

Every thing works, but one thing is not perfect. I get a prompt immediately on booting giving me the choice to boot from the old MBR. I do not want this choice. I do not want to wait 5sec or to press a key.

 

So, how do I suppress this on the existing usb that displays this behaviour?

 

And more importantly, please, what form of the bootlace.com command should I have used in the first place? I have tried

 

 

bootlace.com /dev/sdX
bootlace.com --no-backup-mbr /dev/sdX

 

and I have tried the bootlace from versions 0.4.4 and from 0.4.5c

 

I even tried to zero the first megabyte with dd so there was no mbr - but it *still* gives me the option to boot from it.

 

What am I doing wrong, please? I just *know* it will be something obvious but I can't see it...

 

River~~

 

edits: typos, added tag=grub4dos


Edited by trueriver, 10 February 2013 - 07:50 PM.


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13331 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2013 - 07:49 PM

grub4dos readme:
 
Would these be pertinent?
 
 
 

******************************************************************************
*** grldr.mbr - Details about the control bytes ***
******************************************************************************

...

bit7=1: try to boot PREVIOUS MBR after the search for GRLDR
bit7=0: try to boot PREVIOUS MBR before the search for GRLDR

 
 

 
******************************************************************************
*** bootlace.com - Install GRLDR.MBR bootstrap code to MBR ***
******************************************************************************

...

--boot-prevmbr-first try to boot PREVIOUS MBR before the search for GRLDR.

--boot-prevmbr-last try to boot PREVIOUS MBR after the search for GRLDR.
 

 
:dubbio:
 
:cheers:
Wonko



#3 trueriver

trueriver

    Newbie

  • Members
  • 22 posts
  •  
    United Kingdom

Posted 10 February 2013 - 08:48 PM

Sadly, no they are not

 

I have tried

./bootlace.com --boot-prevmbr-last --no-backup-mbr /dev/sdb

and still get the message which is something like "Press hot key to boot previous MBR, any other key to load GRLDR"

and a timeout which counts down from 5 to zero.

 

Maybe these commands select what happens if GRLDR is not found, but they do not suppress the initial prompt.

 

River~~


Would these be pertinent?

 

...
 
 --boot-prevmbr-first try to boot PREVIOUS MBR before the search for GRLDR.

--boot-prevmbr-last try to boot PREVIOUS MBR after the search for GRLDR.



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13331 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2013 - 09:04 PM

And what if you set timeout to 0? :unsure:

 

--time-out=T wait T seconds before booting PREVIOUS MBR. if T is 0xff, wait forever. The default is 5.

 

There is at least a "silent" build, but cannot say if it avoids that:

http://reboot.pro/to...-loading-grldr/

 

Or you could install it to the PBR and use *any* normal MBR instead. :unsure:

 

:cheers:

Wonko



#5 trueriver

trueriver

    Newbie

  • Members
  • 22 posts
  •  
    United Kingdom

Posted 10 February 2013 - 09:04 PM

but the tip about where to look was very helpful :idea:

 

The command that does what I want is

 

./bootlace.com --time-out=0 --no-backup-mbr /dev/sdb

 

Thanks Wonko! :-)

 

by the way, I think I remember your name from the old forums... and you are still just as helpful now :clap:

 

River~~

 

grub4dos readme:
 


#6 trueriver

trueriver

    Newbie

  • Members
  • 22 posts
  •  
    United Kingdom

Posted 10 February 2013 - 09:07 PM

hey - we posted the solution at the same time :loleverybody:



#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13331 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2013 - 09:39 PM

by the way, I think I remember your name from the old forums... and you are still just as helpful now :clap:

WHICH Forums? :dubbio: I am Wonko (the Sane) only here on bootland reboot.pro for the known reasons:

http://reboot.pro/to...-all-the-bytes/

 

 

hey - we posted the solution at the same time :loleverybody:

Sure, great minds think alike ;).

 

:cheers:

Wonko



#8 trueriver

trueriver

    Newbie

  • Members
  • 22 posts
  •  
    United Kingdom

Posted 13 February 2013 - 10:14 PM

WHICH Forums? :dubbio: I am Wonko (the Sane) only here on bootland reboot.pro for the known reasons:

http://reboot.pro/to...-all-the-bytes/

 

 

yep:  bootland was what I meant by "the old forums"

 

- for example I seem to remember it being bootland when I posted http://reboot.pro/to...bit/#entry67442 for example... 

 

regards, River~~



#9 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13331 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 13 February 2013 - 10:53 PM

yep:  bootland was what I meant by "the old forums"

 

- for example I seem to remember it being bootland when I posted http://reboot.pro/to...bit/#entry67442 for example... 

 

regards, River~~

I see the missing "link" was that trueriver=river~~, but that's good, since at the time I was "plain" jaclaz and not this alternate reality Wonko (the Sane).

 

:cheers:

Wonko







Also tagged with one or more of these keywords: grub4dos

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users