Portál AbcLinuxu, 31. července 2025 13:00
for i in /dev/sd[abcde]; do grub-install $i; donea mělo by být hotovo
file -s /dev/sda
/dev/sda: x86 boot sector; partition 1: ID=0xee, starthead 0, startsector 1, 3907029167 sectors, extended partition table (last)\011, code offset 0x4c
root@ubuntu:/home/chinook# file -s /dev/sda1
/dev/sda1: x86 boot sector, code offset 0x63
root@ubuntu:/home/chinook# file -s /dev/sda2
/dev/sda2: LVM2 (Linux Logical Volume Manager) , UUID: FjTOCDth1Ma6rxeMD02Q3iqRLhndVPD
vse jsem namountoval do mnt a v chrootu zadal:
grub-install /dev/sda
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
Jak mam udelat at se grub hodi jen na partition /dev/sd[abcde]1?
grub-install /dev/sda
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
error: superfluous RAID member (4 found).
Installation finished. No error reported.
A system nabootoval bez problemu. Jak to dostanu na ty disky?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.