Installation Test
Ubuntu on Acer Aspire One D255E 13444
home top contents previous up next


Apparently:

Having "Windows Recovery" option is unsafe for unexperienced family members who accidently can press and follow it ...
Ubunty is not safe and not user friendly in this case ...
No "legal" solution as of November 6, 2011.
The "balanced risk" solution is:

sudo gedit /boot/grub/grub.cfg &
copy (into clipboard) section like ### BEGIN /etc/grub.d/30_os-prober ###
sudo gedit /etc/grub.d/40_custom &
paste to the bottom
rem out unsafe menuentry, "Windows Recovery Environment"
sudo gedit /etc/default/grub &
add at the end: GRUB_DISABLE_OS_PROBER='true'
sudo update-grub


This is still risk-trade-off:
risk:	it is unknown how safe is to use hard-copied option --set=root D8922B20922B029C
		and unknown will be this number changed from boot to boot or from Ubuntu update to update
		and what it does mean at all
		this is the same as to drive with blind eyes on highway ...

"disencouraged" commenting out this menu entry in /boot/grub/grub.cfg is less risky way, 
although too manually annoying from update to update


############ helpful details: #######################

1. /etc/grub.d/40_custom will be like:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### BEGIN /etc/grub.d/30_os-prober ###
#
#MAY BE A REAL DANGER:
#
#menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
#       insmod part_msdos
#       insmod ntfs
#       set root='(/dev/sda,msdos1)'
#       search --no-floppy --fs-uuid --set=root 220E2AA70E2A73C7
#       drivemap -s (hd0) ${root}
#       chainloader +1
#}
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(/dev/sda,msdos2)'
        search --no-floppy --fs-uuid --set=root D8922B20922B029C
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

/etc/grub.d/40_custom (END) 



############ #Credit: http://ubuntuforums.org/showthread.php?t=1195275 #######################
	in section: 
		Removing Entries from Grub 2 
			Automatically.
			Too Many Kernels?
				Too Many Operating Systems?
					...sudo chmod -x /etc/grub.d/30_os-prober
					...GRUB_DISABLE_OS_PROBER='true' in /etc/default/grub

#but still faulty: one cannot leave/disable entry selectively
!!! this option even is not LISTED!: GRUB_DISABLE_OS_PROBER


############ help?: #########################
http://members.iinet.net/~herman546/p20/GRUB2%20Configuration%20File%20Commands.html#Editing_etcdefaultgrub
http://ubuntuguide.net/manually-addingremoving-entries-to-grub-2-menu
http://ubuntuguide.net/3-ways-setting-xpvistawindows-7-as-default-bootup-os-in-grub-2



In Public Domain. Created (C) 2011 by Konstantin Kirillov