LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition issues (https://www.linuxquestions.org/questions/linux-newbie-8/partition-issues-872524/)

ecnar5 04-02-2011 02:00 AM

Partition issues
 
After having had a computer of some description since 1984 it is surprising that I've never posted anything on a forum before however Linux has me stuck...

The situation is this, (no i didn't back up) (yes that was a bad move)

MacBook Pro 5.2 running OSX 10.5 Snow Leopard
Disk /dev/sda - 500 GB / 465 GiB - ATA FUJITSU MJA2500B

I formatted my existing partitions with boot camp in OSX to delegate 32 Gig to a space where I intended to install Ubuntu 10.1 along side OSX.

I installed Ubuntu 10.1 and now my dual boot option has vanished and the following is what I'm getting from test disk:

Current partition structure:
Partition Start End Size in sectors

1 P Unknown 2048 4095 2048
2 P MS Data 4096 952199167 952195072
3 P Linux Swap 952199168 976771071 24571904

Some forums are suggesting I can recover my old partition configuration and not loose any data, as the lines are blurring on the related forums for this exact situation and my desire is to not make things worse with "trial and error"... please help, I need a step by step? as a Linux newbie I am!

ronlau9 04-02-2011 02:27 AM

How do you dual boot ?
Using refi ?
With old partitions do you mean ?
The linux partitions or the MAc partitions ?
Does it do anything when you start up you're computer ?
What error message does it gives ?
If any ?
Can you start up in the recovery mode of OS x Or linux ?

Larry Webb 04-02-2011 07:41 AM

If you can run your ubuntu as a live cd and from the terminal run command

sudo fdisk -l (small "-L")

and post results please

Live cd should not bother your partitions.

ecnar5 04-03-2011 09:02 AM

From Fdisk.
 
Hey Larry this is what I get...

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 1 2047+ ee GPT
/dev/sda2 * 1 59272 476097536 83 Linux
/dev/sda3 59272 60802 12285952 82 Linux swap / Solaris

ecnar5 04-03-2011 09:11 AM

Quote:

Originally Posted by ronlau9 (Post 4311330)
How do you dual boot ?

- I can no longer dual boot, I was invited to dual boot, the first time I booted after having installed Boot Camp.

Using refi ?a

- what is that?

With old partitions do you mean ?

- Trying to recover old partitions.

The linux partitions or the MAc partitions ?

- trying to recover the mac partition.

Does it do anything when you start up you're computer ?

- it boots ubuntu 10.1

What error message does it gives ?

If any ?

Can you start up in the recovery mode of OS x Or linux ?

- I can boot only in Linux or from either the Linux or OSX boot CD's...

Larry Webb 04-03-2011 10:31 AM

Sorry I misunderstood, I thought you were having trouble with ubuntu. Unable to help.

ronlau9 04-03-2011 03:47 PM

APPLE indicated that bootcamp is meant to dual boot with windows.
So it might be that the support to dual boot with linux is not so good
Most people who dual boot on a MAC with linux use refi
My Snow Leopard comes as double layer DVD
And yes I have reinstall Snow leopard without loosing any data by standard it looks fore the old install and use it again .
But it is complex process so it can goes wrong .
With a little bit of luck you have Snow Leopard running again without loosing anything , and please search for refi how to use it to dual boot with linux
You also needs to update Snow Leopard
The updates comes as a bundle

A other item is of course the disk repair utility with you also find on you install DVD under utilities
You can try to repair you're disk , it might work

If nothing works all that is left is a clean install


All times are GMT -5. The time now is 06:52 AM.