Originally Posted by
oldfred
Not sure about server installer, but desktop always defaults to sda. But during install at partitioning stage you should get the option on which drive to install grub2's boot loader.
If you can boot you can just install grub to any drive.
sudo fdisk -l
#if it's "/dev/sdb" then just run:
sudo grub-install /dev/sdb
if sdc use that instead. And then in BIOS boot from that drive.
Did you use gpt partitioning on SSD? To install correctly with gpt it also need a bios_grub partition if booting in BIOS mode.
Well, I used the built in partitioning function in the installer, the one that is blue and yellow
I can boot just fine from sda which happens to be disk 1 in my RAID1 array. The computer tries to boot from sdc since that's where / is (I guess) but nothing happens since GRUB apparently installed to sda.
So if I do the sudo grub-install /dev/sdc GRUB should install on my SSD (given that this is sdc) as an identical copy of whatever GRUB is on sda currently?
Code:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003b28c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 3907028991 1953513472 fd Linux raid autodetect
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006e3d1
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3907028991 1953513472 fd Linux raid autodetect
Disk /dev/sdc: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009a110
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 85938175 42968064 83 Linux
/dev/sdc2 85938176 117229567 15645696 82 Linux swap / Solaris
Disk /dev/md0: 2000.3 GB, 2000263380992 bytes
2 heads, 4 sectors/track, 488345552 cylinders, total 3906764416 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Bookmarks