When I first bought this Lenovo Ideapad
in November 2014, it came with a bunch of… well, useless apps to me.
So I decided to remove all those useless apps and leave as well as install those that serve their purpose well for us, especially for my husband.
This laptop is dual-booting with Arch Linux
that is used solely and mainly by me. I do not normally use Windows
, but there are occasions where my husband needs to use this laptop. Obviously, the only OS he needs is Windows
.
Since I love to mess up with this laptop by ‘instilling a great sense of geekiness inside me’, I had to create a custom recovery image
which can be copied to a bootable usb drive.
Guided by tutorial from these two entries; Custom recovery image in Windows 8 and 8.1 and Windows 8.1 – Unable to “Copy Recovery Partition” when building Recovery Drive?, I did the following things to prepare the system backup that I can restore in critical times:-
custom recovery image
by launching Command Prompt
as Admin
and then run the following command:-recimg -CreateImage C:\RefreshImage
An imaged named CustomRefresh.wim
created by default thus resided in the RefreshImage
folder as per command.
recimg /showcurrent
CustomRefresh.wim
image to INSTALL.WIM
. Actually, this is not needed because I would register it as recovery image
by putting the path to it with the step after anyway but for the sake of following the tutorial, I did this. Meaningless, I know.recovery image
:-REAGENTC /SetOSImage /Path C:\RefreshImage\INSTALL.WIM /Index 1
REAGENTC /Info
The line where it says Recovery image location
should produce a long line output.
recovery drive
on a usb stick with the box at the bottom reading 'Copy the Recovery Partition from the PC to the recovery drive
' checked.Grub2
Menuentry for booting Windows:-Basically, it looks like the following:-
if [ "${grub_platform}" == "efi" ]; then
menuentry "Microsoft Windows 8.1" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 BA93-BCDC
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
fi