Re: RE: Dual boot partition map examples?

[email protected]
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
Doh!

From what I can tell the 12-inch is very different from the 15- and 17-inch models in terms of video.

I followed the gentoo-ppc guide pretty closely, learning the following things along the way...

Lessons I've learned:

1) When the guide says you need to emerge the appropriate file system tools (9.d), it lists xfsprogs, reiserfsprogs, and jfsutils, but it doesn't list e2fsprogs, which you need in order to check ext2/ext3 filesystems; so be sure to "emerge e2fsprogs" even though it's not in the guide!

2) If you choose to enable "/dev file system support (OBSOLETE)" then make sure you DO NOT ENABLE "Automatically mount at boot"... this totally (and magnificently) screws up your boot process when you "emerge udev" (which you should do) later on.

3) Choosing the right compiler options in make.conf really makes a difference!  I'm attaching my make.conf.  Like I commented in the code, the CFLAGS came from:

         http://www.linuxjournal.com/article/7012

and the USE flags are slightly modified, but originally came from:

         http://vincent.strubel.free.fr/gentoo-pb/files/make.conf

4) X takes a long time to compile, and when done, Xconfigure didn't work (complained that it couldn't find my mouse or somesuch.  So, attaching my xorg.conf... you'll have to tweak the screen/monitor settings, because you have an ATi card, and we 12-inch people have Nvidia.

5) KDE takes even longer to compile ("emerge kde"-and-go-to-bed kind of long) -- that's what I'm doing now.  But I'm not sure if I'm going to stick with KDE.  I'm more of a command-line type of guy, so I may end up choosing a window manager with a little less... "cruft."  Although, it sure is pretty (using the Lipstik theme).

6) I ran into a weird problem whereby my system clock would reset to 1903 whenever I rebooted.  I posted to the forums, and someone gave me a good lead:

          http://forums.gentoo.org/viewtopic.php?t=286382

7) The real power of Gentoo is not in the build process for your box (although it is AWESOME), and it's not portage (although it is AWESOME beyond belief), it is the PEOPLE in the Gentoo community.  USE the forums!  USE the irc channels!  USE the listserv (oh wait...)!  The people are friendly and driven; it's a great combination!

Later,

chris.

-- 
:: Christopher Gautam Hota
:: Information Technology Specialist
:: (501) 683-7339 desk
:: (501) 413-1176 cell
:: [email protected]

|| Microsoft Certified Systems Engineer
|| Windows XP / Server 2003 

----- Original Message -----
From: "Polashek, Matthew" <[email protected]>
Date: Friday, January 28, 2005 9:15 am
Subject: RE: [gentoo-ppc-user] Dual boot partition map examples?

> Awesome!  Thanks!  That's exactly what I needed.
> 
> Do you feel like sharing the choices you made during installation?
> 
> (I'll be running it on a top of the line 17" monster with the hard 
> driveand video upgrades.  Hehehe.)
> 
> Matthew Polashek
> Project Editor - Editorial Services Group
> Macmillian/McGraw-Hill
> 212.904.4442
> 
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [[email protected]] 
> Sent: Friday, January 28, 2005 9:58 AM
> To: Polashek, Matthew
> Cc: [email protected]
> Subject: Re: [gentoo-ppc-user] Dual boot partition map examples?
> 
> Here you go.
> 
> I'm running one of the new Aluminum Powerbook G4 (12-inch).  Sweet
> little machine!
> 
> chris.
> 
> -- 
> :: Christopher Gautam Hota
> :: Information Technology Specialist
> :: (501) 683-7339 desk
> :: (501) 413-1176 cell
> :: [email protected]
> 
> || Microsoft Certified Systems Engineer
> || Windows XP / Server 2003 
> 
> ----- Original Message -----
> From: "Polashek, Matthew" <[email protected]>
> Date: Thursday, January 27, 2005 8:47 am
> Subject: [gentoo-ppc-user] Dual boot partition map examples?
> 
> > Anyone want to share an example partition map for a dual boot 
> > OSX/gentoosystem?
> > 
> > (My PowerBook can't run OS9 natively so at least that is less
> > complicated.)
> > 
> > 
> > 
> > Thanks!
> > 
> > 
> > 
> > Matthew Polashek
> > 
> > Project Editor - Editorial Services Group
> > 
> > Macmillian/McGraw-Hill
> > 
> > 
> > 
> >  <http://www.mozilla.org/products/firefox/> 
> > 
> > 
> > 
> > 
> > 
> > 
>

--
[email protected] mailing list
make.conf (application/octet-stream, 1.2 KB)
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

# The following CFLAGS setting was suggested by http://www.linuxjournal.com/article/7012 :
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char -mstring -mmultiple"

# The following is the default CFLAGS setting from the livecd:
# CFLAGS="-O2 -mtune=powerpc -fno-strict-aliasing -pipe"

CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://adelie.polymtl.ca/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net"

# The following USE flags were suggested by the PPC Gentoo Installation Handbook:
# USE="-gtk -gnome qt kde dvd alsa cdr"

# The following USE flags were suggested by http://vincent.strubel.free.fr/gentoo-pb/files/make.conf :
USE="-gnome X xv freetype truetype fbcon gtk2 socks5 nls cjk pdflib tetex kde qt qt-mt alsa arts xmms oggvorbis jpeg png tiff gif mpeg moznocompose mozsvg encode cups directfb pic cdr doc gb jikes opengl plotutils"
xorg.conf (application/octet-stream, 1.7 KB)
Section "Files"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"nVidia NV17 GeForce"
	Driver		"nv"
	#Driver		"offb"
	BusID		"PCI:0:16:0"
	VideoRam	64000
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-49
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia NV17 GeForce"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
yaboot.conf (application/octet-stream, 1.4 KB)
## /etc/yaboot.conf
##
## 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

## our bootstrap partition:

boot=/dev/hda2

## ofboot is the openfirmware way to specify the bootstrap partition.
## If this isn't defined, yaboot fails on the G5 and some G4s (unless 
## you pass the necessary arguments to the mkofboot/ybin program).
## hd:X means /dev/sdaX (or /dev/hdaX).
## 
## G5 users should uncomment this line!!

#ofboot=hd:2

## hd: is open firmware speak for hda
device=hd:

delay=5
defaultos=macosx
message=/etc/yaboot.msg
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

#################
## This section can be duplicated if you have more than one kernel or set of
## boot options - replace 2.6.9 with your kernel-version
#################
image=/boot/kernel-2.6.10-gentoo-r6 
  append="splash=silent,theme:emergence"
  label=Gentoo
  root=/dev/hda4
  partition=4
  sysmap=/boot/System.map-2.6.10-gentoo-r6
  read-only
##################

## G5 users and some G4 users should set 
##   macos=hd:13
##   macosx=hd:12
## instead of the example values.
# macos=/dev/hda13
macosx=/dev/hda5

enablecdboot
enableofboot
enablenetboot
cghota.vcf (text/x-vcard, 394 B)
begin:vcard
n:Hota;Christopher
fn:Christopher Hota
tel;cell:(501) 413-1176
tel;fax:(501) 569-8629
tel;home:(501) 240-4680
tel;work:(501) 683-7339
url:http://www.midsouth.ualr.edu/
org:MidSOUTH at UALR;Information Technology Specialist
adr:;;2801 S University Drive;Little Rock;AR;72205;USA
version:2.1
email;internet:[email protected]
title:Information Technology Specialist
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.