[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i386-pc target and no block lists
From: |
Andrei Borzenkov |
Subject: |
Re: i386-pc target and no block lists |
Date: |
Fri, 14 Aug 2015 17:12:45 +0300 |
On Fri, Aug 14, 2015 at 3:29 PM, Olaf Hering <address@hidden> wrote:
> Last night I finally got around to update my grub1 chainloader to grub2.
> During install of the bootloader I ran into this issue:
>
> grub-install: warning: Embedding is not possible. GRUB can only be installed
> in this setup by using blocklists. However, blocklists are UNRELIABLE and
> their use is discouraged..
>
> I think everyone just gets around this message by always passing
> --do-it-anyway to grub2-install. At least the distro I'm using does
> this.
>
> But since the system I just reinstalled is still fresh I wonder what
> needs to be done to avoid the --do-it-anyway option?
If device onto which you install contains filesystem it has to provide
enough space to embed core.img outside of filesystem space. In
practice this means btrfs - the only besides zfs that reserves enough
space. Or install grub in MBR, 1MiB is enough.
>
> Right now I can not
> imagine how the partition/filesystem layout has to look like.
>
> Olaf
>
>
> esprimo:~ # parted -s /dev/disk/by-id/wwn-0x50014ee2590ff8f9 unit s print
> odel: ATA WDC WD6400BEVT-2 (scsi)
> Disk /dev/sda: 1250263728s
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number Start End Size Type File system Flags
> 1 2048s 4196351s 4194304s primary ext3 boot,
> type=83
> 2 4196352s 6293503s 2097152s primary ext2
> type=83
> 3 6293504s 23070719s 16777216s primary linux-swap(v1)
> type=82
> 4 23070720s 1250263727s 1227193008s extended lba,
> type=0f
> 5 23072768s 111153151s 88080384s logical ext4
> type=83
> 6 111155200s 199235583s 88080384s logical fat32
> type=83
> 7 199237632s 287318015s 88080384s logical ext4
> type=83
> 8 287320064s 375400447s 88080384s logical ext3
> type=83
> 9 375402496s 463482879s 88080384s logical ext4
> type=83
> 10 463484928s 1250263727s 786778800s logical xfs
> type=83
>
There was really no need to post the whole trace. And such question is
better asked on help-grub.