Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB 2.00 Bootloader Officially Released
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bigbangnet
Apprentice
Apprentice


Joined: 11 Jun 2007
Posts: 174

PostPosted: Thu Jun 28, 2012 7:56 pm    Post subject: GRUB 2.00 Bootloader Officially Released Reply with quote

http://news.slashdot.org/story/12/06/28/1835213/grub-200-bootloader-officially-released

Anything about this in Gentoo ? I know .97 is still used right now
_________________
I'm a noob, be gentle with me. TEACH ME
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3930
Location: UK - Birmingham

PostPosted: Thu Jun 28, 2012 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4389
Location: Suzhou, China

PostPosted: Fri Jun 29, 2012 8:41 am    Post subject: Reply with quote

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. :wink:
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
bigbangnet
Apprentice
Apprentice


Joined: 11 Jun 2007
Posts: 174

PostPosted: Fri Jun 29, 2012 12:02 pm    Post subject: updates ! Reply with quote

Time to do updates then. It seems I haven't done some in a while. :lol:
_________________
I'm a noob, be gentle with me. TEACH ME
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 3911
Location: india

PostPosted: Sat Jun 30, 2012 2:32 pm    Post subject: Reply with quote

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. :wink:

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
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2241
Location: Austria

PostPosted: Sat Jun 30, 2012 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 3911
Location: india

PostPosted: Sat Jun 30, 2012 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Sat Jun 30, 2012 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4812

PostPosted: Sat Jun 30, 2012 5:52 pm    Post subject: Reply with quote

Well, technically 1.99 was (sort of) a (pre-)beta for 2.00.
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Sat Jun 30, 2012 6:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4812

PostPosted: Sat Jun 30, 2012 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2686
Location: Gainesville, Florida

PostPosted: Sat Jun 30, 2012 10:00 pm    Post subject: Reply with quote

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? :wink:

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
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3930
Location: UK - Birmingham

PostPosted: Sat Jun 30, 2012 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4389
Location: Suzhou, China

PostPosted: Sun Jul 01, 2012 4:29 am    Post subject: Reply with quote

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. :wink:

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 :D
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Sun Jul 01, 2012 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4812

PostPosted: Sun Jul 01, 2012 10:35 am    Post subject: Reply with quote

Well, I'm not saying I didn't succeed in the end, but getting there was quite troublesome.
Back to top
View user's profile Send private message
hydrapolic
n00b
n00b


Joined: 07 Feb 2008
Posts: 69

PostPosted: Mon Jul 02, 2012 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
SDNick484
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2005
Posts: 134

PostPosted: Tue Jul 03, 2012 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2557
Location: Slovenia

PostPosted: Tue Jul 03, 2012 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
SDNick484
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2005
Posts: 134

PostPosted: Tue Jul 03, 2012 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4389
Location: Suzhou, China

PostPosted: Wed Jul 04, 2012 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3930
Location: UK - Birmingham

PostPosted: Wed Jul 04, 2012 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Wed Jul 04, 2012 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 56
Location: Kerry/Dublin, Ireland

PostPosted: Wed Jul 04, 2012 2:06 pm    Post subject: Reply with quote

I did a recent installation and noticed grub was behaving really weird; I quickly realised I'd emerged grub2, which was a nasty surprise. :P


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
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4812

PostPosted: Wed Jul 04, 2012 4:10 pm    Post subject: Reply with quote

AFAICT, on simple setups, there should be no noticeable difference between grub1 and grub2.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum