---------- Forwarded message ----------
From: Felipe Sere <dodofxp@...>
Date: Thu, Sep 25, 2008 at 9:57 PM
Subject: Re: [Mactel-linux-users] Fwd: how to partition hdd with diskutil?
To: Ludovic Rousseau <ludovic.rousseau@...>
Partial success.
I have installed Windows, for some stupid reason it also formatted my
120GB Linux partiion to NTFS, but I didn't care about that. My problem
now is, that with Gparted I had to set a boot flag for XP (after the
formatting of ext and my swap it was suddenly gone!) and now it shows
up as EFI System in my GPT, as you can see below. Is there a way to
change this back to some MS type?
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 52576295 Mac OS X HFS+
3 52838440 322303327 Basic Data
4 322565472 385480031 EFI System (FAT)
5 385742176 390459783 Linux Swap
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 52576295 af Mac OS X HFS+
3 52838440 322303327 83 Linux
4 * 322565472 385480031 0c FAT32 (LBA)
On Thu, Sep 25, 2008 at 10:26 AM, Felipe Sere <dodofxp@...> wrote:
> So that is my battle plan for this afternoon:
> Use Disk Utilitly to create the partitions as HFS+
> Reformat them with (G)parted
> Install XP
> Install Linux
> I need to get some chocolate first to avoid major frustrations.
> I will report back on success/failure. Might have to write a wiki entry so that
>
> On Thu, Sep 25, 2008 at 10:05 AM, Ludovic Rousseau
> <ludovic.rousseau@...> wrote:
>> On Thu, Sep 25, 2008 at 9:55 AM, Felipe Sere <dodofxp@...> wrote:
>>> I'd sure love to do that, but Gparted can't make HSF+ partitions
>>> (correct me if I am wrong) and diskutil is utter CRAP. Disk Utility
>>> (the GUI) is even worse, as it only allows me to make HFS+ partitions.
>>> Which _might_ also be a good thing if I can do stuff "the way I want
>>> to".
>>> I could Disk Utility to make all the partition scheme the way you
>>> described and then use (g)parted to make the Linux ones ext3/xfs/swap
>>> respectively and then the Windows one FAT32. Does this procedure
>>> tamper with the partition order?
>>
>> Just use (g)parted to change the partition type from HFS+ to Linux. I
>> don't know about Windows partition. Maybe (g)parted can be used to
>> change the partition type to FAT32 or something desired by Windows.
>>
>> This would not change the partition order. Just the partition types.
>>
>> bye
>>
>> --
>> Dr. Ludovic Rousseau
>>
>
>
>
> --
> Felipe Sere
>
--
Felipe Sere
--
Felipe Sere

So that is my battle plan for this afternoon:
Use Disk Utilitly to create the partitions as HFS+
Reformat them with (G)parted
Install XP
Install Linux
I need to get some chocolate first to avoid major frustrations.
I will report back on success/failure. Might have to write a wiki entry so that
On Thu, Sep 25, 2008 at 10:05 AM, Ludovic Rousseau
<ludovic.rousseau@...> wrote:
> On Thu, Sep 25, 2008 at 9:55 AM, Felipe Sere <dodofxp@...> wrote:
>> I'd sure love to do that, but Gparted can't make HSF+ partitions
>> (correct me if I am wrong) and diskutil is utter CRAP. Disk Utility
>> (the GUI) is even worse, as it only allows me to make HFS+ partitions.
>> Which _might_ also be a good thing if I can do stuff "the way I want
>> to".
>> I could Disk Utility to make all the partition scheme the way you
>> described and then use (g)parted to make the Linux ones ext3/xfs/swap
>> respectively and then the Windows one FAT32. Does this procedure
>> tamper with the partition order?
>
> Just use (g)parted to change the partition type from HFS+ to Linux. I
> don't know about Windows partition. Maybe (g)parted can be used to
> change the partition type to FAT32 or something desired by Windows.
>
> This would not change the partition order. Just the partition types.
>
> bye
>
> --
> Dr. Ludovic Rousseau
>
--
Felipe Sere

On Thu, Sep 25, 2008 at 9:55 AM, Felipe Sere <dodofxp@...> wrote:
> I'd sure love to do that, but Gparted can't make HSF+ partitions
> (correct me if I am wrong) and diskutil is utter CRAP. Disk Utility
> (the GUI) is even worse, as it only allows me to make HFS+ partitions.
> Which _might_ also be a good thing if I can do stuff "the way I want
> to".
> I could Disk Utility to make all the partition scheme the way you
> described and then use (g)parted to make the Linux ones ext3/xfs/swap
> respectively and then the Windows one FAT32. Does this procedure
> tamper with the partition order?
Just use (g)parted to change the partition type from HFS+ to Linux. I
don't know about Windows partition. Maybe (g)parted can be used to
change the partition type to FAT32 or something desired by Windows.
This would not change the partition order. Just the partition types.
bye
--
Dr. Ludovic Rousseau

---------- Forwarded message ----------
From: Felipe Sere <dodofxp@...>
Date: Thu, Sep 25, 2008 at 9:04 AM
Subject: Re: [Mactel-linux-users] how to partition hdd with diskutil?
To: Ludovic Rousseau <ludovic.rousseau@...>
I'd sure love to do that, but Gparted can't make HSF+ partitions
(correct me if I am wrong) and diskutil is utter CRAP. Disk Utility
(the GUI) is even worse, as it only allows me to make HFS+ partitions.
Which _might_ also be a good thing if I can do stuff "the way I want
to".
I could Disk Utility to make all the partition scheme the way you
described and then use (g)parted to make the Linux ones ext3/xfs/swap
respectively and then the Windows one FAT32. Does this procedure
tamper with the partition order?
The correct order shold be:
1. EFI (the hidden one)
2. MacOS X
3. Linux "/"
4. Windows
5. Linux /home
5. SWAP
On Thu, Sep 25, 2008 at 8:50 AM, Ludovic Rousseau
<ludovic.rousseau@...> wrote:
> On Wed, Sep 24, 2008 at 10:31 PM, Felipe Sere <dodofxp@...> wrote:
>> Hi everyone.
>
> Hello,
>
>> Sorry if this email sounds rude/rough, but I have reinstall OSX 3 times today.
>> All I want to do is nicely format my hard drive. No swap, nothing
>> fancy. I want to shrink the OSX parition (disk0s2) from the full 186GB
>> to only 25GB, add a new partition for my Linux "/" with 129GB and
>> finally one for Windwos with 30GB.
>> All the sites from Goolge use some "Linux" as the filesystem type for
>> the parameter in diskutil. That is plain _WRONG_ with a 10.5 OSX
>> install. There is no such thing! To make it even better, diskutil
>> creates two empty partitions infront of the HFS+ partition. As a
>> result I can not merge these partitions back in without dumping my OSX
>> install.
>>
>> Can someone please be kind enough to provide me with the correct
>> "filesystem" parameter needed to perform this action? Even better
>> would be a "full" diskutil call...
>
> Why don't you just partition your disk using Disk Utility with all the
> partition you want _before_ you install Mac OS X?
>
> You could use this partition scheme:
> 1. EFI (hidden by Disk Utility)
> 2. Mac OS X
> 3. Windows
> 4. Linux
> 5. swap
> 6. home
>
> The partitions 5 and 6 wlll not be visible on the MBR but Linux will
> be able to use them.
>
> Bye
>
> --
> Dr. Ludovic Rousseau
>
--
Felipe Sere
--
Felipe Sere

On Wed, Sep 24, 2008 at 10:31 PM, Felipe Sere <dodofxp@...> wrote:
> Hi everyone.
Hello,
> Sorry if this email sounds rude/rough, but I have reinstall OSX 3 times today.
> All I want to do is nicely format my hard drive. No swap, nothing
> fancy. I want to shrink the OSX parition (disk0s2) from the full 186GB
> to only 25GB, add a new partition for my Linux "/" with 129GB and
> finally one for Windwos with 30GB.
> All the sites from Goolge use some "Linux" as the filesystem type for
> the parameter in diskutil. That is plain _WRONG_ with a 10.5 OSX
> install. There is no such thing! To make it even better, diskutil
> creates two empty partitions infront of the HFS+ partition. As a
> result I can not merge these partitions back in without dumping my OSX
> install.
>
> Can someone please be kind enough to provide me with the correct
> "filesystem" parameter needed to perform this action? Even better
> would be a "full" diskutil call...
Why don't you just partition your disk using Disk Utility with all the
partition you want _before_ you install Mac OS X?
You could use this partition scheme:
1. EFI (hidden by Disk Utility)
2. Mac OS X
3. Windows
4. Linux
5. swap
6. home
The partitions 5 and 6 wlll not be visible on the MBR but Linux will
be able to use them.
Bye
--
Dr. Ludovic Rousseau

Hi everyone.
Sorry if this email sounds rude/rough, but I have reinstall OSX 3 times today.
All I want to do is nicely format my hard drive. No swap, nothing
fancy. I want to shrink the OSX parition (disk0s2) from the full 186GB
to only 25GB, add a new partition for my Linux "/" with 129GB and
finally one for Windwos with 30GB.
All the sites from Goolge use some "Linux" as the filesystem type for
the parameter in diskutil. That is plain _WRONG_ with a 10.5 OSX
install. There is no such thing! To make it even better, diskutil
creates two empty partitions infront of the HFS+ partition. As a
result I can not merge these partitions back in without dumping my OSX
install.
Can someone please be kind enough to provide me with the correct
"filesystem" parameter needed to perform this action? Even better
would be a "full" diskutil call...
--
Felipe Sere
PS: How the f### can Apple ship a partitioning tool that is not able
to delete partitions? Which trainee got to play a little and write
this 'tool'?

Hi, I mastered triple boot on my macmini and it looks like this
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee EFI GPT
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 4595 36700160 af Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3 4611 11791 57671680 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 11791 14594 22513072 7 HPFS/NTFS
Now, from your listing I can see you add an extra swap partition. Afaik
this is not possible with triple-boot. So you have to go with a swap
file:
/swap none swap sw
0 0
in fstab.
The order of installing the systems was in my case: OSX -> Bootcamp ->
WindowsXP -> Linux. I am not able to boot Windows from inital Bootcamp
menu. Instead, I boot WinXP from the installed lilo (works on grub too,
already tested).
Hope this helps
HARALD
On Tue, 2008-09-23 at 19:08 +0200, Felipe Sere wrote:
> Hi everyone. I am trying to get my Macbook Pro to tripe boot OSX, XP and Linux.
> Now, what I did was the following:
> 1. Install OSX on the HDD in one partition spanning the whole disk
> 2. Use BootCamp (2.0) to split off 32GB for WindwosXP
> 3. Install XP + updates
> 4. Shrink MacOSX partition to 25GB to make space for a linux install
> 5. Shrink WinXP partiion from 32GB to 30GB to make space for a swap
> partition behind XP
> 6. Partition the space between OSX and XP to ext3
>
> Now. XP wont boot anymore and gives me a hal.dll error. This error
> comes when XP is not on the last visible partition to EFI (IIRC)
> That surprised me, as I thought that my partition scheme looked like this:
> 1.EFI
> 2.OSX
> 3. Linux (EXT3)
> 4. WinXP
> 5.SWAP
>
> Which should not have been a problem, as WinXP only sees up to
> partition 4 and thus itself as being on the last partition. Linux
> being EFI-aware should be able to see swap though.
> I veryfied the GTP and MBR scheme and this is what I got and what surprised me:
> GPT:
> # Start-LBA End-LBA Type
> 1 40 409639 EFI
> 2 409640 52576295 MacOSX HFS+
> 3 323404515 386523899 EFI
> 4 386523900 390716864 SWAP
> 5 52580745 323404514 Basic Data
>
> MBR:
> # Start-LBA End-LBA Type
> 1 1 409639 EFI Protective
> 2 409639 52576295 MacOSX HFS+
> 3 323404515 386523899 NTFS
> 4 386523900 390716864 SWAP
>
> Now, If I were to order them by LBA Start/End, it would make more
> sense, then in the GPT table the partitions 1 and 2 would stay, but
> number 3 would become number 4 (the NTFS partition), number 5 would
> become number 3 (the linux ext3 partition) and number 4 would become 5
> (the swap parition).
>
> If with some magic the order could be changed without changing the LBA
> Start/End parts, thus, just reordering the table itself, without
> touching the partitions, and then syncing the GPT table to MBR I
> should be able to boot my configuration and proceed...
> If it is not possible, what is the correct order to achieve such a GPT
> table? If I partition first, I dont know how to get the MacBook to go
> hybrid allowing for advanced grafics under Linux (and probably
> windows), as that is done by Bootcamp IIRC.
>
> Thank you very much
>

Hi everyone. I am trying to get my Macbook Pro to tripe boot OSX, XP and Linux.
Now, what I did was the following:
1. Install OSX on the HDD in one partition spanning the whole disk
2. Use BootCamp (2.0) to split off 32GB for WindwosXP
3. Install XP + updates
4. Shrink MacOSX partition to 25GB to make space for a linux install
5. Shrink WinXP partiion from 32GB to 30GB to make space for a swap
partition behind XP
6. Partition the space between OSX and XP to ext3
Now. XP wont boot anymore and gives me a hal.dll error. This error
comes when XP is not on the last visible partition to EFI (IIRC)
That surprised me, as I thought that my partition scheme looked like this:
1.EFI
2.OSX
3. Linux (EXT3)
4. WinXP
5.SWAP
Which should not have been a problem, as WinXP only sees up to
partition 4 and thus itself as being on the last partition. Linux
being EFI-aware should be able to see swap though.
I veryfied the GTP and MBR scheme and this is what I got and what surprised me:
GPT:
# Start-LBA End-LBA Type
1 40 409639 EFI
2 409640 52576295 MacOSX HFS+
3 323404515 386523899 EFI
4 386523900 390716864 SWAP
5 52580745 323404514 Basic Data
MBR:
# Start-LBA End-LBA Type
1 1 409639 EFI Protective
2 409639 52576295 MacOSX HFS+
3 323404515 386523899 NTFS
4 386523900 390716864 SWAP
Now, If I were to order them by LBA Start/End, it would make more
sense, then in the GPT table the partitions 1 and 2 would stay, but
number 3 would become number 4 (the NTFS partition), number 5 would
become number 3 (the linux ext3 partition) and number 4 would become 5
(the swap parition).
If with some magic the order could be changed without changing the LBA
Start/End parts, thus, just reordering the table itself, without
touching the partitions, and then syncing the GPT table to MBR I
should be able to boot my configuration and proceed...
If it is not possible, what is the correct order to achieve such a GPT
table? If I partition first, I dont know how to get the MacBook to go
hybrid allowing for advanced grafics under Linux (and probably
windows), as that is done by Bootcamp IIRC.
Thank you very much
--
Felipe Sere

Hi Pol,
On Tue, Sep 23, 2008 at 09:26, Pol Hallen <mactel1@...> wrote:
> Is there a way to use the integrated mic in macbook?
Not sure about the MacBook, but my MBP 4,1 works as long as I fiddle
all the driver settings properly. Basically:
/etc/modprobe.d/options:options snd_hda_intel model=mbp3
Then unmute Mic and MicBoost and maximize level, and make sure Mic is
input source (look around alsamixer).
Note: My mic is in the left speaker - sort of where the power button
isn't... ;-)
Good luck / Jonas

Hi everyone,
this is my first mail to the list.
Would it be possible for people running a MacBook Pro (early 2008) to
update the Wiki page "Kernel Configuration Guide"?
Right now I have an unbootable kernel, and I would like to provide a
nice, MacBook Pro optimized Kernel for Zenwalk, as part of bigger
project =)
Thanks...
--
Felipe Sere