Hide windows from boot menu?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
At home the laptop is vin7 + on top of Ubuntu. At startup menu appears the boot loader (grub) where you select several options of running Linux and Windows the last line.

Question: is it possible to hide this menu Windows, so that by pressing a magic button he did, or immediately loaded? I.e. that there are no reminders to do with the download.
by | 5 views

7 Answers

0 like 0 dislike
1) copy-paste the line associated with Windows from grub.cfg to /etc/grub.d/40_custom, rename as necessary
2) remove the ill-fated os-prober
3) sudo update-grub
by
0 like 0 dislike
And if not laziness for Windows to type in multiple lines, you can do to remove mention of it from the menu:
1) Aluchem prober: sudo chmod -x /etc/grub.d/30_os-prober
2) Updated menu: sudo update-grub
During boot, when the menu appears, press 'c' to see the console grub'. Dial:
\rroot (hd0,1)
chainloader +1
boot

See Windows. If it is not on the first partition of the disk, to write root(hd0,1) to root(hd0,partition number with Windows).
by
0 like 0 dislike
 cat /boot/grub/menu.lst | grep title title CentOS (2.6.18-164.15.1.el5) title CentOS (2.6.18-164.11.1.el5) title CentOS (2.6.18-164.el5) title WinXP 

Rename the entry "WinXP", for example, in "failsafe CentOS (2.6.18-164.el5)"
Optionally, set a password on grub.
by
0 like 0 dislike
it is possible, but not so, it is possible to disguise under say an older version of the kernel, and can be excluded from downloading, but then will have to manually set the path initialization.
\r
And how to do it depends on the version of rude
\r
to know the version of the coarse command
\r
dpkg-l | grep grub
\r
and have this dance
by
0 like 0 dislike
You can even hide the menu by setting GRUB_HIDDEN_TIMEOUT from /etc/default/grub, read more here.
by
0 like 0 dislike
Perhaps, in the directory /etc/grub.d is the file 30_os-prober, which is the command update-grub finds the Windows and grub.cfg it prescribes. Then the os-prober and ought to be eliminated, so it is otherwise called Windows.
by
0 like 0 dislike
If only one version of Windows, you can just replace the above
\rmenuentry "${LONGNAME} (on ${DEVICE})" {
on
\rmenuentry "In quotes simply specify the desired name" {
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,033 users