Skip to content

Instantly share code, notes, and snippets.

@2called-chaos
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2called-chaos/3fae02f7e3d24be2b413 to your computer and use it in GitHub Desktop.
Save 2called-chaos/3fae02f7e3d24be2b413 to your computer and use it in GitHub Desktop.
(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