Re: Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Enlightened User <[email protected]> Fri, 3 Sep 2010 17:42:39 -0400
| Newsgroups | gmane.linux.gentoo.ppc |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-10-300281984 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html Sections 9.2 and 9.3 show how to boot to the yaboot 'boot:' prompt and start the kernel with parameters. Hope that helps you get started. If you do change the yaboot.conf file don't forget to run ybin to update the boot partition. I would suggest increasing delay and timeout values (section 6.6 of the previous web document) so the default image is not automatically loaded so quickly. You should then be able to enter something like: hd:4,/vmlinux root=/dev/sda4 ro at the boot: prompt. Another thought would be to remove SCSI support from your kernel build, unless you have a mac mini with an SCSI interface, you should not need SCSI support. That should not require any changes to the yaboot configuration you are currently using. Barry On Sep 3, 2010, at 9:38 AM, Mark Knecht wrote: > On Thu, Sep 2, 2010 at 4:31 PM, Enlightened User <[email protected]> > wrote: >> Could the root device now be referred to as /dev/sda4 (SCSI Disk >> support) >> with the kernel now loading? >> You should be able to pass the root device to the kernel at boot time >> (root=/dev/sda4). >> If you are able to get past the root filesystem check (the disk is >> referred >> to as sda instead of hda), then you will need to update your /etc/ >> fstab to >> reflect the different device names. >> >> Barry >> > > Hi Barry, > Interesting idea. I hadn't considered that possibility as the early > part of the boot, where I have the printk times for each step, clearly > shows it as hda. However then in the init stages the system starts > udev. Maybe that changes the name. > > With yaboot is there a way to edit the command line at boot time > like there is with grub? I'm having a hard time because the Mac Mini > seems to be dimming my monitor and I cannot read what's happening > right before boot! > > I suppose I can edit the yaboot config file if necessary. > > Thanks, > Mark > --Apple-Mail-10-300281984 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><a = href=3D"http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html"= >http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html</a><div= ><br></div><div><a = href=3D"http://www.debian.org/ports/powerpc/inst/yaboot-howto/ch9.en.html"= ></a>Sections 9.2 and 9.3 show how to boot to the yaboot 'boot:' prompt = and start the kernel with parameters.</div><div>Hope that helps you get = started.</div><div>If you do change the yaboot.conf file don't forget to = run ybin to update the boot partition. I would suggest increasing delay = and timeout values (section 6.6 of the previous web document) so the = default image is not automatically loaded so quickly. You should then be = able to enter something like:</div><div>hd:4,/vmlinux root=3D/dev/sda4 = ro</div><div>at the boot: prompt.</div><div><br></div><div>Another = thought would be to remove SCSI support from your kernel build, unless = you have a mac mini with an SCSI interface, you should not need SCSI = support. That should not require any changes to the yaboot configuration = you are currently = using.</div><div><br></div><div>Barry<br><div><br><div><div>On Sep 3, = 2010, at 9:38 AM, Mark Knecht wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On = Thu, Sep 2, 2010 at 4:31 PM, Enlightened User <<a = href=3D"mailto:[email protected]">[email protected]</a>> = wrote:<br><blockquote type=3D"cite">Could the root device now be = referred to as /dev/sda4 (SCSI Disk support)<br></blockquote><blockquote = type=3D"cite">with the kernel now loading?<br></blockquote><blockquote = type=3D"cite">You should be able to pass the root device to the kernel = at boot time<br></blockquote><blockquote = type=3D"cite">(root=3D/dev/sda4).<br></blockquote><blockquote = type=3D"cite">If you are able to get past the root filesystem check (the = disk is referred<br></blockquote><blockquote type=3D"cite">to as sda = instead of hda), then you will need to update your /etc/fstab = to<br></blockquote><blockquote type=3D"cite">reflect the different = device names.<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote = type=3D"cite">Barry<br></blockquote><blockquote = type=3D"cite"><br></blockquote><br>Hi Barry,<br> Interesting = idea. I hadn't considered that possibility as the early<br>part of the = boot, where I have the printk times for each step, clearly<br>shows it = as hda. However then in the init stages the system starts<br>udev. Maybe = that changes the name.<br><br> With yaboot is there a way to = edit the command line at boot time<br>like there is with grub? I'm = having a hard time because the Mac Mini<br>seems to be dimming my = monitor and I cannot read what's happening<br>right before boot!<br><br> = I suppose I can edit the yaboot config file if = necessary.<br><br>Thanks,<br>Mark<br><br></div></blockquote></div><br></di= v></div></body></html>= --Apple-Mail-10-300281984--