Thought, making a dual boot system along side Ubuntu would be a breeze but few issues proved it otherwise. Taking corrective measures all through out was the real highlight(It worked, and here is the log of the experience). So instead of naming it as yet another "Dual booting Ubuntu 18.04 with Win7" this is based on the bitlocker, GRUB, MBR, Windoz7. Thanks to the online material and Google. For further reference see links given at the end of the log.
Reimaging the device with win7 didn't allow disk space partitioning. So the whole disk space was allocated.
Before doing that be sure to disable the bitlocker.
To install ubuntu 18.04 on the device, made use of mini disk partition tool to shrink or resize the win partition.
Installed ubuntu 18.04 on the newly freed up disk space
Image shows partition sda5 to 9 used by linux.
GRUB is the new bootloader which also has entry for win7 and is installed in /dev/sda(MBR)
After loging into win7, was unable to activate bitlocker gave following error
Resized swap partition for grub 1st stage boot loader
Since windows installation disc was not available. To fixMBR with windows recovery option, Reboot the laptop
press f8 to get to the advanced boot options select Repair your computer option
select command prompt.
This will prompt for admin account
select command prompt
Show the video recording of how things work with bitlocker enabled and GRUB
also record the bootable grub 1st stage in usb - usb-grub.1.jpg
To check whether win7 uses UEFI or legacy BIOS
https://neosmart.net/wiki/bootrec/#If_you_don8217t_have_the_installation_disc-2
Difference between clean installation/reinstallation and reimaging
Image file is the exact copy of OS running on the specific HW along the the partition. It can only be installed on that specific HW. Clean installation can be installed on different HW with harddisk partitioning available at the time of installing. qwqwqwqwq
Taking corrective measures on the fly(as recollected from memory)
- Reimaged HP-elitebook folio 9470m with win7(Due to privacy policy won't be logging the complete image of how it was reimaged)
Reimaging the device with win7 didn't allow disk space partitioning. So the whole disk space was allocated.
- Resized/shrinked win7 partition
Before doing that be sure to disable the bitlocker.
To install ubuntu 18.04 on the device, made use of mini disk partition tool to shrink or resize the win partition.
- Installed linux with GRUB on MBR
Installed ubuntu 18.04 on the newly freed up disk space
Image shows partition sda5 to 9 used by linux.
GRUB is the new bootloader which also has entry for win7 and is installed in /dev/sda(MBR)
- Unable to activate bitlocker due to TPM issues
After loging into win7, was unable to activate bitlocker gave following error
- Created new parition in linux using gparted for GRUB 1st stage boot loader
Resized swap partition for grub 1st stage boot loader
- Took backup of GRUB on USB drive and in the home dir and wrote grub in that partition
sudo grub-install /dev/sdb
sudo dd if=/dev/sda of=/home/priya/linux.mbr.bin bs=512 count=1
- Fixed win7 mbr using system recovery console
Since windows installation disc was not available. To fixMBR with windows recovery option, Reboot the laptop
press f8 to get to the advanced boot options select Repair your computer option
select command prompt.
This will prompt for admin account
select command prompt
In the prompt
X:\windows\system32>bootrec /FixMbr
- Made an entry for ubuntu in windows bootloader
Now boot in windows and create an entry for GRUB in windows boot loader using bcdedit
append an entry for GRUB
Microsoft Windows Wersion 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\windows\system32>bcdedit /create /d "GRUB" /application BOOTSECTOR The entry {d3ffdlo3c-6316-1101-bba9-a0481c09207} was successfully created. C:\windows\system32>bcdedit /set {d3ffdlo3c-6316-1101-bba9-a0481c09207} device boot The operation completed successfully. C:\windows\system32>bcdedit /set {d3ffdlo3c-6316-1101-bba9-a0481c09207} device partition=C: The operation completed successfully. C:\windows\system32>bcdedit /set {d3ffdlo3c-6316-1101-bba9-a0481c09207} PATH \linuxmbr.bin The operation completed successfully. C:\windows\system32>bcdedit /displayorder {d3ffdlo3c-6316-1101-bba9-a0481c09207} /addlast The operation completed successfully. C:\windows\system32>bcdedit /timeout 10 The operation completed successfully. C:\windows\system32›.
- Bitlocker can be activated after populating mbr with windows bootloader
Show the video recording of how things work with bitlocker enabled and GRUB
also record the bootable grub 1st stage in usb - usb-grub.1.jpg
To check whether win7 uses UEFI or legacy BIOS
https://neosmart.net/wiki/bootrec/#If_you_don8217t_have_the_installation_disc-2
Image file is the exact copy of OS running on the specific HW along the the partition. It can only be installed on that specific HW. Clean installation can be installed on different HW with harddisk partitioning available at the time of installing. qwqwqwqwq
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.