bugGNU GRUB - Bugs: bug #27593, Install grub 1.97 beta3 on floppy

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27593: Install grub 1.97 beta3 on floppy

Submitted by:  Igor <booster>
Submitted on:  Sun 04 Oct 2009 02:07:25 PM UTC  
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  Bazaar - trunk Reproducibility:  None
Planned Release:  None

( Jump to the original submission)

Sat 19 Dec 2009 09:30:51 PM UTC, comment #9: 

This was fixed with grub-mkrelpath

Vladimir Serbinenko <phcoder>
Project Administrator
Mon 05 Oct 2009 09:20:01 AM UTC, comment #8: 

GRUB Legacy can load the core.img as a kernel.
Almost the same as you load that GRUB 2 directly.
And then you can use "ls (memdisk)/" or "cat (memdisk)/boot/grub/grub.cfg" etc. pp.
But you can only access it with the GRUB 2 commands.

Felix Zielcke <fzielcke>
Project Member
Sun 04 Oct 2009 11:59:57 PM UTC, comment #7: 

Thank you, Felix. "--overlay=" works good.

>There won't be a filesystem on it. Only the GRUB which gets there >installed can read the files in the included memdisk.


With grub 0.97 is it possible?

Igor <booster>
Sun 04 Oct 2009 04:59:59 PM UTC, comment #6: 

Oh right. I thought we removed everything specific to GRUB Legacy from it before enabling it in `make install'

Well same answer: grub-mkrescue
Just look at it's --help output, A CD image is even the default.

Felix Zielcke <fzielcke>
Project Member
Sun 04 Oct 2009 04:45:54 PM UTC, comment #5: 

>Because you looked at the GRUB Legacy manual.


Why? This manual is for GNU GRUB (version 1.97~beta3, 7 Ago 2009).

How to make a bootable cd with grub 1.97?

Igor <booster>
Sun 04 Oct 2009 03:56:58 PM UTC, comment #4: 

Because you looked at the GRUB Legacy manual.
The GRUB 2 isn't yet that complete and it doestn't mention how to ues grub-mkrescue.

Felix Zielcke <fzielcke>
Project Member
Sun 04 Oct 2009 03:54:16 PM UTC, comment #3: 

Thank you for answer. I am sorry for post 3 times.
I read grub documentation and surprised.

Also:
3.2 Making a GRUB bootable CD-ROM
For booting from a CD-ROM, GRUB uses a special Stage 2 called
‘stage2_eltorito’.
$ cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub

But I don`t found stage2_eltorito in folder i386-pc.
stage2_eltorito exist in grub 0.97.

Igor <booster>
Sun 04 Oct 2009 03:30:21 PM UTC, comment #2: 

I don't get why you need to post 3 times the whole text.
Anyway --root-directory= and blocklists are currently broken. Known bug.

To create a floppy image you can use grub-mkrescue and --overlay=overlay/ to include custom files, though only overlay/boot gets included.
There won't be a filesystem on it. Only the GRUB which gets there installed can read the files in the included memdisk.

Felix Zielcke <fzielcke>
Project Member
Sun 04 Oct 2009 02:10:59 PM UTC, comment #1: 

Sorry. I don`t know how to edit post.

3)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --force --root-directory=/mnt /dev/fd0

grub-setup: warn: Attempting to install GRUB to a partitionless disk. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/mnt/boot/grub/core.img' correctly

Floppy do not boot.

Igor <booster>
Sun 04 Oct 2009 02:07:25 PM UTC, original submission:  

I try install grub on floppy disk.

1)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt fd0

Error:
grub-probe: error: Cannot stat `fd0'
Invalid device `fd0'.

2)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

Error:
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: If you really want blocklists, use --force.

# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

3)
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/mnt/boot/grub/core.img' correctly

Floppy don`t boot. I try install grub on floppy disk.

1)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt fd0

Error:
grub-probe: error: Cannot stat `fd0'
Invalid device `fd0'.

2)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

Error:
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: If you really want blocklists, use --force.

# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

3)
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/mnt/boot/grub/core.img' correctly

Floppy don`t boot.I try install grub on floppy disk.

1)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt fd0

Error:
grub-probe: error: Cannot stat `fd0'
Invalid device `fd0'.

2)
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

Error:
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: If you really want blocklists, use --force.

# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# grub-install --root-directory=/mnt /dev/fd0

3)
grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea.
grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/mnt/boot/grub/core.img' correctly

Floppy don`t boot.

Igor <booster>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by booster (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-19 phcoder Releaseother => Bazaar - trunk
        StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.7