View previous topic :: View next topic |
Author |
Message |
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Mon Jul 03, 2006 12:37 pm Post subject: |
|
|
marvellous: try to unselect the "Apple USB Touchpad" in kernel config, so it will use the usbhid device. the touchpad driver failed on my configuration too, well.... it work, but really really unresponsive.
dmvianna: two linux startup options ?? would you describe your partition and lilo configuration ? |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Jul 03, 2006 12:46 pm Post subject: |
|
|
I'm in OSX now, so...
Code: | d58-106-5-117:~ daniel$ diskutil list
/dev/disk0
#: type name size identifier
0: GUID_partition_scheme *74.5 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 54.0 GB disk0s2
3: Microsoft Basic Data 19.3 GB disk0s3
4: Microsoft Basic Data 978.8 MB disk0s4
|
The last two are ext3, I'm not using the very last one, but it does not matter really. rEFIt showed two options before I created the small partition 4. rEFIt shows two startup items for the Ubuntu live CD as well (although just one of them boots).
My lilo config is the usual one, that is, Code: | boot=/dev/sda
prompt
timeout=50
default=gentoo
image=/boot/kernel-2.6.16-gentoo-r9
label=Gentoo
read-only
root=/dev/sda3 |
But I did try to change to boot=/dev/sda3 too, and did install lilo after that, and again, and back... _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Mon Jul 03, 2006 3:06 pm Post subject: |
|
|
i remember there was 1024 cylinder limit on lilo, so we need "lba32" option if we want to boot from third partition like that. try to add that option.
and while i'm not really sure how important is this, change also your "default" option. it's different than the real label. i can't find any writing whether lilo is case sensitive or not. |
|
Back to top |
|
|
marvellous n00b
Joined: 02 Jul 2006 Posts: 3
|
Posted: Mon Jul 03, 2006 4:00 pm Post subject: |
|
|
@rzr thanks for your help, but "Apple USB Touchpad" is already unselect.
when i select it and compile the kernel again, there are the same problems
can someone post his kernel-config please?
i have also problems whith booting the kernel with the config from mactel-linux.org.
sometimes i get the following kernel panic message:
MP-BIOS bug: 8254 timer not connected to IO-APIC
Kernel panic: IO-APIC + timer doesn't work
after one or two reboots the kernel seems to be ok... |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Jul 03, 2006 10:30 pm Post subject: |
|
|
I gave up lilo entirely, as I'm not booting MS anyway. I've compiled elilo, put elilo.efi it in an unjournalled HFS+ partition, along with the kernel and a elilo.conf. Although I've fiddled so much with it before realising it had to be a HFS+ partition, I am now in need of an elilo.conf example so I could make it work. Well, at least in that way I was able to go a step further: this time it is elilo which hangs up, not rEFIt, which runs properly (although still giving me two boot options for each bootable linux drive).
I must say that I've compiled elilo from their homepage source tarball, not through portage. It was easier than including a x86 keyword in the relevant ebuilds. Should we file a bug for that at some point, so the ebuild states the x86 keyword?
My present elilo.conf (laughing is tolerated):
Code: | default=gentoo
verbose=5
root=/dev/sda4
read-only
legacy-free
image=/kernel-2.6.16-gentoo-r9
root=/dev/sda3
read-only
label=gentoo
append="video=imacfb:i17 acpi=force libata.atapi_enabled=1 root=/dev/sda4 gpt" |
_________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Tue Jul 04, 2006 3:54 am Post subject: |
|
|
marvellous: this is my kernel config and xorg.conf , maybe you could use it as comparison.
just don't use it as is, beware that i'm not even include ext2 fs support, and it may be dangerous for your configuration.
dmvianna: even when i want to laugh, i can't because i know nothing about elilo so.. can't give comment here.
but i can comment about the keywording. you don't need to include x86 keyword in the relevant ebuild (well... actually it's a "don't even do that"), you could use /etc/portage/package.keywords for this kind of moment.
echo "sys-boot/elilo ia64" >> /etc/portage/package.keywords
and we do need lilo/grub even we're not booting MS, because the kernel need to take information from bios (actually bootcamp here) about the vga. and we can't get direct rendering on X without that information.
last, while the cause is still unknown, actually there is no one ever succeed booting macbooks with elilo. see the last part on http://desrt.mcmaster.ca/macbook.xhtml. |
|
Back to top |
|
|
marvellous n00b
Joined: 02 Jul 2006 Posts: 3
|
Posted: Tue Jul 04, 2006 6:41 am Post subject: |
|
|
after compiling the new 2.6.17-r1 kernel with a new config-file, which i editet manually, the kernel boots correctly and the trackpad works without any problems
thanks a lot |
|
Back to top |
|
|
vanten n00b
Joined: 08 Jan 2006 Posts: 44 Location: Sweden
|
Posted: Wed Jul 05, 2006 8:54 pm Post subject: |
|
|
Sorry if this is a silly question, or if the answer, allready heve been tolden. Just point at the direction then
I have manage to make 2 etx2 partitions on my macbook now with parted.
/dev/sda4 (for swap 1gb)
/dev/sda5
fdisk can only see one of those, or both as one unit.
My problem is that i cant mount /dev/sda5 with my gentoo 2006 livecd.
So how did you make that possible?
I don't want to format my hdd, since I have no backup space available.
If it wasn't enought, I cant mount my hfsplus partitions. I got some usefull things to complement my installation process. And im to stingy to burn 4 mb on a cd.
Any thoughts or something that could help me? _________________ .: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Wed Jul 05, 2006 10:30 pm Post subject: |
|
|
rzr:
Thanks for the info about elilo not working on MacBooks. I see I was on the wrong track. Yes, my elilo did hang in the middle of the kernel booting process.
rzr wrote: | and we do need lilo/grub even we're not booting MS, because the kernel need to take information from bios (actually bootcamp here) about the vga. and we can't get direct rendering on X without that information. |
So has anyone succeeded in booting with grub?? I thought only lilo worked, and I am not that familiar with it. I have a brand new MacBook Pro, so I guess I don't need Bootcamp (which is the firmware update, right?). Could anyone point me to the right direction as to fix the booting process? I have the two original EFI and MBR partitions still, plus the original OSX partition intact (resized), then a 500MB HFS+ partition for booting (with journal off) and the last one is ext3 with Gentoo working (I boot it with the Ubuntu LiveCD by Mactel, then chroot). No swap yet (2GB RAM, dude ). _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Thu Jul 06, 2006 6:23 am Post subject: |
|
|
vanten : that's not a silly question, only a sign that you don't read the howto thoroughly.. . a combination of GPT and MBR partitions will inherit both limitation, make you can't create more than 4 partitions. that's why every howtos out there tell you to use swap file.
dmvianna: i have succeeded booting with grub, and there is grub section on the howto.
bootcamp is firmware update which is still on beta version, it's not included on the official version yet. so, yes... you need it if you want to do booting with MBR. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Thu Jul 06, 2006 9:48 am Post subject: |
|
|
rzr wrote: | bootcamp is firmware update which is still on beta version, it's not included on the official version yet. so, yes... you need it if you want to do booting with MBR. |
Well, I am not being successful at downloading bootcamp. After I register, I get a normal webpage and no download ever starts. And lilo doesn't work, but now I know why... Bootcamp missing? Would there be another way of getting the relevant dmg except from Apple? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
vanten n00b
Joined: 08 Jan 2006 Posts: 44 Location: Sweden
|
Posted: Thu Jul 06, 2006 10:25 am Post subject: |
|
|
rzr wrote: | vanten : that's not a silly question, only a sign that you don't read the howto thoroughly.. . a combination of GPT and MBR partitions will inherit both limitation, make you can't create more than 4 partitions. that's why every howtos out there tell you to use swap file. | Thanks, i did never count the GPT-MBR partition it self as a partition. I shall reduce to 4 partitions and make a swap-file as you and the wiki says
dmvianna wrote: |
Well, I am not being successful at downloading bootcamp. After I register, I get a normal webpage and no download ever starts. And lilo doesn't work, but now I know why... Bootcamp missing? Would there be another way of getting the relevant dmg except from Apple? | Dunno where you are tryng to download from..
1, http://www.apple.com/macosx/bootcamp/
2, Click top big picture, "Bootcamp public beta"
3, you are directed to a site where you have to submit:
email, which mac you are installing on, and mark agree on there terms.
4, A download should start within a second after you have clicked on download.
Are you doing it like above and still no download?
Unofficial download hosts:
#1 yousentit.com
#2 rapidshare.de _________________ .: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :. |
|
Back to top |
|
|
justwantstohelp Apprentice
Joined: 29 Jun 2006 Posts: 251 Location: Sacramento, California
|
Posted: Thu Jul 06, 2006 11:06 am Post subject: |
|
|
What's the status of sleep? I'm getting my macbook 1.83 in a few days, and I was wondering if anyone has tried suspend2 as I hear that swsusp doesn't work. What about uswsusp (>=2.6.17)? |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Thu Jul 06, 2006 11:34 am Post subject: |
|
|
vanten wrote: | Dunno where you are tryng to download from..
1, http://www.apple.com/macosx/bootcamp/
2, Click top big picture, "Bootcamp public beta"
3, you are directed to a site where you have to submit:
email, which mac you are installing on, and mark agree on there terms.
4, A download should start within a second after you have clicked on download.
Are you doing it like above and still no download? |
Yes. Tried many times with both Firefox and Safari. No luck. Will try alternatives, thank you. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Thu Jul 06, 2006 1:19 pm Post subject: |
|
|
OK, FINALLY lilo boots after the firmware update. How was I to know 'early 2006' means today? Damn, that's so vague. I still am having kernel panic for it seems not to be able to mount the root partition, but that will have to be solved later. Hey rzr, I'm using your kernel config just for being lazy, but even after including ext2 and ext3 support the root can't be mounted. Do you remember something on it which may be contributed to it not working, or maybe it's just because I did not ever use bootcamp? I don't want to wipe out my Gentoo installation to make bootcamp happy if I can avoid it. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Fri Jul 07, 2006 3:23 am Post subject: |
|
|
hmm...strange. no, there should not be anything like that. beside fs, another bad thing from it is i forgot to turn on module autoload, but that will only bring to inconvinience, and not kernel panic. so is your newly installed bootcamp, kernel loading should not be affected by it.
can't think any of the reason, i suppose you will only need to reinspect your kernel configuration...
[edit] wait... i also saw kernel panic twice, and can't find the reason. i think it's dealing with bootcamp still being beta. please also notice that mine is macbook (not a pro one), eventough the difference should not be too significant, it still different.
justwantstohelp: haven't played with sleep myself, but i heard sleep will not work out of the box. there is already a patch for it though, and ubuntu already include it on their kernel update. => http://desrt.mcmaster.ca/macbook.xhtml |
|
Back to top |
|
|
jhgz1 Retired Dev
Joined: 16 Dec 2003 Posts: 115 Location: Gainesville
|
Posted: Fri Jul 07, 2006 8:24 am Post subject: |
|
|
slashcom wrote: | Has anyone gotten the fn key to work? If so, what did you need to patch or module compile in, and what did you do to X11 to enable it. |
I looked around the mactel kernel patches and someone there figured it out. I added a link to the gentoo-wiki macbook article to the patch.
It's only a very small patch and after that it works flawlessly. _________________ Bei Gentoo mithelfen wollen und kein Programmierer? Gentoo sucht Übersetzer, die bereit sind kontinuierlich mitzuarbeiten. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Jul 08, 2006 3:56 am Post subject: |
|
|
OK, I did wipe all new partitions except the OSX primary one. But I still have /dev/sda3 and /dev/sda4, it seems parted is unable to delete them. diskutil won't remove them either, and Bootcamp will refuse to install in a HD with more than one partition. Does anyone has any idea on how to delete those partitions both in EFI and MBR without buying proprietary software? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
vanten n00b
Joined: 08 Jan 2006 Posts: 44 Location: Sweden
|
Posted: Sat Jul 08, 2006 10:25 am Post subject: |
|
|
dmvianna wrote: | Bootcamp will refuse to install in a HD with more than one partition. | Woot!? I'm sure about that fact that I installed bootcamp on my macbook with currently 3 (usable) partitions! - A livcd should probleby do the trick and resize, format etc on your hdd. _________________ .: GNU/Linux :: Gentoo :: Fluxbox :.
.: BSD :: OpenBSD :: Fluxbox :. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Jul 08, 2006 11:51 am Post subject: |
|
|
vanten wrote: | dmvianna wrote: | Bootcamp will refuse to install in a HD with more than one partition. | Woot!? I'm sure about that fact that I installed bootcamp on my macbook with currently 3 (usable) partitions! - |
Well, I just tried to run BootCamp Assistant. I get a window saying:
Quote: | Your startup disk cannot be partitioned or restored to a single partition.
Your startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows. |
vanten wrote: | A livcd should probleby do the trick and resize, format etc on your hdd. |
Well, the latest gparted sucks with my MacBook Pro, it seems not to load correclty some modules. It loaded a VERY slow X and could not locate /dev/sda. And the old mactel LiveCD is not able to partition correctly this system either. Compiling the latest parted on Knoppix' RAM filesystem did the trick, though, and now BootCamp starts up. Yay! Now to the next steps... _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
rzr n00b
Joined: 01 Jul 2006 Posts: 20 Location: Jakarta, Indonesia
|
Posted: Sat Jul 08, 2006 3:40 pm Post subject: |
|
|
well.. you don't need to start bootcamp assistant. it's only needed for them who want to install windows. wee only need the firmware part of bootcamp to do dualbooting with linux. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Jul 08, 2006 10:32 pm Post subject: |
|
|
rzr wrote: | well.. you don't need to start bootcamp assistant. it's only needed for them who want to install windows. wee only need the firmware part of bootcamp to do dualbooting with linux. |
Yes, but it seems that parted does not mark the partitions correctly in GPT/MBR, and I had made mine with it in the begining. So I had to remove them with parted (no OS X tool would do it unless I bought some more sofware), then extend back the original OSX partition to cover the entire volume (only bootcamp would do that).
Then I will be able to partition again with diskutil, and correctly mark partitions as Linux on the GPT/MBR, so I could mount the root filesystem. The previous paragraph is based on experience. This one here is theory, based on http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp, and I'll test it soon enough. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sun Jul 09, 2006 2:42 pm Post subject: |
|
|
OK, now I have two clean partitions, OS X and Gentoo. Nice. But still I have the kernel panic. I realised that this means I did not compile the right drivers for my HD device. It's too late and I have already spend a lot of time on it, so tomorrow or when I have time I'll probably set up genkernel for the first time in my Gentoo life. Ah, configurating the first kernel in a new machine is a tough task... _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Sun Jul 09, 2006 3:45 pm Post subject: |
|
|
Check this out guys. Release of gnome-power-manager 2.15.4:
Quote: | - Support MacBook Pro with it's crazy number of brightness states. #346080 |
_________________ You're not afraid of the dark are you? |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Tue Jul 11, 2006 6:55 am Post subject: |
|
|
Has anyone succeeded in dual booting the same user? Meaning, having you main user's permissions in the OS X partition recognised seamlessly by Gentoo? How would one make it possible? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|