Record of some of the computer tech I deal with so that it's documented at least somewhere.

Saturday 15 May 2010

Mac-Mini Gentoo revisited

I got the Mac-Mini back. This time round I skipped the whole "Install 10.5 and use boot camp to make a partition" and went straight for the Gentoo i386 disk.

mini1 ~ # fdisk /dev/sda

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

... snip ...

mini1 ~ # parted /dev/sda
GNU Parted 1.9.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) unit b
(parted) p
Model: ATA FUJITSU MHV2060B (scsi)
Disk /dev/sda: 60011642880B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20480B 209735679B 209715200B fat32 EFI system partition boot
2 209735680B 1000000511B 790264832B ext2
3 1000000512B 10000000511B 9000000000B ext3
4 10000000512B 60011625983B 50011625472B ext3

(parted)


Then I booted using the rEFIt iso disk, it fiddled with the MBR and now it boots.

# cat /etc/fstab
/dev/sda2 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda4 /mnt/Store ext3 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0

# cat /boot/grub/menu.lst
title Gentoo Linux
root (hd0,1)
kernel /boot/kernel root=/dev/sda3


Wheeee all done, got X, got ALSA, got mplayer

I have to make it do i915 as a module for Xorg, had to add mesa for the dri to work.

But work it does !!

2 comments:

Anthony said...

pssh. let me know when you've got plan9 on it.

Matt said...

hmmm, I never thought to try, it is an Intel version. We use 5 of them in the cinema to drive some TVs (don't ask why!). Getting mplayer running on them with -fixed-vo is why I've worked on the install. I'm really just clearing up some mess :)