Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne <doug@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 13:53:34 -0600
On Fri, 28 Apr 2006 09:10:49 -0700, iforone wrote:
<snip>
Douglas Mayne wrote:
I could post a grub bootable CD image if you think that would help.
This would most certainly help me in the future :-)
Thanks for giving me the opportunity to post this. I think a tool like
this would be useful. Obviously, there are rescue discs which can do some
of the same things. I have one of my own, for example (Doesn't everyone?):
http://www.xmission.com/~ddmayne2/10.2-live/index.html
But that is a bigger download, and if you are only in need of
fixing the loader, then perhaps this smaller tool will suffice. Here is
Grub version 0.97 written as an iso image. It is a small image for sure
(less that 1M expanded.) I tested it quickly with VMWare, and it appears
to work. Notice that there is no default menu, it will drop you directly
at the grub boot command line. From there you must enter commands
appropriate for your system. For example:
Example 1:
grub> rootnoverify (hd0,0)
grub> makeactive
grub> chainloader +1
grub> boot
Example 2:
grub> root (hd1,0)
grub> kernel /boot/vmlinuz ro root=/dev/hdb1
grub> boot
Example 3:
grub> rootnoverify (hd1)
grub> chainloader +1
grub> boot
Review the grub documentation here for more usage details:
http://www.gnu.org/software/grub/manual/html_node/index.html
-- NO WARRANTY (A DISCLAIMER) --
Use of this software is subject to the provisions of the GPL license:
http://www.xmission.com/~ddmayne2/grub/COPYING
The statement below emphasizes the "No Warranty" provisions of the GPL (see
Sections 11 and 12 of the above document.) This statement applies to this
software project, a bootable iso image which encapsulates the grub
loader, v0.97:
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Source Code: The source code for grub is widely available on the internet.
Here is one location:
ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
I used the version compiled from the Slackware (r) Linux Project, version
10.2:
http://mirrors.xmission.com/slackware/slackware-10.2/extra/source/grub/grub-0.97.tar.gz
http://mirrors.xmission.com/slackware/slackware-10.2/extra/grub/grub-0.97-i486-1.tgz
Specific Instructions:
1. Obtain software (compressed image and checksum) here:
http://www.xmission.com/~ddmayne2/grub/v0.97/grub.iso.gz
http://www.xmission.com/~ddmayne2/grub/v0.97/md5sums
These are the correct values:
45a81605715e1a557317bfcfa3e99191 grub.iso
acb3abf4a252b605c8b54c46da6b428c grub.iso.gz
2. Expand image and verify MD5SUM checksum:
# cat grub.iso.gz | gzip -cd >grub.iso
# md5sum -c md5sums
3. Burn and verify the iso image file, grub.iso using the cd writing tool
of your choice. Remember: this is the cd _image_.
4. Test booting system with new cd. See examples above.
Here are some more points to consider when using grub, as I have
written earlier when testing grub:
http://groups.google.com/group/comp.os.linux.setup/msg/86f68934908589ba
Specifically, use extreme caution installing grub on the partition of
advanced filesystems, such as ReiserFS, XFS, JFS.
The grub project continues to do very good work, and I look forward to
grub, version 2.
(r) Slackware is a registered trademark of Patrick Volkerding and the
Slackware Linux Project.
--
Douglas Mayne
.
- Follow-Ups:
- References:
- Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: iforone
- Problems reinstalling grub/lilo (they always hang at boot time ...)
- Prev by Date: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Next by Date: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Previous by thread: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Next by thread: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Index(es):
Relevant Pages
|