booting trouble

Michaël Van Dorpe michael.vandorpe at gmail.com
Fri Mar 30 22:56:54 UTC 2007


I tried Phil's suggestion, it didn't work, and then I lived a month without
touching my Ubuntu partition. I'm not even sure the partition is still
there. The rEFIT partition inspector gives me the following result... Any
insights on how to boot ubuntu, or at least recover my files, is very much
appreciated. Thanks, Michaël


*** Report for internal hard disk ***

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    243679271  Mac OS X HFS+
 3      243679272    478366772  EFI System (FAT)
 4      478366773    488397134  Linux Swap

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1       409639  ee  EFI Protective
 2 *       409640    243679271  af  Mac OS X HFS+
 3      243679272    478366772  ef  EFI System (FAT)
 4      478366773    488397134  82  Linux swap / Solaris

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

Partition at LBA 243679272:
 Boot Code: None
 File System: ext3
 Listed in GPT as partition 3, type EFI System (FAT)
 Listed in MBR as partition 3, type ef  EFI System (FAT)

Partition at LBA 478366773:
 Boot Code: None
 File System: Unknown
 Listed in GPT as partition 4, type Linux Swap
 Listed in MBR as partition 4, type 82  Linux swap / Solaris



On 3/3/07, Phil Pinkerton <pcpinkerton at gmail.com> wrote:
>
> From the live CD try sudo fsck -y /dev/sda2  or in my case it was sudo
> fsck -y /dev/hda1
>
> then re-boot.
>
> I had a similar problem and that fixes it, down side it keeps happening
> usually when I am doing something like a find and a lot of disk i/o. Do
> not know if it will or not. it might help someone.
>
>
>
> Michaël Van Dorpe wrote:
> > 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070331/5b60efff/attachment.html>


More information about the ubuntu-users mailing list