MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
To GRUB2 or not to GRUB2 
Author Message
MEPIS Guide
MEPIS Guide
User avatar

Joined: Sat May 16, 2009 3:59 pm
Posts: 2507
Has thanked: 291 times
Have thanks: 364 times
Post # 302978
Post Re: To GRUB2 or not to GRUB2
kmathern wrote:
I'm not a huge grub2 fan but I think M12 should being using it, mainly because it's what official Debian is using (and has been using since Squeeze).

I installed Squeeze and Wheezy grub2 to their root partitions without any problems, and continued using legacy grub. Maybe there's just a glitch in the M12 alpha installer?

Quote:
I also thought that grub2, along with using persistent naming (UUIDs), was supposed to fix the fstab corruption problem that some users experienced with M11.

I suspect we'll have an answer eventually. :smile:

_________________
Gigabyte 7ZXE, AMD Athlon XP 2200+, 160GB, 1.5GB, XP, M11, M8.5, Wheezy
IBM ThinkPad T43, Intel Pentium M (1.73GHz), 60GB, 1GB, XP, Mepis 11


Sun Jul 15, 2012 8:31 pm
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 4873
Location: Penn's Woods
Has thanked: 538 times
Have thanks: 398 times
Post # 302979
Post Re: To GRUB2 or not to GRUB2
DBeckett wrote:
richb wrote:
And does anyone know why it was developed? I cannot seem to finf that information.

That's pretty much my point.

Yeah, GRUB2 is pretty much a solution in search of a problem if you ask me. A boot loader should be a very simple thing, and even legacy GRUB is probably more complicated than it really needs to be. But GRUB2 takes complexity to a whole new level, and I just don't see the point of doing that. The fstab corruption issue can be easily fixed in a number of ways that don't require GRUB2.

Jerry mentions GRUB2 "not seeing" a second HDD, and that has me pretty worried because I happen to have two HDDs on my machine, a mixed SATA/IDE setup, which may prove to be "interesting" to say the least.

Having said that, I'm sure I'll find a way to work around GRUB2 somehow, even if I have to install a dedicated boot partition with legacy GRUB on it for booting into M12 by chain loading.

_________________
SimplyMEPIS is SimplyTHEBEST
Mepis 8.5; 2.6.32-1-mepis-pae (Internal 2.6.32-12); 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.51 Display Driver


Sun Jul 15, 2012 8:33 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Sun Mar 25, 2007 5:49 pm
Posts: 2454
Location: Doncaster UK
Has thanked: 99 times
Have thanks: 614 times
Post # 302980
Post Re: To GRUB2 or not to GRUB2
Around the net are a few Grub Editors that can be made to work in Debian, which take manual editing a thing of the distant past,
As for repairing Grub 2, which I have never had to do.
http://www.supergrubdisk.org/super-grub2-disk/
And Grub2 will see additional drives with no problems, using Debian Kubuntu and every Disro I have ever installed that uses Grub2

_________________
*Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic(Windoze)*

Kubuntu KDE 4.10.2 / Debian Wheezy-Experimental KDE 4.10.2 / Plasma Active 3 Tablet


Sun Jul 15, 2012 8:34 pm

Danum thanked by: malspa
Profile
Administrator
User avatar

Joined: Wed Jul 12, 2006 2:17 pm
Posts: 8754
Location: Rochester NY
Has thanked: 582 times
Have thanks: 956 times
Post # 302982
Post Re: To GRUB2 or not to GRUB2
Quote:
Yeah, GRUB2 is pretty much a solution in search of a problem if you ask me.

Read Danum's post.

_________________
Forum Rules
Guide - How to Ask for Help
Link to Wiki
Rich

Acer Laptop 5750G: Intel i5, 4 GIG mem, nVidia GT540M/Intel integrated graphics
Kubuntu 13.04, KDE 4.10.2
M12 Alpha 2 in VirtualBox


Sun Jul 15, 2012 8:38 pm
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jul 15, 2006 10:57 am
Posts: 792
Has thanked: 21 times
Have thanks: 114 times
Post # 302984
Post Re: To GRUB2 or not to GRUB2
Why Grub2?

You'll need to go all the way back to before 2002. Grub2 was initially announced over a decade ago. I'll link to the FSF's short FAQ though: http://www.gnu.org/software/grub/grub-faq.html

Quote:
Because GRUB Legacy has become unmaintainable, due to messy code and design failures. We received many feature requests, and extended GRUB beyond the original scope, without redesigning the framework. This resulted in the state that it was impossible to extend GRUB any further without rethinking everything from the ground.


Basically, Grub had gotten to the same point of the KDE 3.x series. It was full of black-boxed undocumented code segments, a mess of hacks, and had been extended over and over again. Keep in mind, the FSF developers had already decided this before the first Mepis CD was ever released. Before the first Knoppix CD. Before most of us here probably ever touched a /Linux system at all, much less Ubuntu users.

On top of that, the Grub2 project itself was actually an adoption of another project; PUPA: http://web.archive.org/web/200806071159 ... -2.en.html

Quote:
GRUB 2 is derived from PUPA which was a research project to investigate the next generation of GRUB. GRUB 2 has been rewritten from scratch to clean up everything for modularity and portability. A mailing list and a wiki have been setup for discussing the development of GRUB 2.


