Jump to content

Tripleboot system unbootable after Linux reinstall


  • Please log in to reply
22 replies to this topic

#21
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 268 posts
  • Gender:Male
Gooood :)
Is your Win and Linux also working? Are you able to boot Leopard from internal disk with the new Chameleon from external disk?

And advice - it would be good to have some USB key with Chameleon installed on it that would be your rescue boot option if something goes wrong again.

#22
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,087 posts
  • Gender:Male
  • Location:UK

Sorry but I don't know what code is or should be there. Is this a question for experts only or could you ask in a way that a typical apple user understands?

Okay, no problem. And no, I wouldn't say this is an experts only subject, just something else that we come across one day and start to learn about. I only know what I've learned so far by reading and experimenting and I don't consider myself an expert at all. :)

Anyway, here's a short post which might help give an overview (or something like this wiki link for more details), but essentially the code I was referring to was the small programme which is run at boot time. You could find there maybe code from Chameleon, GRUB, Windows or something else for example. One of the DarwinDumper scripts tries to identify this code and print a list of what it finds, hence why I was trying to find out what you had in your dump so I could improve the Darwindumper script by adding more definitions.

Here's what you had:
0000000: 31c0 8ed0 bc00 7c8e c08e d8bf 1d06 be1d  1.....|.........
0000010: 7c50 57b9 e301 f3a4 b503 f3ab cb80 fa8f  |PW.............
0000020: 7e02 b280 5252 bb94 078d af2a 008a 4604  ~...RR.....*..F.
0000030: 668b 7e08 6603 3eb2 0684 c074 0b80 7e00  f.~.f.>....t..~.
0000040: 8075 0566 893e 840b 83c5 1083 c309 80fb  .u.f.>..........
0000050: b875 dab8 e100 c1e0 0289 c666 8bac 0008  .u.........f....
0000060: 6685 ed75 19b8 c406 50be ba06 e8a4 005e  f..u....P......^
0000070: e89a 005a 31c0 cd13 cd18 fbf4 ebfc 6689  ...Z1.........f.
0000080: 2eb2 06be aa06 b442 5a52 cd13 b8d8 0672  .......BZR.....r
0000090: d7a0 007c 84c0 7403 a1fe 7d3d 55aa b8e8  ...|..t...}=U...
00000a0: 0675 c566 89ee 5ae9 5675 1000 0100 007c  .u.f..Z.Vu.....|
00000b0: 0000 0000 0000 0000 0000 4572 726f 7220  ..........Error
00000c0: 000d 0a00 4e6f 2061 6374 6976 6520 7061  ....No active pa
00000d0: 7274 6974 696f 6e00 4469 736b 2072 6561  rtition.Disk rea
00000e0: 6420 6572 726f 7200 4e6f 206f 7065 7261  d error.No opera
00000f0: 7469 6e67 2073 7973 7465 6d00 496e 7661  ting system.Inva
0000100: 6c69 6420 4348 5320 7265 6164 00e8 0300  lid CHS read....
0000110: bec1 0660 acb4 0ebb 0100 cd10 ac84 c075  ...`...........u
0000120: f461 c300 0000 0000 0000 0000 0000 0000  .a..............
0000130: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000140: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000150: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000160: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000170: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000180: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000190: 1c80 b600 0000 0000 0000 0000 0000 0000  ................
00001a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00001b0: 0000 0000 0000 0000 d2d2 3b5c 0000 00fe  ..........;\....
00001c0: ffff eefe ffff 0100 0000 2740 0600 807f  ..........'@....
00001d0: 0f19 afb8 158b 2840 0600 0000 1c00 00fe  ......(@........
00001e0: ffff 07fe ffff 0048 2200 0000 4006 00fe  .......H"...@...
00001f0: ffff affe ffff 0048 6206 0000 a002 55aa  .......Hb.....U.

But this is not really important and I had taken this thread off topic as your main post was about the problem you had which I am happy to see you've solved with dmazar's instructions. I just didn't recognise the code so I thought I'd ask to help save me with some research, but it's not a problem, I will find out more boot sector code when I get time and add it to the script. Thanks for your dumps anyway - it's good to test the scripts on other hardware and versions of OS X to help find bugs etc.

#23
pilsator

pilsator

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 200 posts

Is your Win and Linux also working? Are you able to boot Leopard from internal disk with the new Chameleon from external disk?

Three times yes. Booting Leopard as well as Snow Leopard is possible because of the nice chameleon feature to have different folders with different kexts for different system versions.

And advice - it would be good to have some USB key with Chameleon installed on it that would be your rescue boot option if something goes wrong again.


I will copy the content of the boot partition (I created a separate partition just for the bootloader) of the eSATA hd to the boot partition of the internal hd, install chameleon on it and unplug the internal hd. That should be more safe than the bank of suisse.

The lesson of this for me is that I wouldn't recommend the opensuse dvd for hybrid gpt/MBR disks. The installer promised not to touch the MBR but it did - maybe because hybrid gpt/MBR is pretty special.

blackosx, now I remember an article about what happens when a computer boots that I once read. As much as I remember it performs a selftest and then accesses a certain sector on the hd where it expects code to execute. If it doesn't find anything - game over. In my case one part of this code was obviously missing.
Both of my hds boot with chameleon. On the external hd I first installed windows, then chameleon, then linux with grub on the linux root partition. On the internal hd I started with chameleon 1 as much as I remember, then updated the boot-file, used asere bln's booter for some time, then installed chameleon 2. It might be a wild mixture of different components.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy