Successfully boot from a floppy on a GPT partitioned 2.18TB system
From:
Poe Chen
Subject:
Successfully boot from a floppy on a GPT partitioned 2.18TB system
Date:
Tue, 24 Jan 2006 18:00:26 -0500
Just want to report that I've successfully boot from floppy with GRUB 1.92 on a GPT partitioned 2.18TB system.
The system is running CentOS 4.2 with latest updates and the RAID is running with 3WARE 9550SX with 8 hard drives/RAID50 configuration.
Here is the partition information:
# parted /dev/sda print Disk geometry for /dev/sda: 0.000-2288754.000 megabytes Disk label type: gpt Minor Start End Filesystem Name Flags
1 0.031 101.972 ext3 boot 2 101.975 4102.536 ext3 3 4102.537 6149.876 linux-swap 4 6149.876 2288753.983 ext3
GRUB v1.92 source code is downloaded and compile with yacc links to bison (otherwise the compilation will fail).
grub-install script seems to have an typo. It looks like in line 213 of util/i386/pc/grub-install.in, `--modules' should be '--modules' (the back tick should be just a single quotation mark).
Here is the contents of /boot/grub (it has legacy grub because I don't want to remove it until I'm sure that v1.92 works with GPT): ls /boot/grub/ acorn.mod fat.mod kernel.img splash.xpm.gz
affs.mod fat_stage1_5 _linux.mod stage1 amiga.mod ffs_stage1_5 linux.mod stage2 apple.mod font.mod loopback.mod sun.mod boot.img fshelp.mod
ls.mod terminal.mod boot.mod fs.lst minix.mod terminfo.mod cat.mod gpt.mod minix_stage1_5 test.mod _chain.mod grub.cfg moddep.lst
timeout.mod chain.mod gzio.mod _multiboot.mod ufs2_stage1_5 cmp.mod halt.mod multiboot.mod ufs.mod command.lst hello.mod normal.mod vbeinfo.mod configfile.mod
help.mod pc.mod vbe.mod core.img hfs.mod play.mod vbetest.mod default.mod hfsplus.mod pxeboot.img vesafb.mod device.map iso9660.mod reboot.mod
vga.mod diskboot.img iso9660_stage1_5 reiserfs_stage1_5 vstafs_stage1_5 e2fs_stage1_5 jfs.mod search.mod xfs.mod ext2.mod jfs_stage1_5 sfs.mod xfs_stage1_5
Here is the script that I use to create bootable floppy that supports GPT:
#!/bin/bash
#This will create a GRUB2 boot floppy that supports GPT system: