Author Topic: Chameleon Boot Loader only and Fedora 13 all on GPT Question  (Read 4582 times)

0 Members and 1 Guest are viewing this topic.

osxfr33k

  • Observer
  • Posts: 26
I have googled search this and hope I have not missed anything I might have been able to read on this before posting but OSX is not installed yet so that is the PREFACE.

I was curious if I could go ahead and follow the manual install of Chameleon and Boot Fedora 13 linux.   Fedora is sitting on the GPT perfectly co-exisitng with an EFI partition and Chameleon on it /dev/sda and EFI on /dev/sda1

The rest of the partitions are /dev/sda2  the linux /boot  /dev/sda3 the /root  /dev/sda4 the swap and /dev/sda5 /home.

I installed the Grub to /dev/sda2 where the kernel resides for Fedora 13.

Chameleon boots up with the splash screen no problem but I do not see any Icon to boot Fedora 13?   I put Grub back onto /dev/sda for now until someone can help me on this.  SHould I try putting the grub on /dev/sda1 where the EFI partition is?

I have already trial and error the /dev/sda which clears out chameleon boot (Splash Screen) and putting it back then installing grub onto /dev/sda2 where the linus /boot is so I guess I should try /dev/sda1?

Keep in mind OSX is not installed yet so maybe that is the problem or not?

Thanks for taking the time to read this and try to help



EDITED  A FEW HOURS LATER:

Installing grub to the /dev/hda3 where the  root "/" is fixed it.  I see a Linux Penguin Icon in the Chameleon Boot Splash Screen.
« Last Edit: July 19, 2010, 08:59:22 PM by osxfr33k »

zef

  • Administrator
  • Posts: 265
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #1 on: July 19, 2010, 09:03:52 PM »
I installed the Grub to /dev/sda2 where the kernel resides for Fedora 13.
..
Keep in mind OSX is not installed yet so maybe that is the problem or not?

What filesystem do you have on /dev/sda2? You need ext2/3/4 for the boot partition.
Can you send the first 4 sectors of /dev/sda2 please?

Code: [Select]
dd if=/dev/sda2 of=osxfr33ksda2 bs=512 count=4
Thanks,
zef
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

osxfr33k

  • Observer
  • Posts: 26
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #2 on: July 20, 2010, 12:08:51 AM »
AL of them are the Linux EXT4 filesystems on   /boot    root  /   swap   and   /home.


[osxfr33k@localhost ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             45356080   7370752  35681328  18% /
tmpfs                  2062252       272   2061980   1% /dev/shm
/dev/sda2             10079084    205516   9361568   3% /boot
/dev/sda5             49662708    280056  46859928   1% /home





/dev/sda2 has the /boot and  /dev/sda3 has the   /

Are you thinking it should have worked with the grub installed on /dev/sda2?

I finally got it to work on installing grub onto /dev/sda3.  Jeeze I hope that is what I did or did I install Grub on the EFI?  /dev/sda1?  If I did would I have lost the chameleon boot?
« Last Edit: July 20, 2010, 12:24:28 AM by osxfr33k »

zef

  • Administrator
  • Posts: 265
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #3 on: July 20, 2010, 12:23:54 AM »
Now i'm confused,

Quote
I installed the Grub to /dev/sda2 where the kernel resides for Fedora 13.

I thought /dev/sda1 (the hidden EFI partition) contains the boot1h code + /boot and /dev/sda2 has GRUB installed.

In this scenario Chameleon should have displayed sda2 as a bootable linux partition.


ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

osxfr33k

  • Observer
  • Posts: 26
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #4 on: July 20, 2010, 12:27:23 AM »
I just modified my post above yours to display the sectors.


EFI hidden only has the Chameleon Boot on it that is it, the boot1h is on the rdisk0.   And yes it is /dev/sda1.

Can grub and Chameleon Boot co-exist on the EFI hidden partition?


The Linux Kernel  /boot/grub etc are on /dev/sda2

The Linux Root  is on   /


Here is a better print:

umber  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   AF00  Apple_HFS_Untitled_2333
   2          411648        20891647   9.8 GiB     EF00 
   3        20891648       113051647   43.9 GiB    0700 
   4       113051648       133531647   9.8 GiB     8200 
   5       133531648       234440703   48.1 GiB    0700 
[root@localhost osxfr33k]#


Here is the the script I used:

newfs_hfs -v EFI /dev/disk0s1

mkdir /Volumes/EFI
mount_hfs /dev/disk0s1 /Volumes/EFI

install boot1h to the bootsector of the EFI partition:
dd if=boot1h of=/dev/rdisk0s1
Then, copy the file ‘boot’ to it:
cp boot /Volumes/EFI


I also set it to be active not sure if I need to do that or not?

1) ./fdisk -e /dev/rdisk0
(Ignore any “fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory” error)

2) f 1

3) w

4) q


After all that I installed Fedora 13 from the DVD making the additional 4 EXT partitions as I explained above and installed Grub onto /dev/sda2 and was not able to boot F13?

I meant /boot for linux partition not /boot chameleon on /dev/sda2.  /boot where you find the grub and linux kernels.  So you are correct I have it as you said and it does not boot linux that way.



Zef I did not realize you actually wanted me to run the code and generate that file output.

File Attached:


Code: [Select]
dd if=/dev/sda2 of=osxfr33ksda2 bs=512 count=4

« Last Edit: July 20, 2010, 02:54:07 AM by osxfr33k »

zef

  • Administrator
  • Posts: 265
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #5 on: July 20, 2010, 11:20:53 AM »
Zef I did not realize you actually wanted me to run the code and generate that file output.

dd if=/dev/sda2 of=osxfr33ksda2 bs=512 count=4

Strange, because your attachment contains the signature (value 0xEF53 @ offset 0x438) what Chameleon checks for Ext* partitions. The more interesting if you put GRUB onto /dev/sda3 then all goes fine.

Confused...
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

osxfr33k

  • Observer
  • Posts: 26
Re: Chameleon Boot Loader only and Fedora 13 all on GPT Question
« Reply #6 on: July 20, 2010, 11:16:51 PM »
I am confused as well.  What would happen if I installed grub to /dev/sda  or  /dev/sda1?  Would that remove the chameleon bootloader or the boot1h?

As far as the signature difference goes, is  it possible the Geometry of the Drive is screwed up?    I have to figure out how to do the check and repair if necessary?  I am not sure what I would need to run to check the EFI maybe Snow Leopard Disk repair for that part and Linux tools for the EXT4 fs?


EDITED FEW HOURS LATER:

Geometry all check out fine.

Leopard DIsk Util checks EFI as ok

Linux   fsck.ext4   checks /dev/2,3,4,5   as good.

I am going to format the EFI and run the manual install of the Chameleon again.   Then see what happens.  I also will try and install the grub to /dev/sda2 again to see if Chameleon picks it up this time or not?
« Last Edit: July 21, 2010, 01:17:44 AM by osxfr33k »