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

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



El 25/06/11 19:01, Tom H escribió:

On Fri, Jun 24, 2011 at 11:30 AM, Camaleón<noelamac@gmail.com>  wrote:

I also find GRUB legacy more suitable to my needs. I don't remember any
problem with it, I mean, nothing that could not be solved by manually
editing the "menu.lst" or by launching GRUB's legacy console from the
menu. It had a small set of options and files to tweak (compared to GRUB
2) but I see that as a plus rather than a weakness because that makes it
less vulnerable to flaws. Of course, I understand there are people with
new needs that find GRUB 2 perfect for them, so having both options
available in the installer is, IMO, a perfect deal :-)

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

test@debian:~$ cat /etc/grub.d/README

All executable files in this directory are processed in shell expansion order.

  00_*: Reserved for 00_header.
  10_*: Native boot entries.
  20_*: Third party apps (e.g. memtest86+).

The number namespace in-between is configurable by system installer and/or administrator. For example, you can add an entry to boot another OS as 01_otheros, 11_otheros, etc, depending on the position you want it to occupy in the menu; and then adjust the default setting via /etc/default/grub.

And /boot/grub is plenty of small files:

test@debian:~$ ls -l /boot/grub | wc -l
206

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...?

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 ;-)

Greetings,

--
Camaleón


Reply to: