[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
manual write of boot code to disk root
From: |
kgrbf |
Subject: |
manual write of boot code to disk root |
Date: |
Wed, 30 Mar 2011 00:30:13 -0400 |
I've been using this for many many years when I wanted to write boot code to
the root sector using an off-standard menu file with grub-legacy
Typical example:
grub > root (hd0,1)
grub > install /boot/grub/stage1 (hd0) /boot.grub/stage2 p /WHEREVER/mymenu.boo
It has been working so well that I want the exact analog procedure for grub2.
The features I need are
the ability to set the menu file anywhere during boot code deployment and the
ability to edit that file periodically without having to repeat the procedure
the ability to set the disk root where boot code will be written (normally hd0)
How do I do that, preferably with a single direct command line that can also be
included in a bash script?
TIA
- Re: Full documentation for GRUB2, Treutwein Bernhard, 2011/03/24
- Re: Full documentation for GRUB2, kf, 2011/03/25
- Re: Full documentation for GRUB2, Patrick Strasser, 2011/03/29
- Re: Full documentation for GRUB2, Chris Murphy, 2011/03/29
- Re: Full documentation for GRUB2, Colin Watson, 2011/03/29
- RE: Full documentation for GRUB2, Leslie Rhorer, 2011/03/29
- Re: Full documentation for GRUB2, Isaac Dupree, 2011/03/29
- Re: Full documentation for GRUB2, Colin Watson, 2011/03/29
- RE: Full documentation for GRUB2, Leslie Rhorer, 2011/03/30
- Re: Full documentation for GRUB2, Colin Watson, 2011/03/31
- Re: Full documentation for GRUB2, address@hidden, 2011/03/31
- Re: Full documentation for GRUB2, Colin Watson, 2011/03/31
- Re: Full documentation for GRUB2, Isaac Dupree, 2011/03/31
- Re: Full documentation for GRUB2, Colin Watson, 2011/03/31