Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab
Hi there, Rick. (I am including the pkg-grub-devel list here, as it may be interesting to them). On Jul 14 2010, Rick Thomas wrote: > I'm willing to give it a try on some of my test machines. > > How do I go about installing/testing Grub2 ? I wrote a summary of what I did some time ago: http://lists.debian.org/debian-powerpc/2010/06/msg00028.html One particular point that may not be that obvious is that your current HFS partition may not be big enough to hold an initial grub2 image with all the modules (those found in /usr/lib/grub/powerpc-ieee1275/). Some of the modules may not be necessary, if you are only using something like ext{2,3,4} on your system: them, XFS, JFS, and Co. can be avoided to be included in that binary. Another thing that is worth noting is that the command to create that initial image seems to have been changed, and it should be grub-mkimage with a parameter --format=powerpc-ieee1275, instead of grub-mkelfimage. (Fear not: the comments above may not make sense if you have not yet tried to play with grub2, but they will after you read my e-mail listed above). Another slight problem that may make the automatic installation not so obvious is that the grub.cfg file will probably list the partition that you will be booting from as "(hd0,)", where it currently needs to be "(hd,)", without the zero after "hd". I don't know if the hd0 string that the grub configuration puts in the grub.cfg is used with/taken from OpenFirmware (in case it would be the hd alias that OpenFirmware uses for the disk), but flexibilizing this for systems that may have more than one HD would be desireable (i.e., stay with the numbering with the HDs). But that doesn't prevent one from using grub2 right now. Hope that this helps, -- Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8 http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100714233006.ga11...@ime.usp.br
Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab
I'm willing to give it a try on some of my test machines. How do I go about installing/testing Grub2 ? Thanks! Rick On Jul 13, 2010, at 8:54 PM, Rogério Brito wrote: Also, it would be very nice if we had reports from people that tried to use GRUB2 on powerpc. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c59519b-aaa9-475f-b904-0bedb9892...@pobox.com
Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab
On Die, 2010-07-13 at 21:54 -0300, Rogério Brito wrote: > > On 06/28/2010 02:42 PM, Rogério Brito wrote: > > We could, perhaps, offer two boot loaders for NewWorld ppc machines in > > Debian > > and phase out yaboot once we know that GRUB2 works fine. (That still leaves > > those users of miboot and quik without good alternatives). > > My primary powerpc machine (an iBook G3) is halting in some ways that I have > not > yet figured out, which I suppose are related to heat. > > That being said, I would like to go on and take some care of powerpc (as I > have > some embedded machines that use it). In particular, I would like to upload a > new > version of yaboot, to be a little more in sync with upstream. > > Two questions, therefore: > > 1 - is there any problem with that? > 2 - would there be anybody to sponsor a possible upload to unstable? I guess I could do that, if nobody more active than me volunteers. > Also, it would be very nice if we had reports from people that tried to use > GRUB2 on powerpc. There should be several reports of mine in the debian-powerpc list archives. In summary, it's been working on my PowerBook for at least a year or so, but I'm not sure it's ready in general as a replacement for yaboot yet. But at least offering it as an alternative for advanced users might be good anyway. P.S. AFAICT the current yaboot maintainer is 'Debootloaders Yaboot Maintainers Team ', which I can't seem to find in the list of recipients. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1279104844.515.43.ca...@thor.local
Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab
Hi. Just a quick status update on this (I'm catching up on e-mail). On 06/28/2010 02:42 PM, Rogério Brito wrote: > We could, perhaps, offer two boot loaders for NewWorld ppc machines in Debian > and phase out yaboot once we know that GRUB2 works fine. (That still leaves > those users of miboot and quik without good alternatives). My primary powerpc machine (an iBook G3) is halting in some ways that I have not yet figured out, which I suppose are related to heat. That being said, I would like to go on and take some care of powerpc (as I have some embedded machines that use it). In particular, I would like to upload a new version of yaboot, to be a little more in sync with upstream. Two questions, therefore: 1 - is there any problem with that? 2 - would there be anybody to sponsor a possible upload to unstable? I am including people from debian-boot and the person that is currently listed as the maintainer of yaboot as carbon copies. Also, it would be very nice if we had reports from people that tried to use GRUB2 on powerpc. Thanks, Rogério Brito. -- Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8 http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c3d0ae1.5090...@ime.usp.br
Re: Debian PowerPc installer initramfs-tools generates malformed yaboot.conf created when alternate partitions use UUID= in fstab
Hi, there. Just a quick status update. I am including debian-boot here. If any mailing list should be dropped, just say so. On 06/27/2010 10:01 PM, Rogério Brito wrote: > On Jun 28 2010, Benjamin Cama wrote: >> - maintenance of yaboot has always been "flacky" in the sense that >> maintainers seem to get hopeless on the lack of interest/motivation >> from powerpc devs/users > > That's one of the problems of using a less popular platform. :-( I was just writing a small summary of what worked for me with GRUB2 on Debian and I found out that our yaboot in Debian could be more up to date. According to the Package Tracking System, the latest upload to the archives was made in 2006 [1] and the yaboot people has progressed a little bit with the sources available in a git repository. [2] [1] http://packages.qa.debian.org/y/yaboot.html [2] http://git.ozlabs.org/?p=yaboot.git We could, perhaps, offer two boot loaders for NewWorld ppc machines in Debian and phase out yaboot once we know that GRUB2 works fine. (That still leaves those users of miboot and quik without good alternatives). >> - there are currently no DD that care about powerpc problems (or we >> could rather say that no people who care about PPC are DDs) > > We don't exactly need to have DD's to take care of the PPC problems. > While that would make things easier, it is not a strict requirement, as > long as one has a powerpc machine. As Michel has told us, we don't strictly need DD's. I also would think that he would not be completely opposed to sponsor uploads to some of the PPC-related packages. That being said, is there anybody in debian-boot that could say any word on the status of the ppc bootloaders? > My iBook G3 is currently having some weird issues (shutting itself down > or freezing hard), and I suspect that it is due to heat. I intend to > get grub2 to work, once I get it to boot, though. Just as the quick reminder, I was partially succesful with this and having a familiar, flexible GRUB environment booting out of this machine was very nice. The basic guidelines that I followed were those of Jörg Sommer [3], with a few modifications: 1 - you have to use grub-mkimage instead of grub-mkelfimage; 2 - you have to pass the kind of image that you want grub-mkimage to generate with the -O switch; 3 - you still have to strip the 0 from "(hd0)" in the device map file that grub creates, so that it can generate correct grub.cfg files for the boot time. [3] http://lists.debian.org/debian-powerpc/2009/06/msg00064.html So far, I am booting with grub2 by hand from Open Firmware, but that's just because I didn't want to save the things to the nvram yet. > Does yaboot FTBFS, apart from a powerpc 64 issue? That patch could be > integrated, though, but I don't have any ppc64 machine to see if it > makes sense. Just for the record, upstream's yaboot already has this issue fixed [4]. [4] http://git.ozlabs.org/?p=yaboot.git;a=commitdiff;h=131e44 Regards, -- Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8 http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c28df12.8080...@ime.usp.br