Problem with partitioning

Ubivetz

Registered
Hi All!

I want to install Ubuntu 7.04 on my Intel iMac. But I can't repartition Mac volume.

Code:
[Mac@Ubivetz] diskutil list
/dev/disk0
   #:                   type name               size      identifier
   0:  GUID_partition_scheme                    *149.1 GB disk0
   1:                    EFI                    200.0 MB  disk0s1
   2:              Apple_HFS Macintosh HD       148.7 GB  disk0s2

[Mac@Ubivetz] diskutil information disk0s2
   Device Node:        /dev/disk0s2
   Device Identifier:  disk0s2
   Mount Point:        /
   Volume Name:        Macintosh HD

   File System:        Journaled HFS+
                       Journal size 16384 k at offset 0x294c000
   Owners:             Enabled
   Partition Type:     Apple_HFS
   Bootable:           Is bootable
   Media Type:         Generic
   Protocol:           SATA
   SMART Status:       Verified
   UUID:               83CC1015-EDFD-3315-A1D4-DFC5C85F2F6F

   Total Size:         148.7 GB
   Free Space:         64.2 GB

   Read Only:          No
   Ejectable:          No

and then I had tried to repartition:

Code:
[Mac@Ubivetz] sudo diskutil resizeVolume disk0s2 91G
Password:
Started resizing on disk disk0s2 Macintosh HD
Verifying
Resizing Volume

Resizing encountered error No space left on device (28) on disk disk0s2 Macintosh HD
This command also fails:
Code:
sudo diskutil resizeVolume disk0s2 89G "Linux" Linux 58G

I have Apple BootCamp installed and I tried to partition with it:
Bootcamp.jpg



RefIt! reports the fillowing:
*** Report for internal hard disk ***

Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 312319623 Mac OS X HFS+

Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 409640 312319623 af Mac OS X HFS+

MBR contents:
Boot Code: Unknown, but bootable

Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+, active
 
When you type:
Code:
sudo diskutil resizeVolume disk0s2 89G "Linux" Linux 58G

What is the error? Does it ask for a password?
 
When you type:
Code:
sudo diskutil resizeVolume disk0s2 89G "Linux" Linux 58G

What is the error? Does it ask for a password?
Yes, it asks, but problem is not regarding with it.
Mac OS X tools can't resize volume, which contain more then one partition.
Because I have REfIt installed, which has actually created its own small partition, dummy OS X failed to repartition.

I just boot with Ubuntu Live DVD, rrun GParted and have fun.
 
I tried booting from the ubuntu cd on my macbook pro but it didn't work, i had a error saying that X server can't load. Have you seen this before? What kind of computer are you using?
 
Back
Top