| View previous topic :: View next topic |
| Author |
Message |
bigbangnet Apprentice


Joined: 11 Jun 2007 Posts: 174
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3930 Location: UK - Birmingham
|
Posted: Thu Jun 28, 2012 8:14 pm Post subject: |
|
|
| Quote: | [I] sys-boot/grub
Available versions:
(0) *0.92-r1 0.94-r1 0.96-r1 0.96-r2 (~)0.96-r3 (~)0.97 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 (~)0.97-r8 0.97-r9 0.97-r10 (~)0.97-r11 (~)0.97-r12
(2) **1.99-r2 **2.00_beta6 **2.00 **9999
|
_________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4389 Location: Suzhou, China
|
Posted: Fri Jun 29, 2012 8:41 am Post subject: |
|
|
Make sure to change your world file to have sys-boot/grub:0 (slot zero) to keep current grub, unless you want to downgrade to grub-2.  _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
bigbangnet Apprentice


Joined: 11 Jun 2007 Posts: 174
|
Posted: Fri Jun 29, 2012 12:02 pm Post subject: updates ! |
|
|
Time to do updates then. It seems I haven't done some in a while.  _________________ I'm a noob, be gentle with me. TEACH ME |
|
| Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 3911 Location: india
|
Posted: Sat Jun 30, 2012 2:32 pm Post subject: |
|
|
| yngwin wrote: | Make sure to change your world file to have sys-boot/grub:0 (slot zero) to keep current grub, unless you want to downgrade to grub-2.  |
how the world file has to be edited to get this effect?
right now my laptop is dead after todays update no bios showing up
can it be due to grub 2.00 ?/ _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
| Back to top |
|
 |
genstorm Advocate


Joined: 05 Apr 2007 Posts: 2241 Location: Austria
|
Posted: Sat Jun 30, 2012 3:29 pm Post subject: |
|
|
When there's not even BIOS showing up it can't be grub's fault. _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
| Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 3911 Location: india
|
Posted: Sat Jun 30, 2012 5:35 pm Post subject: |
|
|
the screen comes up once in 8 trials.
then once i saw an IDE#1 error,
i am able to boot gentoo installer cd and chroot and unmerged grub-2.00
there is something grub 2 has written in MBR and remerging grub 07 did not help
as chroot works fine i cant say hdd is faulty
how can i go about repairs? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Sat Jun 30, 2012 5:41 pm Post subject: |
|
|
is there a major diff between 1.99 and 2? I'm using 1.99 and I think that 2 might be better but I don't want to stay without a working system. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4810
|
Posted: Sat Jun 30, 2012 5:52 pm Post subject: |
|
|
| Well, technically 1.99 was (sort of) a (pre-)beta for 2.00. |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Sat Jun 30, 2012 6:31 pm Post subject: |
|
|
| VoidMage wrote: | | Well, technically 1.99 was (sort of) a (pre-)beta for 2.00. |
I know but it isn't a small program, if there is an issue, my comp won't boot and the wife will execute me on the spot... _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4810
|
Posted: Sat Jun 30, 2012 7:34 pm Post subject: |
|
|
| DaggyStyle wrote: | | VoidMage wrote: | | Well, technically 1.99 was (sort of) a (pre-)beta for 2.00. |
I know but it isn't a small program, if there is an issue, my comp won't boot and the wife will execute me on the spot... |
That's nothing. Have you tried installing grub2 to UEFI on an GPT partitioned disk from 10.0 LiveDVD ?
That was more than a bit tricky (due to lack of good docs and incomplete kernel support). |
|
| Back to top |
|
 |
wrc1944 Advocate

Joined: 15 Aug 2002 Posts: 2686 Location: Gainesville, Florida
|
Posted: Sat Jun 30, 2012 10:00 pm Post subject: |
|
|
When I saw this grub 2 update today, I quickly masked it (>=sys-boot/grub-2.00) in /etc/portage, and after reading developer yngwin's comment above, I slotted legacy grub in the world file. Am I safe from it now?
I have mixed experiences with grub 2 in other distros where I hardly ever build my own kernels, and didn't like it one bit. IMO, it's more trouble than the advertised advantages are worth, especially if you like to build a lot of your own kernels. Ditto for the UEFI bios. _________________ Main box- ASRock 880GM-LE AM3
Phenom II x6 1090T, 3.2 GHz, 8GB GSkill DDR3 1333mhz
Samsung SATA 500GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.17, gcc-4.7.2, kernel 3.8.11, 3.9.0 |
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3930 Location: UK - Birmingham
|
Posted: Sat Jun 30, 2012 11:24 pm Post subject: |
|
|
Well grub2 upgrade was actually REALLY simple.
I already use "make install" for new kernels so the auto gen script is aligned to the kernel names _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4389 Location: Suzhou, China
|
Posted: Sun Jul 01, 2012 4:29 am Post subject: |
|
|
| padoor wrote: | | yngwin wrote: | Make sure to change your world file to have sys-boot/grub:0 (slot zero) to keep current grub, unless you want to downgrade to grub-2.  |
how the world file has to be edited to get this effect? |
As root (or sudo), do:
| Code: | | sed -i -e 's|sys-boot/grub|sys-boot/grub:0|' /var/lib/portage/world |
| padoor wrote: | right now my laptop is dead after todays update no bios showing up
can it be due to grub 2.00 ?/ |
No. That sounds more like hardware failure. Either way, even if you have grub-2 installed, it shouldn't affect your boot unless you run grub-install.
| wrc1944 wrote: | | Am I safe from it now? |
Yes  _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Sun Jul 01, 2012 9:49 am Post subject: |
|
|
| VoidMage wrote: | | DaggyStyle wrote: | | VoidMage wrote: | | Well, technically 1.99 was (sort of) a (pre-)beta for 2.00. |
I know but it isn't a small program, if there is an issue, my comp won't boot and the wife will execute me on the spot... |
That's nothing. Have you tried installing grub2 to UEFI on an GPT partitioned disk from 10.0 LiveDVD ?
That was more than a bit tricky (due to lack of good docs and incomplete kernel support). |
I'm pretty sure I've tried and pretty sure I didn't done it right as my system boots . _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4810
|
Posted: Sun Jul 01, 2012 10:35 am Post subject: |
|
|
| Well, I'm not saying I didn't succeed in the end, but getting there was quite troublesome. |
|
| Back to top |
|
 |
