netkas.org forum
November 15, 2018, 06:06:14 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Information for registering users http://forum.netkas.org/index.php/topic,2246.0.html
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Booting EFI Leo form second HDD by grub on first disk  (Read 9801 times)
314TeR
Newbie

Offline Offline

Posts: 3


« on: December 12, 2007, 11:17:05 AM »

I have problem with booting Leo from second hdd.
I have 2 disk:
disk0s1 – XP
disk0s2 – Linux
in MBR of disk0 installed Linux Grub
disk1s1 – Leo
disk1s2 – Data

Leo work with EFI v8 on MBR partition and vanilla kernel. In bios post I can chose to boot temporally from different disk, and when I chose to boot form disk1 – Leo boot OK and all works OK.

My problem is to boot automatically Leo form Grub. I want to have all 3 system form one boot manager. I make needed changes from readme to menu.lst ant copy boot_v8 to /boot of Linux partition, but when I select on booting Leo form grub the call boot_v8 and by default boot disk 80 after 5 seconds, but disk 80 is disk0, and boot XP :/. Is any possibility to change default boot disk from 80 to 81 in boot_v8.

PS Sorry form my English – its may secondary language.
Logged
VaKo
Not Newbie
*
Offline Offline

Posts: 7


« Reply #1 on: December 12, 2007, 11:35:15 AM »

in early versions of efi netkas gave drub_81 loader for this situations, so try to ask him to do the same with boot_v8 loader.
think it's possible (dreamin' about same thing  Smiley )
Logged
gotoh
Jr. Member
**
Offline Offline

Posts: 54


WWW
« Reply #2 on: December 12, 2007, 02:41:12 PM »

you could just point grub in disk0 to boot from disk1 (not disk1s1) if it is MBR. Then map in grub disk0 to disk1 and disk1 to disk0 - I don't have the correct syntax in mind, something like this I think :

map (hd0) (hd1)
map (hd1) (hd0)

to put at the end of the OS X boot part of boot.lst
Logged
314TeR
Newbie

Offline Offline

Posts: 3


« Reply #3 on: December 13, 2007, 06:50:52 PM »


map (hd0) (hd1)
map (hd1) (hd0)


Unfortunately that don't work Sad

only display:
HFS+ partition error

Is any other boot manager, and then can do this?
Logged
consolation
Newbie

Offline Offline

Posts: 2



« Reply #4 on: December 14, 2007, 06:54:03 AM »

Use boot_grub_81 from pc_efi_6_bootloaders folder. Place it anywhere grub can read & add it to your menu.lst, for example this is mine; it boots windows, linux, and a small test OSX install from partitions on hd0 and uses boot_81 to start up the main OSX drive on hd1. Note that both boot loaders live on the linux partition at hd0,1.

title MEPIS
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 nomce quiet splash vga=791 resume=/dev/sda3
boot

title      Leo EFI Boot
root      (hd0,1)
kernel      /pc_efi/boot_grub_81

title      Windows
root      (hd0,0)
makeactive
chainloader   +1

title      Cub boot V5
root      (hd0,1)
kernel      /pc_efi/boot_v8



P.S. Gotoh's remaping method should work. I found that with OS X, the remap had to go at the beginning of boot.lst. You then had to adjust all the root vars to match the new remap. YMMV; I had not tried it with EFI, just the old chainloader.
« Last Edit: December 15, 2007, 05:31:23 AM by consolation » Logged
314TeR
Newbie

Offline Offline

Posts: 3


« Reply #5 on: December 16, 2007, 07:39:00 PM »

Thanks to ALL  Grin

boot_grub_81 - works perfectly
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!