[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No more GRUB legacy at install time since wheezy?



On Sat 25 Jun 2011 at 19:34:27 +0200, Camaleón wrote:

> El 25/06/11 19:01, Tom H escribió:
>
>> For grub2, there's also just one file to tweak, "/etc/default/grub",
>> and the CLI tools are more powerful.
>
> Are your sure?
>
> test@debian:~$ ls -l /etc/grub*
> total 52
> -rwxr-xr-x 1 root root 6711 may 31 10:46 00_header
> -rwxr-xr-x 1 root root 5407 ene 18 12:44 05_debian_theme
> -rwxr-xr-x 1 root root 5898 may 31 10:46 10_linux
> -rwxr-xr-x 1 root root 5982 may 31 10:46 20_linux_xen
> -rwxr-xr-x 1 root root 5975 may 31 10:46 30_os-prober
> -rwxr-xr-x 1 root root  214 may 31 10:46 40_custom
> -rwxr-xr-x 1 root root   95 may 31 10:46 41_custom
> -rw-r--r-- 1 root root  483 may 31 10:46 README

With Linux you have complete control - so you can alter any file you
wish. However, it is not usual (and maybe ill-advised) to change
00_header, 10_linux, 20_linux_xen or 30_os-prober. 40_custom is
completely under your control (there is an example in this thread) and
05_debian_theme could be customised.

> And /boot/grub is plenty of small files:

So? You can add to them but there is nothing to take away or alter.

> So let's say I want to disallow GRUB2 from including my Windows  
> partition at the menu... should I tweak /etc/default/grub or should I  
> dive into /etc/grub.d/os-prober, or...?

GRUB_DISABLE_OS_PROBER=true

in /etc/default/grub. It's documented. Alternatively be brutal and
uninstall os-prober.
>
>> If I were a betting man, I'd bet that grub1 won't be available in
>> Wheezy once it's published...
>
> And that was what I asked for, but I'm still waiting to see an official  
> statement for whatever decision they take. I can deal with either, but I  
> would like to be prepared for the worst ;-)

Some more old news.

http://lists.debian.org/debian-devel-announce/2009/09/msg00002.html

And there is always the Release Notes for Squeeze. If neither is
'official' enough you can always get the Profect Leader to make a
statement. :)

Prepare for the worst. You won't go far wrong.


Reply to: