Forums | MacLife

You are not logged in.

  • Index
  •  » Boot Camp
  •  » Ubuntu install: strange partition worries

#1 2008-05-06 4:02 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Ubuntu install: strange partition worries

I have an iBook G4 1.33Ghz with 120 GB hard drive.

I started with this partition scheme, as done in Disk Utility:
KernalMustard HFS+ 71.66GB
Tiger HFS+ 15GB
ForLinux10 HFS+ 10GB
ForLinux7.5.1 HFS+ 7.5GB
ForLinux7.5.2 HFS+ 7GB
with Mac OS 9 drivers enabled.  I think KernalMustard came out as disk0s9, following all boot partitions, and there was a 128MB or something like that free space partition after each partition (as seen in linux's fdisk).

I recently tried to install Kubuntu (6.06.1).  Kparted wouldn't work though.  I used fdisk to create a 9GB ext3 partition plus 1GB swap in the ForLinux10 space, but the install disc wouldn't let me use those for some reason.

I then downloaded Ubuntu (6.06.1).  Gparted (whichever one is in the install app anyway) was able to read the disk fine.  It said there was free space in the ForLinux10 area, which was hda13.  I created a 9.75GB ext3 drive and a 512MB swap drive there (it was 10GB plus the free space spacer).  On the next step of the install, it selected hda9 as root partition and hda11 as swap.  I suddenly was confused and worried that it might have done something wrong.

I restarted into Mac OS X (Leopard by the way).  It started up fine and the drives in the finder read as normal, except that the ForLinux1 was missing.  But running Disk Utility, things did not look normal:
http://cosmicosmo.ath.cx/files/maf/linuxHDpartionting.png

It shows:
free space 86.92GB
disk0s9 HFS+ 9.75GB
KernalMustard HFS+ 71.66GB
disk0s11 HFS+ 512MB
Tiger HFS+ 15GB
ForLinux7.5.1 HFS+ 7.5GB
ForLinux7.5.2 HFS+ 7GB

Something is definately wrong there.  It also says there is 70.7GB free on KernalMustard (Finder says 24.28) and gives the wrong free space for the other drives as well.  I'm not sure what happened and I'm not sure if I should write any data to the linux drive, if perhaps it somehow has been placed over the front of KernalMustard but the Mac OS still is reading data from that area.

Anyone have any idea what happened here or what I should do to fix the problem?  For now I'm just going to use the KernalMustard OS as normal and back up regularly.


I hate your wimper

Offline

 

#2 2008-05-06 8:51 am

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

Okay, I see a few problems here:
1) Holy partitions batman.
2) Ubuntu 6.06? Why not use 8.04? Or do you have a PowerPC?
3) Why did you format your *nix partitions as HFS+? There's no HFS+ driver for *nix.

I think you need to back-up your home folder and nuke your drive to get this all sorted out.

Offline

 

#3 2008-05-06 10:39 am

mrreet2001
Member
From: NW Ohio
Registered: 2005-05-25
Posts: 2751

Re: Ubuntu install: strange partition worries

Booksley wrote:

Or do you have a PowerPC?

iBook G4 1.33Ghz

shrug


2.2Ghz BlackMB---15" 2.4Ghz MBP(work)---Dual 2.3Ghz G5 (4G Ram, 2x 250G HD)---1.5GHz Powerbook---1.6Ghz G5 iMac ---500Mhz iMac DV
2.4GHz PC --- 1.2Ghz PC laptop

Offline

 

#4 2008-05-06 1:35 pm

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

mrreet2001 wrote:

Booksley wrote:

Or do you have a PowerPC?

iBook G4 1.33Ghz

shrug

I am totally *not* blind.

You can get newer versions of PPC Ubuntu here.

But you still have issues with your partitions.

Offline

 

#5 2008-05-06 10:52 pm

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

Booksley wrote:

3) Why did you format your *nix partitions as HFS+? There's no HFS+ driver for *nix.

I originally formatted them as such since I didn't know how long it would be before I put Linux on them.  I can use them with the Mac OS until I do so, and they can easily be removed and replaced in *nix.

As for why the changed ones are currently listed as HFS+ by Disk Utility, I don't know.  They weren't formatted like that.

There are HFS+ drivers.  I had had them working read only at one point, but never got write to work.  That was with an older version of Ubuntu and not installed standard.  I'm not sure how it is currently.

I think you need to back-up your home folder and nuke your drive to get this all sorted out.

That's not what I was hoping for.  But if I must, I must.  I'll have to wait a bit for that.    Things are working fine for now.

You can get newer versions of PPC Ubuntu here.

Nice.  I'll have to try those.  How come they aren't listed in the normal mirrors?


I hate your wimper

Offline

 

#6 2008-05-07 10:35 am

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

cosmicosmo wrote:

Booksley wrote:

3) Why did you format your *nix partitions as HFS+? There's no HFS+ driver for *nix.

I originally formatted them as such since I didn't know how long it would be before I put Linux on them.  I can use them with the Mac OS until I do so, and they can easily be removed and replaced in *nix.

As for why the changed ones are currently listed as HFS+ by Disk Utility, I don't know.  They weren't formatted like that.

There are HFS+ drivers.  I had had them working read only at one point, but never got write to work.  That was with an older version of Ubuntu and not installed standard.  I'm not sure how it is currently.

I think you need to back-up your home folder and nuke your drive to get this all sorted out.

That's not what I was hoping for.  But if I must, I must.  I'll have to wait a bit for that.    Things are working fine for now.

You can get newer versions of PPC Ubuntu here.

Nice.  I'll have to try those.  How come they aren't listed in the normal mirrors?

For future partioning efforts, the best way to handle the possibility of other OSes is to carve out a chunk of space at the end of the drive, without formatting it as a filesystem. That way you have a contiguous chunk that the installer can format as it pleases.

I found a recent thread on the Ubuntu forums regarding the HFS+ driver. From what they said, I wouldn't trust it, honestly. You need to disable journaling and writing can possibly corrupt files.

As for Ubuntu PPC, official support from Canonical (Ubuntu's commercial sponsor) was dropped in 6.06; all releases past that are community-supported only. To be honest, it really doesn't change much, as the best place for help/support is the Ubuntu forums.

Offline

 

#7 2008-05-07 6:28 pm

FutureDreamz
1.1.2.3.5.8.13.21.34.55
From: カナダ
Registered: 2007-01-07
Posts: 4511

Re: Ubuntu install: strange partition worries

Wouldn't it be just so much easier to run Linux in a virtual Machine?
Q is based on QEMU, runs on PPC macs, will emulate x86 processors, is compatible with 10.3 through 10.5, and is FREE.

Last edited by FutureDreamz (2008-05-07 6:29 pm)


Thanks for clicking.

Offline

 

#8 2008-05-08 12:04 am

Chickenhawk
Friends don't let friends hunt drunk
From: The bad air state
Registered: 2005-06-01
Posts: 4993

Re: Ubuntu install: strange partition worries

FutureDreamz wrote:

Wouldn't it be just so much easier to run Linux in a virtual Machine?
Q is based on QEMU, runs on PPC macs, will emulate x86 processors, is compatible with 10.3 through 10.5, and is FREE.

uh, emulation always runs like ass compared to native.

Offline

 

#9 2008-05-08 12:52 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

Booksley wrote:

For future partioning efforts, the best way to handle the possibility of other OSes is to carve out a chunk of space at the end of the drive, without formatting it as a filesystem. That way you have a contiguous chunk that the installer can format as it pleases.

I want to format as I please though:  I want to do some other OS installs there.  I've never had a problem before replacing a partition.

I found a recent thread on the Ubuntu forums regarding the HFS+ driver. From what they said, I wouldn't trust it, honestly. You need to disable journaling and writing can possibly corrupt files.

Disappointing.  I had worse luck getting Linux to read Disk Utility's UFS format at all.  I want some file pathway between Mac and Linux.  The read support for HFS+ worked just fine for me though, and that's good enough for one way.

As for Ubuntu PPC, official support from Canonical (Ubuntu's commercial sponsor) was dropped in 6.06; all releases past that are community-supported only. To be honest, it really doesn't change much, as the best place for help/support is the Ubuntu forums.

Ah I see.  Good that it is still supported then.

FutureDreamz wrote:

Wouldn't it be just so much easier to run Linux in a virtual Machine?
Q is based on QEMU, runs on PPC macs, will emulate x86 processors, is compatible with 10.3 through 10.5, and is FREE.

I dunno.  Looks interesting, but more to learn, and the website isn't very helpful.  And no emulation needed for Linux.  Can that emulate older PPC and 68k machines?


I hate your wimper

Offline

 

#10 2008-05-08 9:34 pm

FutureDreamz
1.1.2.3.5.8.13.21.34.55
From: カナダ
Registered: 2007-01-07
Posts: 4511

Re: Ubuntu install: strange partition worries

cosmicosmo wrote:

FutureDreamz wrote:

Wouldn't it be just so much easier to run Linux in a virtual Machine?
Q is based on QEMU, runs on PPC macs, will emulate x86 processors, is compatible with 10.3 through 10.5, and is FREE.

I dunno.  Looks interesting, but more to learn, and the website isn't very helpful.  And no emulation needed for Linux.  Can that emulate older PPC and 68k machines?

I think Q can, but it is not recommended or something.

Last edited by FutureDreamz (2008-05-08 9:35 pm)


Thanks for clicking.

Offline

 

#11 2008-05-09 10:45 am

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

cosmicosmo wrote:

Booksley wrote:

For future partioning efforts, the best way to handle the possibility of other OSes is to carve out a chunk of space at the end of the drive, without formatting it as a filesystem. That way you have a contiguous chunk that the installer can format as it pleases.

I want to format as I please though:  I want to do some other OS installs there.  I've never had a problem before replacing a partition.

I found a recent thread on the Ubuntu forums regarding the HFS+ driver. From what they said, I wouldn't trust it, honestly. You need to disable journaling and writing can possibly corrupt files.

Disappointing.  I had worse luck getting Linux to read Disk Utility's UFS format at all.  I want some file pathway between Mac and Linux.  The read support for HFS+ worked just fine for me though, and that's good enough for one way.

Doing your own partitioning is fine. But there are several advantages to partitioning the first partition as your OS X partition:
1) You'll be able to install/reinstall/nuke the other OSes without affecting OS X
2) The OS X partition can be shrunk/expanded as you see fit
Of course, this is assuming that OS X is your main OS. Installing your main OS as the first partition is the ideal way to handle things.

In my experience, the best way to handle sharing drives between Linux and OS X is... NTFS. Yes, the best way to handle sharing between the two is to use Microsoft's filesystem lol NTFS-3G is the most mature filesystem available for both OSes. Of course, FAT32 would be ideal, but it's lack of support for files over 4GB in size can cause problems... But if you don't expect to use any files over 4GB, then FAT32 would also work fine (known as VFAT in *nix)

Offline

 

#12 2008-05-09 4:40 pm

Bat
Adult's Play
Royal Wombat
From: Björk, Björk
Registered: 2001-05-14
Posts: 24317

Re: Ubuntu install: strange partition worries

Don't know if it would help, but I recently saw a decent freeware partition tool that handled a huge variety of filesystems/ formats.


If all economists were laid end to end, they would not reach a conclusion - George Bernard Shaw

"Fire up a colortini, sit back, relax, and watch the pictures, now, as they fly through the air."

Offline

 

#13 2008-05-09 11:44 pm

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

Booksley wrote:

[…Doing your own partitioning is fine. But there are several advantages to partitioning the first partition as your OS X partition:
1) You'll be able to install/reinstall/nuke the other OSes without affecting OS X
2) The OS X partition can be shrunk/expanded as you see fit
Of course, this is assuming that OS X is your main OS. Installing your main OS as the first partition is the ideal way to handle things.

I did have OS X on the first partition (disk0s9 after all Apple driver partitions).  It was the linux gparted that seemed to mess that up. 

