* [gentoo-ppc-user] New install - Unable to get my ppc Mac Mini to boot the root partition
@ 2010-08-31 19:07 Mark Knecht
2010-08-31 19:13 ` [gentoo-ppc-user] " Mark Knecht
0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-08-31 19:07 UTC (permalink / raw
To: gentoo-ppc-user
Hi all,
I have a Mac Mini that I've used for the last couple of years. I
was trying to get it up to date but at some point it failed with a
message about the main root partition not being an ext2 filesystem. I
took the opportunity to rebuild the machine from scratch, at this
point twice, but I continue to get the same message. I'm trying to
determine if something about the machine is completely hosed and the
machine will never work again or if it's just some problem I'm having.
In these rebuiilds I went the direction of completely wiping the
hard drive and starting from scratch. I used mac-fdisk, hit 'i', had
only the Apple partition map, and then created the next 3 partitions
as per the install guide. The installs (both of them) went cleanly and
I didn't seem to have any problems running yabootconfig as far as I
can tell. No complaints from the software except for my typing a path
to the kernel incorrectly a couple of times. Once I got that right it
seemed to finish and created the yaboot.conf file below.
When I attempt to boot the system finds the kernel, does all the
early boot stuff, says it finds /dev/hda and /dev/hda, then it starts
the init stuff with the green '*' and [OK] on the right until it wants
to mount the root partition. At that point it tells me the partition
is wrong, not ext2, and quits.
I don't understand how the partition can be incorrect if it's good
enough to find the kernel to boot.
Can someone set me right on what I might be doing incorrectly here.
If the info below isn't enough let me know what you need.
Thanks,
Mark
livecd ~ # mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
# type name length base
( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1
( 31.5k) Partition map
/dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64
(800.0k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 2097152 @ 1664
( 1.0G) Linux swap
/dev/hda4 Apple_UNIX_SVR2 root 154202672 @
2098816 ( 73.5G) Linux native
Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0
Command (? for help): q
livecd ~ #
livecd ~ # mount /dev/hda4 /mnt/gentoo/
livecd ~ # mount -t proc none /mnt/gentoo/proc
livecd ~ # mount -o bind /dev /mnt/gentoo/dev
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # ls -al /boot/
total 5064
drwxr-xr-x 2 root root 4096 Aug 28 16:51 .
drwxr-xr-x 19 root root 4096 Aug 31 10:17 ..
-rw-r--r-- 1 root root 0 Aug 22 03:50 .keep
lrwxrwxrwx 1 root root 1 Aug 28 15:23 boot -> .
-rwxr-xr-x 1 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1
(chroot) livecd / #
(chroot) livecd / # cat /etc/yaboot.conf
## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-2.6.34-gentoo-r1
label=Linux
read-only
(chroot) livecd / #
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 19:07 [gentoo-ppc-user] New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
@ 2010-08-31 19:13 ` Mark Knecht
2010-08-31 19:17 ` Joe Fox
0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-08-31 19:13 UTC (permalink / raw
To: gentoo-ppc-user
On Tue, Aug 31, 2010 at 12:07 PM, Mark Knecht <markknecht@gmail.com> wrote:
> Hi all,
> I have a Mac Mini that I've used for the last couple of years. I
> was trying to get it up to date but at some point it failed with a
> message about the main root partition not being an ext2 filesystem. I
> took the opportunity to rebuild the machine from scratch, at this
> point twice, but I continue to get the same message. I'm trying to
> determine if something about the machine is completely hosed and the
> machine will never work again or if it's just some problem I'm having.
>
> In these rebuiilds I went the direction of completely wiping the
> hard drive and starting from scratch. I used mac-fdisk, hit 'i', had
> only the Apple partition map, and then created the next 3 partitions
> as per the install guide. The installs (both of them) went cleanly and
> I didn't seem to have any problems running yabootconfig as far as I
> can tell. No complaints from the software except for my typing a path
> to the kernel incorrectly a couple of times. Once I got that right it
> seemed to finish and created the yaboot.conf file below.
>
> When I attempt to boot the system finds the kernel, does all the
> early boot stuff, says it finds /dev/hda and /dev/hda, then it starts
> the init stuff with the green '*' and [OK] on the right until it wants
> to mount the root partition. At that point it tells me the partition
> is wrong, not ext2, and quits.
>
> I don't understand how the partition can be incorrect if it's good
> enough to find the kernel to boot.
>
> Can someone set me right on what I might be doing incorrectly here.
> If the info below isn't enough let me know what you need.
>
> Thanks,
> Mark
>
>
> livecd ~ # mac-fdisk /dev/hda
> /dev/hda
> Command (? for help): p
> /dev/hda
> # type name length base
> ( size ) system
> /dev/hda1 Apple_partition_map Apple 63 @ 1
> ( 31.5k) Partition map
> /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64
> (800.0k) NewWorld bootblock
> /dev/hda3 Apple_UNIX_SVR2 swap 2097152 @ 1664
> ( 1.0G) Linux swap
> /dev/hda4 Apple_UNIX_SVR2 root 154202672 @
> 2098816 ( 73.5G) Linux native
>
> Block size=512, Number of Blocks=156301488
> DeviceType=0x0, DeviceId=0x0
>
> Command (? for help): q
> livecd ~ #
>
> livecd ~ # mount /dev/hda4 /mnt/gentoo/
> livecd ~ # mount -t proc none /mnt/gentoo/proc
> livecd ~ # mount -o bind /dev /mnt/gentoo/dev
> livecd ~ # chroot /mnt/gentoo /bin/bash
> livecd / # env-update
>>>> Regenerating /etc/ld.so.cache...
> livecd / # source /etc/profile
> livecd / # export PS1="(chroot) $PS1"
> (chroot) livecd / # ls -al /boot/
> total 5064
> drwxr-xr-x 2 root root 4096 Aug 28 16:51 .
> drwxr-xr-x 19 root root 4096 Aug 31 10:17 ..
> -rw-r--r-- 1 root root 0 Aug 22 03:50 .keep
> lrwxrwxrwx 1 root root 1 Aug 28 15:23 boot -> .
> -rwxr-xr-x 1 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1
> (chroot) livecd / #
>
> (chroot) livecd / # cat /etc/yaboot.conf
> ## yaboot.conf generated by yabootconfig 1.0.8
> ##
> ## run: "man yaboot.conf" for details. Do not make changes until you have!!
> ##
> ## For a dual-boot menu, add one or more of:
> ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
>
> boot=/dev/hda2
> device=/pci@f4000000/ata-6@d/disk@0:
> partition=4
> root=/dev/hda4
> timeout=30
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
>
> image=/boot/kernel-2.6.34-gentoo-r1
> label=Linux
> read-only
> (chroot) livecd / #
>
The messages on the screen when trying to boot are:
* Checking root filesystem
ext2fs_check_if_mount: Can't check if filesystem is mounted due to
missing mtab file while determining whether /dev/da4 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/hda4
/dev/hda4:
The superblock could not be read or does not describe a correct ext2
filesystem.
<snip>
* Filesystem couldn't be fixed. :(
- Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 19:13 ` [gentoo-ppc-user] " Mark Knecht
@ 2010-08-31 19:17 ` Joe Fox
2010-08-31 19:31 ` Mark Knecht
0 siblings, 1 reply; 15+ messages in thread
From: Joe Fox @ 2010-08-31 19:17 UTC (permalink / raw
To: gentoo-ppc-user
[-- Attachment #1: Type: text/plain, Size: 4540 bytes --]
Mark,
Can you post your /etc/fstab? I just want to give it a once over.
Thanks.
Joe Fox
Systems/Network Administrator
Mobile# (716) 846-9308
http://twitter.com/JWFoxJr
On Tue, Aug 31, 2010 at 3:13 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Tue, Aug 31, 2010 at 12:07 PM, Mark Knecht <markknecht@gmail.com>
> wrote:
> > Hi all,
> > I have a Mac Mini that I've used for the last couple of years. I
> > was trying to get it up to date but at some point it failed with a
> > message about the main root partition not being an ext2 filesystem. I
> > took the opportunity to rebuild the machine from scratch, at this
> > point twice, but I continue to get the same message. I'm trying to
> > determine if something about the machine is completely hosed and the
> > machine will never work again or if it's just some problem I'm having.
> >
> > In these rebuiilds I went the direction of completely wiping the
> > hard drive and starting from scratch. I used mac-fdisk, hit 'i', had
> > only the Apple partition map, and then created the next 3 partitions
> > as per the install guide. The installs (both of them) went cleanly and
> > I didn't seem to have any problems running yabootconfig as far as I
> > can tell. No complaints from the software except for my typing a path
> > to the kernel incorrectly a couple of times. Once I got that right it
> > seemed to finish and created the yaboot.conf file below.
> >
> > When I attempt to boot the system finds the kernel, does all the
> > early boot stuff, says it finds /dev/hda and /dev/hda, then it starts
> > the init stuff with the green '*' and [OK] on the right until it wants
> > to mount the root partition. At that point it tells me the partition
> > is wrong, not ext2, and quits.
> >
> > I don't understand how the partition can be incorrect if it's good
> > enough to find the kernel to boot.
> >
> > Can someone set me right on what I might be doing incorrectly here.
> > If the info below isn't enough let me know what you need.
> >
> > Thanks,
> > Mark
> >
> >
> > livecd ~ # mac-fdisk /dev/hda
> > /dev/hda
> > Command (? for help): p
> > /dev/hda
> > # type name length base
> > ( size ) system
> > /dev/hda1 Apple_partition_map Apple 63 @ 1
> > ( 31.5k) Partition map
> > /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64
> > (800.0k) NewWorld bootblock
> > /dev/hda3 Apple_UNIX_SVR2 swap 2097152 @ 1664
> > ( 1.0G) Linux swap
> > /dev/hda4 Apple_UNIX_SVR2 root 154202672 @
> > 2098816 ( 73.5G) Linux native
> >
> > Block size=512, Number of Blocks=156301488
> > DeviceType=0x0, DeviceId=0x0
> >
> > Command (? for help): q
> > livecd ~ #
> >
> > livecd ~ # mount /dev/hda4 /mnt/gentoo/
> > livecd ~ # mount -t proc none /mnt/gentoo/proc
> > livecd ~ # mount -o bind /dev /mnt/gentoo/dev
> > livecd ~ # chroot /mnt/gentoo /bin/bash
> > livecd / # env-update
> >>>> Regenerating /etc/ld.so.cache...
> > livecd / # source /etc/profile
> > livecd / # export PS1="(chroot) $PS1"
> > (chroot) livecd / # ls -al /boot/
> > total 5064
> > drwxr-xr-x 2 root root 4096 Aug 28 16:51 .
> > drwxr-xr-x 19 root root 4096 Aug 31 10:17 ..
> > -rw-r--r-- 1 root root 0 Aug 22 03:50 .keep
> > lrwxrwxrwx 1 root root 1 Aug 28 15:23 boot -> .
> > -rwxr-xr-x 1 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1
> > (chroot) livecd / #
> >
> > (chroot) livecd / # cat /etc/yaboot.conf
> > ## yaboot.conf generated by yabootconfig 1.0.8
> > ##
> > ## run: "man yaboot.conf" for details. Do not make changes until you
> have!!
> > ##
> > ## For a dual-boot menu, add one or more of:
> > ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
> >
> > boot=/dev/hda2
> > device=/pci@f4000000/ata-6@d/disk@0:
> > partition=4
> > root=/dev/hda4
> > timeout=30
> > install=/usr/lib/yaboot/yaboot
> > magicboot=/usr/lib/yaboot/ofboot
> >
> > image=/boot/kernel-2.6.34-gentoo-r1
> > label=Linux
> > read-only
> > (chroot) livecd / #
> >
>
> The messages on the screen when trying to boot are:
>
> * Checking root filesystem
> ext2fs_check_if_mount: Can't check if filesystem is mounted due to
> missing mtab file while determining whether /dev/da4 is mounted.
> fsck.ext3: No such file or directory while trying to open /dev/hda4
> /dev/hda4:
> The superblock could not be read or does not describe a correct ext2
> filesystem.
> <snip>
>
> * Filesystem couldn't be fixed. :(
>
> - Mark
>
>
[-- Attachment #2: Type: text/html, Size: 5717 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 19:17 ` Joe Fox
@ 2010-08-31 19:31 ` Mark Knecht
2010-08-31 20:50 ` Joe Fox
0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-08-31 19:31 UTC (permalink / raw
To: gentoo-ppc-user
On Tue, Aug 31, 2010 at 12:17 PM, Joe Fox <jwfoxjr@gmail.com> wrote:
> Mark,
>
> Can you post your /etc/fstab? I just want to give it a once over.
>
> Thanks.
>
> Joe Fox
> Systems/Network Administrator
>
> Mobile# (716) 846-9308
> http://twitter.com/JWFoxJr
>
Thanks Joe. Here it is.
Mark
livecd ~ # cat /mnt/gentoo/etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally
aren't
# needed; notail increases performance of ReiserFS (at the expense of
storage
# efficiency). It's safe to drop the noatime options if you want and
to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than
1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts>
<dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to
opts.
/dev/hda4 / ext3 noatime
0 1
/dev/hda3 none swap sw
0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
proc /proc proc defaults
0 0
shm /dev/shm tmpfs
nodev,nosuid,noexec 0 0
livecd ~ #
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 19:31 ` Mark Knecht
@ 2010-08-31 20:50 ` Joe Fox
2010-08-31 21:35 ` Mark Knecht
0 siblings, 1 reply; 15+ messages in thread
From: Joe Fox @ 2010-08-31 20:50 UTC (permalink / raw
To: gentoo-ppc-user
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Mark,
Did you compile in your ext2/ext3 support as a module or statically into the
kernel? If you compiled them as modules, then you need to create an inirtrd
that includes the drivers to load on boot.
Just a thought.
Joe
On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht <markknecht@gmail.com> wrote:
> /dev/hda4 / ext3 noatime
[-- Attachment #2: Type: text/html, Size: 668 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 20:50 ` Joe Fox
@ 2010-08-31 21:35 ` Mark Knecht
2010-09-02 21:55 ` Mark Knecht
0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-08-31 21:35 UTC (permalink / raw
To: gentoo-ppc-user
On Tue, Aug 31, 2010 at 1:50 PM, Joe Fox <jwfoxjr@gmail.com> wrote:
> Mark,
>
> Did you compile in your ext2/ext3 support as a module or statically into the
> kernel? If you compiled them as modules, then you need to create an inirtrd
> that includes the drivers to load on boot.
>
> Just a thought.
>
> Joe
>
>
> On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht <markknecht@gmail.com> wrote:
>>
>> /dev/hda4 / ext3 noatime
>
I believe they are both built-in:
livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT2
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set
livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT3
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
livecd ~ #
- Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-08-31 21:35 ` Mark Knecht
@ 2010-09-02 21:55 ` Mark Knecht
2010-09-02 23:31 ` Enlightened User
0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-09-02 21:55 UTC (permalink / raw
To: gentoo-ppc-user
On Tue, Aug 31, 2010 at 2:35 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Tue, Aug 31, 2010 at 1:50 PM, Joe Fox <jwfoxjr@gmail.com> wrote:
>> Mark,
>>
>> Did you compile in your ext2/ext3 support as a module or statically into the
>> kernel? If you compiled them as modules, then you need to create an inirtrd
>> that includes the drivers to load on boot.
>>
>> Just a thought.
>>
>> Joe
>>
>>
>> On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht <markknecht@gmail.com> wrote:
>>>
>>> /dev/hda4 / ext3 noatime
>>
>
> I believe they are both built-in:
>
> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT2
> CONFIG_EXT2_FS=y
> CONFIG_EXT2_FS_XATTR=y
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
> # CONFIG_EXT2_FS_XIP is not set
> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT3
> CONFIG_EXT3_FS=y
> # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y
> livecd ~ #
>
> - Mark
>
Anyone else able to chime in before I give up on PowerPC again? Sure
would like to get this running again.
QUESTION: Is there a way to rebuild partition 1 on these Apple disks?
The one labeled 'Apple_partition_map '? Seems like that's the only
thing I haven't touched yet having rebuilt this machine twice.
Again, this machine has run Gentoo for a few years. I was doing a
major emerge -e @world operation which seemed to finish successfully
but when I rebooted the kernel doesn't see the drive. I've rebuilt the
machine 2 more times from scratch and continue to be stumped by this
problem.
Thanks,
Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-02 21:55 ` Mark Knecht
@ 2010-09-02 23:31 ` Enlightened User
2010-09-03 12:42 ` Joe Fox
2010-09-03 13:38 ` Mark Knecht
0 siblings, 2 replies; 15+ messages in thread
From: Enlightened User @ 2010-09-02 23:31 UTC (permalink / raw
To: gentoo-ppc-user
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
On Sep 2, 2010, at 5:55 PM, Mark Knecht wrote:
> On Tue, Aug 31, 2010 at 2:35 PM, Mark Knecht <markknecht@gmail.com>
> wrote:
>> On Tue, Aug 31, 2010 at 1:50 PM, Joe Fox <jwfoxjr@gmail.com> wrote:
>>> Mark,
>>>
>>> Did you compile in your ext2/ext3 support as a module or
>>> statically into the
>>> kernel? If you compiled them as modules, then you need to create
>>> an inirtrd
>>> that includes the drivers to load on boot.
>>>
>>> Just a thought.
>>>
>>> Joe
>>>
>>>
>>> On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht
>>> <markknecht@gmail.com> wrote:
>>>>
>>>> /dev/hda4 / ext3 noatime
>>>
>>
>> I believe they are both built-in:
>>
>> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT2
>> CONFIG_EXT2_FS=y
>> CONFIG_EXT2_FS_XATTR=y
>> CONFIG_EXT2_FS_POSIX_ACL=y
>> CONFIG_EXT2_FS_SECURITY=y
>> # CONFIG_EXT2_FS_XIP is not set
>> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT3
>> CONFIG_EXT3_FS=y
>> # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
>> CONFIG_EXT3_FS_XATTR=y
>> CONFIG_EXT3_FS_POSIX_ACL=y
>> CONFIG_EXT3_FS_SECURITY=y
>> livecd ~ #
>>
>> - Mark
>>
>
> Anyone else able to chime in before I give up on PowerPC again? Sure
> would like to get this running again.
>
> QUESTION: Is there a way to rebuild partition 1 on these Apple disks?
> The one labeled 'Apple_partition_map '? Seems like that's the only
> thing I haven't touched yet having rebuilt this machine twice.
>
> Again, this machine has run Gentoo for a few years. I was doing a
> major emerge -e @world operation which seemed to finish successfully
> but when I rebooted the kernel doesn't see the drive. I've rebuilt the
> machine 2 more times from scratch and continue to be stumped by this
> problem.
>
> Thanks,
> Mark
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-02 23:31 ` Enlightened User
@ 2010-09-03 12:42 ` Joe Fox
2010-09-03 13:38 ` Mark Knecht
1 sibling, 0 replies; 15+ messages in thread
From: Joe Fox @ 2010-09-03 12:42 UTC (permalink / raw
To: gentoo-ppc-user
[-- Attachment #1: Type: text/plain, Size: 2644 bytes --]
Barry,
That's a good idea. I forgot about that. I was was going to suggest that
Mark verify that he's compiling the right drive controller driver, but if
that was the case, he wouldn't have gotten as far as he did.
Joe Fox
Systems/Network Administrator
Mobile# (716) 846-9308
http://twitter.com/JWFoxJr
On Thu, Sep 2, 2010 at 7:31 PM, Enlightened User <linux@nc.rr.com> 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
>
>
> On Sep 2, 2010, at 5:55 PM, Mark Knecht wrote:
>
> On Tue, Aug 31, 2010 at 2:35 PM, Mark Knecht <markknecht@gmail.com>
>> wrote:
>>
>>> On Tue, Aug 31, 2010 at 1:50 PM, Joe Fox <jwfoxjr@gmail.com> wrote:
>>>
>>>> Mark,
>>>>
>>>> Did you compile in your ext2/ext3 support as a module or statically into
>>>> the
>>>> kernel? If you compiled them as modules, then you need to create an
>>>> inirtrd
>>>> that includes the drivers to load on boot.
>>>>
>>>> Just a thought.
>>>>
>>>> Joe
>>>>
>>>>
>>>> On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht <markknecht@gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> /dev/hda4 / ext3 noatime
>>>>>
>>>>
>>>>
>>> I believe they are both built-in:
>>>
>>> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT2
>>> CONFIG_EXT2_FS=y
>>> CONFIG_EXT2_FS_XATTR=y
>>> CONFIG_EXT2_FS_POSIX_ACL=y
>>> CONFIG_EXT2_FS_SECURITY=y
>>> # CONFIG_EXT2_FS_XIP is not set
>>> livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT3
>>> CONFIG_EXT3_FS=y
>>> # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
>>> CONFIG_EXT3_FS_XATTR=y
>>> CONFIG_EXT3_FS_POSIX_ACL=y
>>> CONFIG_EXT3_FS_SECURITY=y
>>> livecd ~ #
>>>
>>> - Mark
>>>
>>>
>> Anyone else able to chime in before I give up on PowerPC again? Sure
>> would like to get this running again.
>>
>> QUESTION: Is there a way to rebuild partition 1 on these Apple disks?
>> The one labeled 'Apple_partition_map '? Seems like that's the only
>> thing I haven't touched yet having rebuilt this machine twice.
>>
>> Again, this machine has run Gentoo for a few years. I was doing a
>> major emerge -e @world operation which seemed to finish successfully
>> but when I rebooted the kernel doesn't see the drive. I've rebuilt the
>> machine 2 more times from scratch and continue to be stumped by this
>> problem.
>>
>> Thanks,
>> Mark
>>
>>
>
>
[-- Attachment #2: Type: text/html, Size: 3894 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-02 23:31 ` Enlightened User
2010-09-03 12:42 ` Joe Fox
@ 2010-09-03 13:38 ` Mark Knecht
2010-09-03 21:42 ` Enlightened User
1 sibling, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-09-03 13:38 UTC (permalink / raw
To: gentoo-ppc-user
On Thu, Sep 2, 2010 at 4:31 PM, Enlightened User <linux@nc.rr.com> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-03 13:38 ` Mark Knecht
@ 2010-09-03 21:42 ` Enlightened User
2010-09-03 22:15 ` [gentoo-ppc-user] Unsubscribe!!! Dr John Krane
2010-09-03 22:48 ` [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
0 siblings, 2 replies; 15+ messages in thread
From: Enlightened User @ 2010-09-03 21:42 UTC (permalink / raw
To: gentoo-ppc-user
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]
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 <linux@nc.rr.com>
> 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
>
[-- Attachment #2: Type: text/html, Size: 2923 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-ppc-user] Unsubscribe!!!
2010-09-03 21:42 ` Enlightened User
@ 2010-09-03 22:15 ` Dr John Krane
2010-09-23 12:00 ` Dr John Krane
2010-09-03 22:48 ` [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
1 sibling, 1 reply; 15+ messages in thread
From: Dr John Krane @ 2010-09-03 22:15 UTC (permalink / raw
To: gentoo-ppc-user
Hi,
Can somebody please please please get me off this list? I have tried
unsubscribing numerous times, only to get an automated response that I
am not subscribed to the list in the first place. But I still get the
emails! My address is:
jkrane@netzero.com or
jkrane@netzero.net
I figure the 'bot is trying to unsubscribe one and I am subscribed as
the other. There is no way to tell to bot to unsubscribe anything
specific, as far as I can tell. I am writing this in the hopes that an
admin will see it and help me out.
John Krane
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-03 21:42 ` Enlightened User
2010-09-03 22:15 ` [gentoo-ppc-user] Unsubscribe!!! Dr John Krane
@ 2010-09-03 22:48 ` Mark Knecht
2010-09-03 23:43 ` Mark Knecht
1 sibling, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-09-03 22:48 UTC (permalink / raw
To: gentoo-ppc-user
On Fri, Sep 3, 2010 at 2:42 PM, Enlightened User <linux@nc.rr.com> wrote:
> 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
>
Thanks for the info.
OK - as a test I'm going a very different direction. As there is a
prebuilt Ubuntu PowerPC version I've just written a CD and it boots
fine. I'm right now in the process of letting it blow away my
non-functional Gentoo install and install Ubuntu. If that boots then I
can see what they did and redo Gentoo later with that knowledge.
As for using Gentoo on this box I'm not sure it's really worth it any
more. My main machines now are all x86_64 - as is probably true for
most people - but fast ones - an i5-661, i7-920 and an i7-980x where I
run 5 copies of Windows 7 at the same time in different VMWare jails.
I found I wasn't updating this old Mac Mini because it was too slow
and took too much of what I call 'Gentoo effort'. If I can find a
prepackaged version of MythTV for this machine then likely I'd be
better off just to run Ubuntu. I don't really need performance for a
MythTV backend server.
Anyway, I'll report back more when I know more.
Thanks!
Cheers,
Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
2010-09-03 22:48 ` [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
@ 2010-09-03 23:43 ` Mark Knecht
0 siblings, 0 replies; 15+ messages in thread
From: Mark Knecht @ 2010-09-03 23:43 UTC (permalink / raw
To: gentoo-ppc-user
On Fri, Sep 3, 2010 at 3:48 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Fri, Sep 3, 2010 at 2:42 PM, Enlightened User <linux@nc.rr.com> wrote:
>> 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
>>
>
> Thanks for the info.
>
> OK - as a test I'm going a very different direction. As there is a
> prebuilt Ubuntu PowerPC version I've just written a CD and it boots
> fine. I'm right now in the process of letting it blow away my
> non-functional Gentoo install and install Ubuntu. If that boots then I
> can see what they did and redo Gentoo later with that knowledge.
>
> As for using Gentoo on this box I'm not sure it's really worth it any
> more. My main machines now are all x86_64 - as is probably true for
> most people - but fast ones - an i5-661, i7-920 and an i7-980x where I
> run 5 copies of Windows 7 at the same time in different VMWare jails.
> I found I wasn't updating this old Mac Mini because it was too slow
> and took too much of what I call 'Gentoo effort'. If I can find a
> prepackaged version of MythTV for this machine then likely I'd be
> better off just to run Ubuntu. I don't really need performance for a
> MythTV backend server.
>
> Anyway, I'll report back more when I know more.
>
> Thanks!
>
> Cheers,
> Mark
>
So the Ubuntu install came up running. Boots fine, logs in OK. Dosn't
look like they ackage the MythTV backend for PowerPC so I need to
figure out how they did it and then get Gentoo working again.
HEre is yaboot.conf and fstab.
mark@MacMini:~$ cat /etc/yaboot.conf
## yaboot.conf generated by the Ubuntu installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=3
root=/dev/hda3
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/initrd.img
append="quiet splash"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash"
mark@MacMini:~$
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/hda3 / ext4 errors=remount-ro 0 1
/dev/hda4 none swap sw 0 0
mark@MacMini:~$
So, whatever was wrong with my Gentoo install it wasn't apparently hda vs sda...
Ubuntu sure seems weird. No root password? Everything done through
sudo? Strange... I'm sure I just don't understand after so many years
running Gentoo.
- Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-ppc-user] Unsubscribe!!!
2010-09-03 22:15 ` [gentoo-ppc-user] Unsubscribe!!! Dr John Krane
@ 2010-09-23 12:00 ` Dr John Krane
0 siblings, 0 replies; 15+ messages in thread
From: Dr John Krane @ 2010-09-23 12:00 UTC (permalink / raw
To: gentoo-ppc-user
Hi, it's me again,
Can somebody please please please get me off this list? I have tried
unsubscribing numerous times, only to get an automated response that I
am not subscribed to the list in the first place. But I still get the
emails! My address is:
jkrane@netzero.com or
jkrane@netzero.net
I figure the 'bot is trying to unsubscribe one and I am subscribed as
the other. There is no way to tell to bot to unsubscribe anything
specific, as far as I can tell. I am writing this in the hopes that an
admin will see it and help me out. My previous plea for admin help
was Sep 3, 2010. My first attempt to unsubscribe was May, 2009. I
have tried periodically since then.
John Krane
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2010-09-23 12:07 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 19:07 [gentoo-ppc-user] New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
2010-08-31 19:13 ` [gentoo-ppc-user] " Mark Knecht
2010-08-31 19:17 ` Joe Fox
2010-08-31 19:31 ` Mark Knecht
2010-08-31 20:50 ` Joe Fox
2010-08-31 21:35 ` Mark Knecht
2010-09-02 21:55 ` Mark Knecht
2010-09-02 23:31 ` Enlightened User
2010-09-03 12:42 ` Joe Fox
2010-09-03 13:38 ` Mark Knecht
2010-09-03 21:42 ` Enlightened User
2010-09-03 22:15 ` [gentoo-ppc-user] Unsubscribe!!! Dr John Krane
2010-09-23 12:00 ` Dr John Krane
2010-09-03 22:48 ` [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
2010-09-03 23:43 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox