booting trouble

Michaƫl Van Dorpe michael.vandorpe at gmail.com
Fri Mar 2 23:12:04 UTC 2007


Nice weekend to everyone on the mailing list!

I screwed up my OSX -  Feisty dual boot, using rEFIT, quite badly on my
Intel iMac. I
now can only boot OSX, or a live cd. I can see that my Ubuntu
partition is still there, but the pinguin icon in the rEFIT menu got
replaced with a generic 'legacy OS' (sic) icon. Activating that
results in a black screen saying "Missing operating system."

Using 'sudo fdisk -l'  on a live cd, I have learned that I have the
following partitions:
sda1          EFI/GPT
sda2 boot Unknown
sda3          EFI Fat-12/16/32
sda4          Linux swap

I believe that the 'unknown'  is the OSX partition, while sda3 is the
Feisty partition.

I tried some commands to get more information from the terminal within OSX:

michael:~ michael$ diskutil list
/dev/disk0
   #:                   type name               size      identifier
   0:  GUID_partition_scheme                    *232.9 GB disk0
   1:                    EFI                    200.0 MB  disk0s1
   2:              Apple_HFS Macintosh HD       116.0 GB  disk0s2
   3:                    EFI                    111.9 GB  disk0s3
   4:             Linux Swap                    4.8 GB    disk0s4
[snip: info on the live cd]

michael:~ michael$ sudo fdisk /dev/rdisk0
Password:
Disk: /dev/rdisk0       geometry: 30401/255/63 [488397168 sectors]
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>
*2: AF 1023 254  63 - 1023 254  63 [    409640 -  243269632] HFS+
3: EF 1023 254  63 - 1023 254  63 [ 243679272 -  234687501] <Unknown ID>
4: 82 1023 254  63 - 1023 254  63 [ 478366773 -   10030362] Linux swap

Thanks for explaining me what to do next, what information I should
gather, or just explain what the above information means... Of course,
the important thing is that I can always recover the data on that
partition, but I prefer 'Ubuntu the operating system' rather than
'Ubuntu the partition' ;-)

Thanks.

Oh, and if you want to know how all this happened... Well, I should
have documented that, but I didn't. It all started when I forced my
computer to shut down after something had gone wrong during an
upgrade.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070303/9fd9cd22/attachment.html>


More information about the ubuntu-users mailing list