I agree, primary drive should be first.

In my experience, the best way to handle sharing drives between Linux and OS X is... NTFS. Yes, the best way to handle sharing between the two is to use Microsoft's filesystem lol NTFS-3G is the most mature filesystem available for both OSes. Of course, FAT32 would be ideal, but it's lack of support for files over 4GB in size can cause problems... But if you don't expect to use any files over 4GB, then FAT32 would also work fine (known as VFAT in *nix)

I just noticed that Leopard's Disk Utility allows me to create an Ext2 partition, at least on an external drive.  Does this mean Leopard can read Ext2?  Write?  If so, then that would be the way to go.  I'm thinking of reformatting the end of the drive Ext2 just to see what happens.

Also, what happened to the UFS that was there with Tiger and before?


I hate your wimper

Offline

 

#14 2008-05-10 12:02 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

I just tried it.  Mac OS X can both read from and write to it.  I haven't tried it with Linux yet to make sure it is proper ext2.  I'll also have to see if OS X will recognize drives formatted ext2 by Linux.  This is promising.  I'll just use ext2 instead of ext3 if this works.

I just bought a new hard drive to help me make bootable backups of my current two Mac drives and then reformat my internal drive, so I shall be 'fixing' this odd partitioning scheme soon.  Unfortunately, I'll probably never find out what happened.


I hate your wimper

Offline

 

#15 2008-05-10 12:41 am

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

cosmicosmo wrote:

I just noticed that Leopard's Disk Utility allows me to create an Ext2 partition, at least on an external drive.  Does this mean Leopard can read Ext2?  Write?  If so, then that would be the way to go.  I'm thinking of reformatting the end of the drive Ext2 just to see what happens.

Also, what happened to the UFS that was there with Tiger and before?

I just tried it.  Mac OS X can both read from and write to it.  I haven't tried it with Linux yet to make sure it is proper ext2.  I'll also have to see if OS X will recognize drives formatted ext2 by Linux.  This is promising.  I'll just use ext2 instead of ext3 if this works.

You can create an Ext2 partition? confused
diskutil says Valid filesystems: "Journaled HFS+" "HFS+" "Case-sensitive HFS+" "Case-sensitive Journaled HFS+" "HFS" "MS-DOS FAT16" "MS-DOS FAT32" "MS-DOS FAT12" "MS-DOS" "NTFS-3G" "UDF" "UFS" "ZFS"

Offline

 

#16 2008-05-10 1:12 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

my diskutil says
Valid filesystems: "Ext2" "Journaled HFS+" "HFS+" "Case-sensitive HFS+" "Case-sensitive Journaled HFS+" "HFS" "MS-DOS FAT16" "MS-DOS FAT32" "MS-DOS FAT12" "MS-DOS" "UDF" "UFS" "ZFS"

Are you running Leopard (10.5.2 if that is important)?

Anybody else have this?


I hate your wimper

Offline

 

#17 2008-05-10 1:39 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

Hmm, it appears that I have ext2fsx installed.  I didn't install it with Leopard, but I could well have on a previous version and it stayed when I installed Leopard.  Anyway, that seems to work perfectly fine for ext2 drives created with Drive Utility.  I'll have to see how it works with Linux.


I hate your wimper

Offline

 

#18 2008-05-10 3:07 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 236
Website

Re: Ubuntu install: strange partition worries

Hmm, that ext2 partition at the end of my external drive seemed to mess up Disk Utility's ability to non-destructively repartition.  I had to erase the drive and repartition.  I wonder if that relates somehow to the problem on my internal drive, though it shouldn't since it occurred while running Linux.  Possibly with Disk Utility's odd reaction though.


I hate your wimper

Offline

 

#19 2008-05-12 1:28 pm

Booksley
Planely insane!
From: Toronto, Ontario
Registered: 2001-02-16
Posts: 4829

Re: Ubuntu install: strange partition worries

Ah, that would explain it...

I know that the ability to non-destructively repartition HFS+ only came in with 10.4/5. Perhaps the ext2fsx driver doesn't support the ability to repartition like that?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson