Essence_of_War
Platinum Member
I have an SSD and an HDD in my desktop. Their partition layout is as follows:
SSD :
Device Boot Start End Blocks Id System
/dev/sda1 2048 426959504 213478728+ 7 HPFS/NTFS/exFAT
/dev/sda2 * 426959505 488391145 30715820+ 83 Linux
HDD :
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 3775957167 1887875160 7 HPFS/NTFS/exFAT
/dev/sdb3 3775959040 3907028991 65534976 82 Linux swap / Solaris
So basically a 200ish GB (/dev/sda1) partition for windows system and a 30ish GB (/dev/sdb2) partition for Linux on the SSD. A ~100 MB (/dev/sdb1) system reserved partition, an almost 2TB (/dev/sdb2) NTFS partition for storage, and a 64 GB (/dev/sdb3) partition for linux's swap space.
I wanted to upgrade the hard drive to a 4 TB one, and while I was at it, switch over to GPT. I didn't really give much thought to the system reserved partition before on /dev/sdb1 before, but I'm pretty sure it's actually my windows bootloader. When GRUB loads at boot time, the menu entry is "Windows 7 (on /dev/sdb)" and I'm not really sure how it got there. I installed windows to my SSD alone, then installed ubuntu, and told ubuntu to put GRUB on /dev/sda. I double checked that GRUB is on /dev/sda by dd'ing the first 512 bytes piped to strings and it comes up with what I'd expect to see for GRUB.
So...what do I do here? 😕 I guess I could just clone the whole drive and I'd be fine, but this seems like a good opportunity to get the bootloader back in the right place maybe, like with the rest of the windows system drive.
SSD :
Device Boot Start End Blocks Id System
/dev/sda1 2048 426959504 213478728+ 7 HPFS/NTFS/exFAT
/dev/sda2 * 426959505 488391145 30715820+ 83 Linux
HDD :
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 3775957167 1887875160 7 HPFS/NTFS/exFAT
/dev/sdb3 3775959040 3907028991 65534976 82 Linux swap / Solaris
So basically a 200ish GB (/dev/sda1) partition for windows system and a 30ish GB (/dev/sdb2) partition for Linux on the SSD. A ~100 MB (/dev/sdb1) system reserved partition, an almost 2TB (/dev/sdb2) NTFS partition for storage, and a 64 GB (/dev/sdb3) partition for linux's swap space.
I wanted to upgrade the hard drive to a 4 TB one, and while I was at it, switch over to GPT. I didn't really give much thought to the system reserved partition before on /dev/sdb1 before, but I'm pretty sure it's actually my windows bootloader. When GRUB loads at boot time, the menu entry is "Windows 7 (on /dev/sdb)" and I'm not really sure how it got there. I installed windows to my SSD alone, then installed ubuntu, and told ubuntu to put GRUB on /dev/sda. I double checked that GRUB is on /dev/sda by dd'ing the first 512 bytes piped to strings and it comes up with what I'd expect to see for GRUB.
So...what do I do here? 😕 I guess I could just clone the whole drive and I'd be fine, but this seems like a good opportunity to get the bootloader back in the right place maybe, like with the rest of the windows system drive.