Re: [PATCH] Build info documentation

2009-09-22 Thread Vladimir 'phcoder' Serbinenko
Colin Watson wrote: > I'm not quite sure I've got everything right here, so please review. > > It seemed much simpler to add everything to Makefile.in than to go > through conf/*.rmk for this, as there's no platform-specific work to be > done here. > > 2009-09-15 Colin Watson > > Build in

Re: Current Grub2 & problem with /boot on different drive

2009-09-22 Thread Vladimir 'phcoder' Serbinenko
Try attached WIP patch Dean Loros wrote: > Greetings-- > > Well Vladimir, the modification to grub.cfg makes a 20sec > difference--times went from 3 min 50 sec to 3 min 30 sec--better, but > still a "bit" long :) So I would say that option #3 has very little > effect & I really do not want to hard

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/21 Stefan Bienert : >> This is my grub-mkimage line: >> grub-mkimage -o grub.efi part_gpt hfsplus fat ext2 normal chain boot >> configfile part_apple appleldr >> >> Next I try to include all modules. >> >> greetings, >> >> Stefan > > OK, now I've included ALL modules BUT kernel in yesterdays

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Stefan Bienert
>>> This is my grub-mkimage line: >>> grub-mkimage -o grub.efi part_gpt hfsplus fat ext2 normal chain boot >>> configfile part_apple appleldr >>> >>> Next I try to include all modules. >>> >>> greetings, >>> >>> Stefan >> OK, now I've included ALL modules BUT kernel in yesterdays SVN version >> and

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/22 Stefan Bienert : This is my grub-mkimage line: grub-mkimage -o grub.efi part_gpt hfsplus fat ext2 normal chain boot configfile part_apple appleldr Next I try to include all modules. greetings, Stefan >>> OK, now I've included ALL modules BUT ke

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Stefan Bienert
>>> timeout=10 >>> >>> menuentry "Gentoo Linux 3 NOAGB NOEFI" { >>> root=(hd1,3) >>> loadbios /boot/vbios.bin /boot/int10.bin >>> linux /boot/kernel-2.6.27-gentoo-r8-n root=/dev/sda4 video=efifb >>> agp=off noefi >>> } >>> >>> menuentry "MacOSX" { >>> root=(hd1,2) >>> chainloader /us

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Michal Suchanek
2009/9/22 Stefan Bienert :  timeout=10 menuentry "Gentoo Linux 3 NOAGB NOEFI" {     root=(hd1,3)     loadbios /boot/vbios.bin /boot/int10.bin     linux /boot/kernel-2.6.27-gentoo-r8-n root=/dev/sda4 video=efifb agp=off noefi } menuentry "MacOSX" { >

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Stefan Bienert
Michal Suchanek wrote: > 2009/9/22 Stefan Bienert : > timeout=10 > > menuentry "Gentoo Linux 3 NOAGB NOEFI" { > root=(hd1,3) > loadbios /boot/vbios.bin /boot/int10.bin > linux /boot/kernel-2.6.27-gentoo-r8-n root=/dev/sda4 video=efifb > agp=off noefi > }

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Felix Zielcke
Am Dienstag, den 22.09.2009, 19:34 +0200 schrieb Stefan Bienert: > Michal Suchanek wrote: > > > > Unfortunately. grub refuses to pass on vga=ask for me. vga=ask only works with the old linux loader, linux16. But that isn't avaible in EFI because in EFI you can't load the kernel with its 16 bit en

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Stefan Bienert
Felix Zielcke wrote: > Am Dienstag, den 22.09.2009, 19:34 +0200 schrieb Stefan Bienert: >> Michal Suchanek wrote: >>> Unfortunately. grub refuses to pass on vga=ask for me. > > vga=ask only works with the old linux loader, linux16. > But that isn't avaible in EFI because in EFI you can't load the

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Felix Zielcke
Am Dienstag, den 22.09.2009, 19:54 +0200 schrieb Stefan Bienert: > Felix Zielcke wrote: > > Am Dienstag, den 22.09.2009, 19:34 +0200 schrieb Stefan Bienert: > >> Michal Suchanek wrote: > >>> Unfortunately. grub refuses to pass on vga=ask for me. > > > > vga=ask only works with the old linux loader

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Bean
On Wed, Sep 23, 2009 at 1:54 AM, Stefan Bienert wrote: > Felix Zielcke wrote: >> Am Dienstag, den 22.09.2009, 19:34 +0200 schrieb Stefan Bienert: >>> Michal Suchanek wrote: Unfortunately. grub refuses to pass on vga=ask for me. >> >> vga=ask only works with the old linux loader, linux16. >> B

grub core size

2009-09-22 Thread James Courtier-Dutton
Hi, I am using grub 2. The stage 1 bit of grub, that stores itself in the partition table and the following sectors, seems to be quite large. I have a HP server system that only has 32 512-bytes sectors free before the first partition but the grub core does not fit in there. It seems to need more

Re: grub core size

2009-09-22 Thread Felix Zielcke
Am Dienstag, den 22.09.2009, 19:41 +0100 schrieb James Courtier-Dutton: > Hi, > > I am using grub 2. > The stage 1 bit of grub, that stores itself in the partition table and > the following sectors, seems to be quite large. > I have a HP server system that only has 32 512-bytes sectors free > befo

Save boot record before writing to the dest_drive

2009-09-22 Thread James Courtier-Dutton
Hi, I think this would be a good feature, because if nothing else, I permits the user to "uninstall grub" if they so wish. So, if a user has installed Linux, so that their system now dual boots Windows and Linux, and they then decide to uninstall Linux and return to a Windows only setup. It should

Re: Save boot record before writing to the dest_drive

2009-09-22 Thread Lars Nooden
James Courtier-Dutton wrote: > I think this would be a good feature, because if nothing else, I > permits the user to "uninstall grub" if they so wish. I would disagree with the use case described, but agree that having the ability to roll back to the previous boot record could possibly be of valu

Re: Save boot record before writing to the dest_drive

2009-09-22 Thread James Courtier-Dutton
2009/9/22 Lars Nooden : > James Courtier-Dutton wrote: >> I think this would be a good feature, because if nothing else, I >> permits the user to "uninstall grub" if they so wish. > > I would disagree with the use case described, but agree that having the > ability to roll back to the previous boot

Re: Save boot record before writing to the dest_drive

2009-09-22 Thread Lars Nooden
James Courtier-Dutton wrote: > So, if one did a dd backup of the boot sector and the embedded area > before the first partition, is there a tool that can replace those > sectors but do it safely. E.g. Only replace the number of sectors that > fit before the first partition, and preserve the curren

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Stefan Bienert
> Hi, > > You can try my repo at at http://github.com/bean123/grub/, I believe > it has some uncommitted patches for the EFI platform. > > You can use the following menuentry: > > menuentry "Gentoo Linux 3 NOAGB NOEFI" > { > root=(hd1,3) > fakebios > linux /boot/kernel-2.6.27-gentoo-

grub-install for FreeBSD

2009-09-22 Thread Andrey Shuvikov
Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to use different commands instead. I'm not sure it's the right way to handle this difference but it worked. The patch is attached.

Re: Save boot record before writing to the dest_drive

2009-09-22 Thread kashyap garimella
Hi !, On Wed, Sep 23, 2009 at 12:52 AM, James Courtier-Dutton < james.dut...@gmail.com> wrote: > 2009/9/22 Lars Nooden : > > James Courtier-Dutton wrote: > >> I think this would be a good feature, because if nothing else, I > >> permits the user to "uninstall grub" if they so wish. > > > > I woul

Re: grub-install for FreeBSD

2009-09-22 Thread Seth Goldberg
Hi, Quoting Andrey Shuvikov, who wrote the following on Tue, 22 Sep 2009: Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to use different commands instead. I'm not sure it's

Re: Grub2 and Efi (MacBook 5,1)

2009-09-22 Thread Bean
On Wed, Sep 23, 2009 at 4:12 AM, Stefan Bienert wrote: >> Hi, >> >> You can try my repo at at http://github.com/bean123/grub/, I believe >> it has some uncommitted patches for the EFI platform. >> >> You can use the following menuentry: >> >> menuentry "Gentoo Linux 3 NOAGB NOEFI" >> { >>     root

Re: grub-install for FreeBSD

2009-09-22 Thread Vladimir 'phcoder' Serbinenko
Andrey Shuvikov wrote: > Hello, > > I tried to install Grub2 under FreeBSD but grub-install failed because > readlink doesn't understand -f and stat doesn't have -c. I edited > grub-mkconfig_lib.in to use different commands instead. I'm not sure it's the > right way to handle this difference but