Hi Everyone, I was wondering if someone could explain this one for me. Just installed Ubuntu Server on a system with one of those MegaRAID cards that labels itself as a RAID card but really isn't.
This system will NOT boot off disk #1 (or any disk) unless the disk is part of an "array" in the card. So you can't just make all disks blank, and not part of a megaraid fakeraid. Well, you CAN and you can even install Linux but the system then won't boot. So as per the usual way of doing things on this, I booted the system, and created a slightly smaller partition on disk, and installed linux then turned on the fake raid so the system could boot. However, the subiquity installer put the secondary GPT table at the very end of the disk - NOT at the end of the last partition - and so the MegaRAID stomped on it with it's magic data that says it's a fakeraid. See the following: root@mail:/home/tedm# fdisk -l The backup GPT table is corrupt, but the primary appears OK, so that will be used. Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: ST3500514NS Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disklabel type: gpt Disk identifier: ECD87039-FBAF-461D-BE83-2219FE361902 Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 4198399 4194304 2G Linux filesystem /dev/sda3 4198400 976771071 972572672 463.8G Linux filesystem Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: ST3500514NS Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disk /dev/sdc: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: ST3500514NS Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: ST3500514NS Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disklabel type: dos Disk identifier: 0x2acefccd Device Boot Start End Sectors Size Id Type /dev/sdd1 384 2923825151 2923824768 1.4T 83 Linux Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 460 GiB, 493921239040 bytes, 964689920 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disk /dev/md127: 465.64 GiB, 499972571136 bytes, 976508928 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 131072 bytes Disklabel type: gpt Disk identifier: 76B24F14-4127-498B-A1E7-D0F3B90FD377 Device Start End Sectors Size Type /dev/md127p1 2048 975177727 975175680 465G Linux filesystem root@mail:/home/tedm# Now, this is the second machine this has happened to me with, the first was a Dell which have this problem you have to have the fakeraid enabled or the BIOS won't boot the disk. The Dell does the same bitching about the GPT backup being corrupted. But it's been that way for years. I had been under the impression that the subiquity installer was smart enough to detect this and NOT put the backup GPT table right on the area with the fakeraid data but that is apparently not the case. Is there a solution to this during installation? I have read that supposedly I can relocate the backup GPT but I'm not thrilled about doing this on a live server. And I'm old school and have 20 years of pre-2TB machine experience were "back in our day" we used MBR which had no backup partition and never had a problem - the second GPT table seems to me to be as useful as teats of a boar - so aside from the utilities bitching about it, is this a "just live with it" thing? (On systems you don't want to spend the money on a real raid card and don't have onboard SATA/SAS JBOD controllers) Ted
