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@xxxxxxxxx> 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/iu5673$sc5$1@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: GRUB loader hangs in to message "savedefault" in Debian etch and load error in Ubuntu.
    ... and it gets hung up. ... of the default configuration for GRUB on Debian. ... leading up to it and the text of the error message), ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Lenny + Dell PE 2970
    ... Is it imperative for you to stick with GRUB? ... I did try LILO the first time it happened and it failed to work as well. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: No more GRUB legacy at install time since wheezy?
    ... GRUB 2 strikes me as great, ... report unbootable systems with GRUB 2, and it seems to be difficult to edit. ... motherboards and motherboard bundles - but only briefly. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Repartitioning, difficult and easy.
    ... The I had to switch to grub since afaik LILO can't boot Xen which this box would hold. ... not having or being a physical device so I just switched back to /boot being on a seperate RAID Volume which works for me. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)