Bug 170206 - booty does not make use of grub's stage 1.5 loaders
Summary: booty does not make use of grub's stage 1.5 loaders
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: booty
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-09 01:41 UTC by Steven Elliott
Modified: 2008-03-09 07:26 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-09 07:26:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Elliott 2005-10-09 01:41:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.0.6-1.2.fc3 Firefox/1.0.6

Description of problem:
booty does not make use of grub's stage 1.5 boot loaders, which understand filesystems well enough to load the next stage (stage2).  Consequently, the first sector of stage2 must not move as it is hard coded in the 512 byte stage1 boot sector.

This may pose a problem for users that aren't aware of how boot loaders work who might attempt to restore /boot from a backup copy, not knowing that it will change the first sector of stage2 and render the system unbootable.

Version-Release number of selected component (if applicable):
booty-0.44-1 - now

How reproducible:
Always

Steps to Reproduce:
1. Use the "blocklist" command in the "grub" shell to get the blocklist of /boot/grub/stage2
2. Make a backup copy of stage2
    cp stage2 stage2.bak
3. Delete the original
    rm stage2
4. Check that the first sector of the blocklist of stage2 has changed.
5. Make sure that all unused sectors are overwritten.
    cp /dev/zero /boot # fails when it is full
    sync
    rm /boot/zero
6. Attempt to boot.

Actual Results:  The stage1 boot loader fails because the first sector of stage2 has changed.

Expected Results:  booty should just trust grub to install correctly by doing the equivalent of
    root (hd - wherever)
    setup
in the grub shell.


Additional info:

A possibe downside might be performance (an additional loader), but at 8k I can't immagine the stage 1.5 loader slows things down much.

Another downside might be if Fedora does not want to tamper with the loader installed to the first tack (data immediately after the boot sector).  But that existing data is probably irrelevant once grub is installed since it probably has to do with the provious boot loader, if any.

Comment 1 Christian Iseli 2007-01-20 00:40:06 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 2 petrosyan 2008-03-09 07:26:58 UTC
Fedora Core 4 is no longer maintained.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.


Note You need to log in before you can comment on or make changes to this bug.