Thread: Lost linux partition
help!
have dual booted imac os x 12.2 ubuntu 11.04, find myself unable locate linux partition of disk in os x. have 1tb disk , during installation allotted 700gb ubuntu partion. in ubuntu volume located @ /dev/sda5. system boots nicely rfeit.
in os x: sudo diskutil list gives:
/dev/disk0
#: type name size identifier
0: fdisk_partition_scheme *1.0 tb disk0
1: 0xee 209.7 mb disk0s1
2: apple_hfs uten navn 300.0 gb disk0s2
3: windows_fat_32 bootcamp 38.7 gb disk0s3
4: 0xee 1.0 mb disk0s4
in disk utility tool 700gb space shown free space @ end of volume. have suggestions how can update os x correct partition table?
how installed:
1) bootcamp make partition
2) installed refit
3) ubuntu live cd shrinked mac part of disk
4) installed ubuntu (home sweet home)
greetings,
eivindsm
first, very very careful! configuration extraordinarily dangerous , it's possible disk badly damaged. otoh, it's possible data aren't in immediate danger, if are, you're taking chance booting computer....
first problem you've got seem have hybrid mbr 2 type-0xee partitions. known cause problems os x, causing unable see gpt side of disk, "master" side os x , linux, windows using mbr side. two-0xee configuration, though, os x uses mbr partitions in preference gpt partitions.
problem means it's possible you've modified mbr side without modifying gpt side, result in mish-mash of partitions don't match on 2 sides (mbr , gpt). if try fix without proper analysis, end making things worse, , if use disk @ , partitions don't match, end trashing 1 filesystem writing one. thus, it's imperative analyze disk , figure out what's before else -- including booting any os disk!
recommendation this:
- boot using linux emergency disk, such partedmagic, system rescue cd, or rip linux. if computer , don't happen have such disks on hand, can use ubuntu install disc in "live cd" mode; however, you'll need install gdisk package typing "sudo apt-get install gdisk", , precede below commands "sudo".
- launch gdisk on disk in question typing "gdisk /dev/sda" @ shell prompt.
- type "v" in gdisk. performs disk verification, will, among other things, check consistency between mbr , gpt sides.
here depends on results of verification step. if gdisk reports find no problems, should create new hybrid mbr, described here, sure not include second 0xee partition. i'd recommend including only windows partition(s) , data-exchange partition(s) in hybrid mbr and, if gdisk gives option, no protective partition. when reboot, os x should see gpt side of disk , should start working -- or hybrid mbr configuration ever works.
if, otoh, gdisk's verification operation reports mis-matched gpt , mbr partitions, should post details, provided output of 2 commands:
be sure post output between [code] , [/code] tags; if don't, columns won't line up, makes harder read output.code:gdisk -l /dev/sda fdisk -lu /dev/sda
2 commands show gpt , mbr partition tables, respectively. luck possible figure out what's supposed , repair damage, may take further diagnostics figure out.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Apple Hardware Users [ubuntu] Lost linux partition
Ubuntu
Comments
Post a Comment