For dual boot installation.
http://www.sysresccd.org/SystemRescueCd_Homepage
dd if=/dev/sda of=mbr.bin bs=512 count=1
http://www.digitalcitizen.life/create-usb-memory-stick-system-recovery-tools
http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html
Showing posts with label Grub. Show all posts
Showing posts with label Grub. Show all posts
Tuesday, December 15, 2015
Thursday, December 3, 2015
grub.cfg windows entry
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-A8A8863CA88608D0' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 A8A8863CA88608D0
else
search --no-floppy --fs-uuid --set=root A8A8863CA88608D0
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sdb3)' --class windows --class os $menuentry_id_option 'osprober-chain-1ACA-FBDA' {
insmod part_gpt
insmod fat
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 1ACA-FBDA
else
search --no-floppy --fs-uuid --set=root 1ACA-FBDA
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 8 (loader) (on /dev/sdb5)' --class windows --class os $menuentry_id_option 'osprober-chain-6A18CDFA18CDC573' {
insmod part_gpt
insmod ntfs
set root='hd1,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 6A18CDFA18CDC573
else
search --no-floppy --fs-uuid --set=root 6A18CDFA18CDC573
fi
drivemap -s (hd0) ${root}
chainloader +1
}
Subscribe to:
Posts (Atom)