kxylxp / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

How to switch to harddisk when usb is not plugin? #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a NB, c:/menu.lst
And a USB d:/menu.lst

I wish when I plugin USB, it boot from USB.
When the USB plug-out, it .boot from c:/menu

So, I set c:/menu.lst as

title boot from usb
find --set-root /usb.tag
configfile /menu.lst
fallback 1

title boot c:/ windows
....

What steps will reproduce the problem?
When I boot from my c:/ without USB, it will failed on first title with error 
code 15.

What is the expected output? What do you see instead?
I want it automatic jump to 2nd title.

What version of the product are you using? On what operatigng system?
2011-02-21 grub4dos-chenall

Please provide any additional information below.

Original issue reported on code.google.com by dlin...@gmail.com on 3 Mar 2011 at 11:53

GoogleCodeExporter commented 8 years ago
Sorry, I've solved this by myself.
The answer is:

I should put the fallback line on first line after title.

Original comment by dlin...@gmail.com on 3 Mar 2011 at 12:58

GoogleCodeExporter commented 8 years ago
.

Original comment by chenall.cn on 4 Mar 2011 at 5:44