Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
(parted) select /dev/sda
Using /dev/sda
(parted) print
Model: ATA ST31500341AS (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 2147MB 2146MB primary linux-swap(v1) raid
2 2147MB 2684MB 537MB primary ext3 raid
3 2684MB 1500GB 1498GB primary ext4 raid
--------------
~# grub-install /dev/sda
Installation finished. No error reported.
(parted) select /dev/sdb
Using /dev/sdb
(parted) print
Model: ATA WDC WD15EARS-00M (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2147MB 2146MB linux-swap(v1) Linux RAID raid
2 2147MB 2684MB 537MB ext3 Linux RAID raid
3 2684MB 1500GB 1498GB ext4 Linux RAID raid
--------------
~# grub-install /dev/sdb
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment