onemorepash
April 20th, 2017, 05:28 PM
Hi all,
About a year ago I've gotten a work laptop with two disks: HDD (sda) and SSD (sdb) with Windows installed on the SSD.
Well, I thought, I install Ubuntu on the HDD and keep Windows on the SSD with UEFI boot menu. So I did but had some issues with Ubuntu UEFI boot. After some struggling (it was quite ugly, BTW, I spent several nights of my life for this), reading forums and playing around with BIOS options I managed to boot Ubuntu finally. So I used it for some time and thought that I could boot Windows, if I need it, anytime with UEFI boot menu.
But no. My UEFI boot menu just doesn't have Windows option:
user@laptop:~$ sudo efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0014,000A,000F,000B,0012,0013,0010,000C,000D,000E, 0000,0001,0002,0003,0004,0005,0006,0007,0008,0009, 0011
Boot0000 Startup Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008 Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009 HP Recovery FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* ubuntu HD(1,GPT,05f49f04-0eff-4b32-80d4-45ba170b9554,0x800,0xee000)/File(\EFI\ubuntu\shimx64.efi)....ISPH
Boot000B* SanDisk SD7TN3Q-256G-1006 PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,0,0)N.....YM....R,Y.....ISPH
Boot000C* HGST HTS725050A7E630 : BBS(HD,HGST HTS725050A7E630 : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)......ISPH
Boot000D* SanDisk SD7TN3Q-256G-1006 : BBS(HD,SanDisk SD7TN3Q-256G-1006 : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,0,0)......ISPH
Boot000E* Intel Corporation: IBA CL Slot 00FE v0106 BBS(Network,Intel Corporation: IBA CL Slot 00FE v0106,0x0)/PciRoot(0x0)/Pci(0x1f,0x6)......ISPH
Boot000F USB: PciRoot(0x0)/Pci(0x14,0x0)N.....YM....R,Y.....ISPH
Boot0010 USB: BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0011 Network Boot FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012* IPV4 Network - Intel(R) Ethernet Connection (H) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(ec8eb591c961,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)N.....YM....R,Y.....ISPH
Boot0013* IPV6 Network - Intel(R) Ethernet Connection (H) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(ec8eb591c961,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0014* rEFInd Boot Manager HD(1,GPT,05f49f04-0eff-4b32-80d4-45ba170b9554,0x800,0xee000)/File(\EFI\refind\refind_x64.efi)
However I am sure my Windows partitions including the EFI one are there:
user@laptop:~$ sudo parted /dev/sdb
GNU Parted 3.2
Utilisation de /dev/sdb
Bievenue sur GNU Parted ! Tapez 'help' pour voir la liste des commandes.
(parted) print
Modèle: ATA SanDisk SD7TN3Q- (scsi)
Disque /dev/sdb : 256GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : msdos
Disk Flags:
Numéro Début Fin Taille Type Système de fichiers Fanions
1 1049kB 1076MB 1075MB primary ntfs démarrage
2 1076MB 235GB 234GB primary ntfs
3 235GB 254GB 18,5GB primary ntfs
4 254GB 256GB 2147MB primary fat32
(parted) ^C
user@laptop:~$ sudo mount /dev/sdb1 /mnt/tmp/
user@laptop:~$ cd /mnt/tmp/
Boot/ Recovery/ $RECYCLE.BIN/ System Volume Information/
user@laptop:~$ cd /mnt/tmp/
user@laptop:~$ ls
Boot bootmgr BOOTNXT BOOTSECT.BAK bootsqm.dat Recovery $RECYCLE.BIN SYSTEM System Volume Information
I played around a bit with boot-repare, installed rEFInd, as you can see, but didn't find a way to restore Wndows boot entry in UEFI.
Not that I really need it today, and probably never will, but as it's a work laptop, you never know what your IT managers might decide tomorrow.
The question is how to fix this. I've heard about Windows repair disk but first it requires a working Windows machine with admin privileges to create it, second I am afraid to break my linux boot which is quite critical as I use this thing every day for work.
So if anyone have an idea of a plan to avoid too much of dangerous experimenting, I would appreciate it.
Regards,
Pavel
About a year ago I've gotten a work laptop with two disks: HDD (sda) and SSD (sdb) with Windows installed on the SSD.
Well, I thought, I install Ubuntu on the HDD and keep Windows on the SSD with UEFI boot menu. So I did but had some issues with Ubuntu UEFI boot. After some struggling (it was quite ugly, BTW, I spent several nights of my life for this), reading forums and playing around with BIOS options I managed to boot Ubuntu finally. So I used it for some time and thought that I could boot Windows, if I need it, anytime with UEFI boot menu.
But no. My UEFI boot menu just doesn't have Windows option:
user@laptop:~$ sudo efibootmgr -v
BootCurrent: 0014
Timeout: 0 seconds
BootOrder: 0014,000A,000F,000B,0012,0013,0010,000C,000D,000E, 0000,0001,0002,0003,0004,0005,0006,0007,0008,0009, 0011
Boot0000 Startup Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008 Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009 HP Recovery FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* ubuntu HD(1,GPT,05f49f04-0eff-4b32-80d4-45ba170b9554,0x800,0xee000)/File(\EFI\ubuntu\shimx64.efi)....ISPH
Boot000B* SanDisk SD7TN3Q-256G-1006 PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,0,0)N.....YM....R,Y.....ISPH
Boot000C* HGST HTS725050A7E630 : BBS(HD,HGST HTS725050A7E630 : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)......ISPH
Boot000D* SanDisk SD7TN3Q-256G-1006 : BBS(HD,SanDisk SD7TN3Q-256G-1006 : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,0,0)......ISPH
Boot000E* Intel Corporation: IBA CL Slot 00FE v0106 BBS(Network,Intel Corporation: IBA CL Slot 00FE v0106,0x0)/PciRoot(0x0)/Pci(0x1f,0x6)......ISPH
Boot000F USB: PciRoot(0x0)/Pci(0x14,0x0)N.....YM....R,Y.....ISPH
Boot0010 USB: BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0011 Network Boot FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012* IPV4 Network - Intel(R) Ethernet Connection (H) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(ec8eb591c961,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)N.....YM....R,Y.....ISPH
Boot0013* IPV6 Network - Intel(R) Ethernet Connection (H) I219-LM PciRoot(0x0)/Pci(0x1f,0x6)/MAC(ec8eb591c961,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0014* rEFInd Boot Manager HD(1,GPT,05f49f04-0eff-4b32-80d4-45ba170b9554,0x800,0xee000)/File(\EFI\refind\refind_x64.efi)
However I am sure my Windows partitions including the EFI one are there:
user@laptop:~$ sudo parted /dev/sdb
GNU Parted 3.2
Utilisation de /dev/sdb
Bievenue sur GNU Parted ! Tapez 'help' pour voir la liste des commandes.
(parted) print
Modèle: ATA SanDisk SD7TN3Q- (scsi)
Disque /dev/sdb : 256GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : msdos
Disk Flags:
Numéro Début Fin Taille Type Système de fichiers Fanions
1 1049kB 1076MB 1075MB primary ntfs démarrage
2 1076MB 235GB 234GB primary ntfs
3 235GB 254GB 18,5GB primary ntfs
4 254GB 256GB 2147MB primary fat32
(parted) ^C
user@laptop:~$ sudo mount /dev/sdb1 /mnt/tmp/
user@laptop:~$ cd /mnt/tmp/
Boot/ Recovery/ $RECYCLE.BIN/ System Volume Information/
user@laptop:~$ cd /mnt/tmp/
user@laptop:~$ ls
Boot bootmgr BOOTNXT BOOTSECT.BAK bootsqm.dat Recovery $RECYCLE.BIN SYSTEM System Volume Information
I played around a bit with boot-repare, installed rEFInd, as you can see, but didn't find a way to restore Wndows boot entry in UEFI.
Not that I really need it today, and probably never will, but as it's a work laptop, you never know what your IT managers might decide tomorrow.
The question is how to fix this. I've heard about Windows repair disk but first it requires a working Windows machine with admin privileges to create it, second I am afraid to break my linux boot which is quite critical as I use this thing every day for work.
So if anyone have an idea of a plan to avoid too much of dangerous experimenting, I would appreciate it.
Regards,
Pavel