Also, good luck actually finding the discussions that lead up to the adoption of PUPA and the conclusion that Grub Legacy needed to be replaced. FSF's own developer mailing list archive dates back to 2004: http://lists.gnu.org/archive/html/grub-devel/

However, much like KDE4 versus KDE3, non-developers only look at how the software worked for them, and not the tech or code behind the software. E.G. the guys still trying to push Trinity even though the actual guys who wrote KDE 3.x said it wasn't worth the time or trouble to try and maintain.

Did Grub-Legacy need to replaced?

Well, with the move to UEFI, yes, it did.

Was Grub2 ready to replace Grub-Legacy?

From a code standpoint... yes.

From a user standpoint? No.

_________________
Slow, lazy, but still around: Call me if ya need help
http://zerias.blogspot.com
http://www.mepisguides.com
Biting the Bullet: Help
Want to buy Mepis Based Computer? Ask me!
http://bit.ly/fbs47I


Last edited by Saist on Sun Jul 15, 2012 8:43 pm, edited 1 time in total.



Sun Jul 15, 2012 8:40 pm
Profile WWW
MEPIS Guide
MEPIS Guide
User avatar

Joined: Thu Jul 13, 2006 7:21 am
Posts: 1500
Location: albuquerque
Has thanked: 70 times
Have thanks: 91 times
Post # 302985
Post Re: To GRUB2 or not to GRUB2
Danum wrote:
And Grub2 will see additional drives with no problems, using Debian Kubuntu and every Disro I have ever installed that uses Grub2


Thanks, Danum.


Sun Jul 15, 2012 8:42 pm
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 5164
Has thanked: 272 times
Have thanks: 1410 times
Post # 302986
Post Re: To GRUB2 or not to GRUB2
DBeckett wrote:
I installed Squeeze and Wheezy grub2 to their root partitions without any problems, and continued using legacy grub. Maybe there's just a glitch in the M12 alpha installer?
That's a possibility. I think it's a bit premature to be considering bailing out on Grub2 with this being the just 1st alpha release.



Danum wrote:
Around the net are a few Grub Editors that can be made to work in Debian, which take manual editing a thing of the distant past,
As for repairing Grub 2, which I have never had to do.
http://www.supergrubdisk.org/super-grub2-disk/
The grub legacy feature that I miss is the editable line at the bottom of the grub screen that allows you to easily change the kernel options line. You can edit a grub2 stanza at the grub screen but that single line editor is a lot easier.

I think the grub editors you mention only run while at the desktop.


Sun Jul 15, 2012 8:47 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Thu Jul 13, 2006 7:21 am
Posts: 1500
Location: albuquerque
Has thanked: 70 times
Have thanks: 91 times
Post # 302987
Post Re: To GRUB2 or not to GRUB2
Danum wrote:
Around the net are a few Grub Editors that can be made to work in Debian, which take manual editing a thing of the distant past,
As for repairing Grub 2, which I have never had to do.
http://www.supergrubdisk.org/super-grub2-disk/
And Grub2 will see additional drives with no problems, using Debian Kubuntu and every Disro I have ever installed that uses Grub2


So in my case, I will be replacing M11 with M12 and installing grub2 to MBR. The other distros across two hard drives have grub2 or grub-legacy installed to their respective / partitions. Shouldn't be a problem, right?

Like I said, I did the same thing on my notebook, except replacing M11 with Squeeze, and except there's only one hard drive there. It worked fine, never had to edit any files, piece of cake so far. That was back in mid-May.


Sun Jul 15, 2012 8:55 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Sat May 16, 2009 3:59 pm
Posts: 2507
Has thanked: 291 times
Have thanks: 364 times
Post # 302988
Post Re: To GRUB2 or not to GRUB2
kmathern wrote:
DBeckett wrote:
I installed Squeeze and Wheezy grub2 to their root partitions without any problems, and continued using legacy grub. Maybe there's just a glitch in the M12 alpha installer?
That's a possibility. I think it's a bit premature to be considering bailing out on Grub2 with this being the just 1st alpha release.

No, I'm not irreversibly dead set against it. I've already made the decision to go ahead and try it on my laptop. Who knows? I'm willing to become a convert. I just question the necessity and added complexity. Things are so easy with legacy grub.

_________________
Gigabyte 7ZXE, AMD Athlon XP 2200+, 160GB, 1.5GB, XP, M11, M8.5, Wheezy
IBM ThinkPad T43, Intel Pentium M (1.73GHz), 60GB, 1GB, XP, Mepis 11


Sun Jul 15, 2012 9:01 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2215
Location: Pinellas Park, FL
Has thanked: 62 times
Have thanks: 1117 times
Post # 302989
Post Re: To GRUB2 or not to GRUB2
DBeckett wrote:
I installed Squeeze and Wheezy grub2 to their root partitions without any problems, and continued using legacy grub. Maybe there's just a glitch in the M12 alpha installer?

It seems that the grub2 grub-install command requires a --force option to install to a partition instead of a mbr. However, for the purposes which most folks use grub installed to root, it would be probably be better for the installer to just populate the boot/grub tree and generate the core.img file which then could be chainloaded to from either legacy grub or grub2. That's because using the --force option can cause boot failures later on if the user moves partitions around making the grub's blocklists point to an invalid location.

I strongly suspect Warren has a better grasp of grub2 than I and will be able to fix the installer without too much trouble.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Sun Jul 15, 2012 9:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.