hydrapolic n00b

Joined: 07 Feb 2008 Posts: 69
|
Posted: Mon Jul 02, 2012 11:22 am Post subject: |
|
|
A successful story of upgrading grub-0.97 to grub-2.00 on a pc:
# echo 'GRUB_PLATFORMS="pc"' >> /etc/make.conf
# emerge grub:2
# grub2-install /dev/sda
This produced a warning:
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track..
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track..
I zeroed out those sectors:
# dd if=/dev/zero of=/dev/sda bs=512 count=2 seek=32
# grub2-install /dev/sda
# cat /boot/grub2/grub.cfg
timeout=10
menuentry 'Gentoo 3.3.8' {
root=hd0,1
linux /kernel-3.3.8-gentoo root=/dev/sda2
}
Kernel is located at: /boot/kernel-3.3.8-gentoo
Thanks for the guide (http://wiki.gentoo.org/wiki/GRUB2_Quick_Start) and the effort ! |
|
| Back to top |
|
 |
SDNick484 Tux's lil' helper

Joined: 05 Dec 2005 Posts: 134
|
Posted: Tue Jul 03, 2012 6:04 pm Post subject: |
|
|
| Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? Like others, I've used it on non-Gentoo distros in the past and have not had a pleasant experience. |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Tue Jul 03, 2012 6:34 pm Post subject: |
|
|
| SDNick484 wrote: | | Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? |
No. And even on EFI, grub2 is the last thing to use. Fedora has hacked efi support into grub1, they found that to be more reliable than grub2. And with the latest kernels that have efi_stub, you don't need a bootloader at all, efi can load the kernel directly.
I use syslinux everywhere, except on my crazy netbook which doesn't like syslinux. The netbook now uses lilo  |
|
| Back to top |
|
 |
SDNick484 Tux's lil' helper

Joined: 05 Dec 2005 Posts: 134
|
Posted: Tue Jul 03, 2012 7:31 pm Post subject: |
|
|
| Gusar wrote: | | SDNick484 wrote: | | Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? |
No. And even on EFI, grub2 is the last thing to use. Fedora has hacked efi support into grub1, they found that to be more reliable than grub2. And with the latest kernels that have efi_stub, you don't need a bootloader at all, efi can load the kernel directly.
I use syslinux everywhere, except on my crazy netbook which doesn't like syslinux. The netbook now uses lilo  |
Interesting, thanks for the info. I've heard of using syslinux/extlinux as a full system bootloader (as opposed to a CD/DVD) recently, but hadn't tried it yet myself yet. While I'm generally keen on trying new things, I've found from experience that bootloaders are one of those things like firmware that are generally better suited for the if it ain't broke, don't fix it strategy... |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4389 Location: Suzhou, China
|
Posted: Wed Jul 04, 2012 9:37 am Post subject: |
|
|
| SDNick484 wrote: | | Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? Like others, I've used it on non-Gentoo distros in the past and have not had a pleasant experience. |
No, if grub:0 works for you, then going to grub:2 would be a downgrade in terms of complexity and maintenance. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3930 Location: UK - Birmingham
|
Posted: Wed Jul 04, 2012 9:52 am Post subject: |
|
|
| yngwin wrote: | | SDNick484 wrote: | | Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? Like others, I've used it on non-Gentoo distros in the past and have not had a pleasant experience. |
No, if grub:0 works for you, then going to grub:2 would be a downgrade in terms of complexity and maintenance. | what is the likelyhood that grub1 will be maintained though?
thats the only reason I converted to grub2 simply because if that is now classed as legacy and is no longer worked on... gentoo policy is if there is no upstream support to pull a project.
and yes grub2 is more hassle... having to run a command after a new kernel was why I converted from lilo to grub all that time ago _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Wed Jul 04, 2012 10:56 am Post subject: |
|
|
| yngwin wrote: | | SDNick484 wrote: | | Are there any major value adds in upgrading to Grub2 for a simple laptop use (no LVM/EFI/etc.)? Like others, I've used it on non-Gentoo distros in the past and have not had a pleasant experience. |
No, if grub:0 works for you, then going to grub:2 would be a downgrade in terms of complexity and maintenance. |
huh?
so the "official" suggestion is to keep using grub 1 over grub 2? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
LiamOS n00b


Joined: 06 Jun 2012 Posts: 56 Location: Kerry/Dublin, Ireland
|
Posted: Wed Jul 04, 2012 2:06 pm Post subject: |
|
|
I did a recent installation and noticed grub was behaving really weird; I quickly realised I'd emerged grub2, which was a nasty surprise.
Is Grub legacy going to remain an option indefinitely? I'm a bit worried, since my experiences with grub2 have been far from fun. _________________ CFLAGS=" -O999999" |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4810
|
Posted: Wed Jul 04, 2012 4:10 pm Post subject: |
|
|
| AFAICT, on simple setups, there should be no noticeable difference between grub1 and grub2. |
|
| Back to top |
|
 |
|