choz
New Member
- Joined
- Oct 25, 2018
- Messages
- 3
- Thread Author
- #1
Hello everybody!
As the title suggests, im in a bit of a rough one right now. I am not sure of this, but I am pretty sure I screwed my Windows bootloader on my machine.
I can't speak in boot lingo since I don't exactly know what to call everything, so I'll do my best at exlaining the situation. Hopefully some linux commands can help me do this.
These are the drives on my system:
With more detail:
As you can see, sdc is the drive that holds the EFI partition. I've recently switched between plenty of linux distributions, all dual booted from this drive, and everything worked out fine. With my latest install of linux, I messed up and now the EFI partition holds no information of Windows boot- at least that is what I think, since I formatted sdc2.
Nevertheless, my Windows install is on sda, and sdb is a drive for storage. sdc1 is also used for storage.
Regarding the purely-intended-for-Windows disk (sda), the partition sda1 has an asterisk on the boot column, but booting into it leads to a grub in rescue mode. This is probably due to previous dual boot setups on that drive.
Long story short, for now, I can ONLY boot into drive sdc, and that drive has the systemd-boot bootloader which I can use to get into Arch Linux.
Ideally, I hope to add an entry to systemd-boot bootloader to boot Windows, and I believe that can be done by having a Windows bootloader present somewhere and reinstalling the systemd-boot bootloader from Arch (the linux command 'bootctl --path=/boot install' (/boot being sdc2) has always given me an output referencing the acknowledgement of a windows partition. BUT! The most recent execution gave no such thing. So, since I know I can run that command again from Arch, I guess it could recognize a Windows bootloader if I manage to set one up.)
What can I do to fix this issue? It would be nice if I could at least boot into Windows again. Any advice as to recovering the ability to boot into windows or even resolve the issue as a whole are very much appreciated. I'm open to whatever kind of solution you can provide.
Thanks in advance!
As the title suggests, im in a bit of a rough one right now. I am not sure of this, but I am pretty sure I screwed my Windows bootloader on my machine.
I can't speak in boot lingo since I don't exactly know what to call everything, so I'll do my best at exlaining the situation. Hopefully some linux commands can help me do this.
These are the drives on my system:
Code:
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 500M 0 part
└─sda2 8:2 0 223.1G 0 part
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /mnt/FAT
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 589.6G 0 part
├─sdc2 8:34 0 512M 0 part /boot
├─sdc3 8:35 0 20.7G 0 part [SWAP]
├─sdc4 8:36 0 31G 0 part /
└─sdc5 8:37 0 289.1G 0 part /home
Code:
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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
Disklabel type: dos
Disk identifier: 0x5420c558
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 468856831 467830784 223.1G 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 8293B66F-9FF3-4627-B2FA-DBFBB03006A0
Device Start End Sectors Size Type
/dev/sdc1 264192 1236723711 1236459520 589.6G Microsoft basic data
/dev/sdc2 1236723712 1237772287 1048576 512M EFI System
/dev/sdc3 1238677504 1282080767 43403264 20.7G Linux swap
/dev/sdc4 1282080768 1347184639 65103872 31G Linux filesystem
/dev/sdc5 1347184640 1953525134 606340495 289.1G Linux filesystem
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 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
Disklabel type: dos
Disk identifier: 0x9493dc87
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 3907026943 3907024896 1.8T 7 HPFS/NTFS/exFAT
As you can see, sdc is the drive that holds the EFI partition. I've recently switched between plenty of linux distributions, all dual booted from this drive, and everything worked out fine. With my latest install of linux, I messed up and now the EFI partition holds no information of Windows boot- at least that is what I think, since I formatted sdc2.
Nevertheless, my Windows install is on sda, and sdb is a drive for storage. sdc1 is also used for storage.
Regarding the purely-intended-for-Windows disk (sda), the partition sda1 has an asterisk on the boot column, but booting into it leads to a grub in rescue mode. This is probably due to previous dual boot setups on that drive.
Long story short, for now, I can ONLY boot into drive sdc, and that drive has the systemd-boot bootloader which I can use to get into Arch Linux.
Ideally, I hope to add an entry to systemd-boot bootloader to boot Windows, and I believe that can be done by having a Windows bootloader present somewhere and reinstalling the systemd-boot bootloader from Arch (the linux command 'bootctl --path=/boot install' (/boot being sdc2) has always given me an output referencing the acknowledgement of a windows partition. BUT! The most recent execution gave no such thing. So, since I know I can run that command again from Arch, I guess it could recognize a Windows bootloader if I manage to set one up.)
What can I do to fix this issue? It would be nice if I could at least boot into Windows again. Any advice as to recovering the ability to boot into windows or even resolve the issue as a whole are very much appreciated. I'm open to whatever kind of solution you can provide.
Thanks in advance!