Dual Booting All discussion on Dual Booting 2 operating systems (or even more!) on the Dell Mini

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Junior Member
 
Posts: 5
Join Date: May 2010
Default Here a solution of dualboot: OS-X and chrunchbang with grub2 - 05-16-2010, 11:29 PM

Here a solution how to boot OS-X and 'linux' (in my case !#chrunchbang) with grub2 in the
MBR.

Grub has changed to grub2 in most linux distributions

I read that installing grub in a partition is not advisable. So I installed first
1) OS-X
2) chrunchbang

with grub2 in the MBR.

Boot in linux and open a terminal (as root)

edit

/etc/grub.d//40_custom

The file should have the following lines:

#!/bin/sh
exec tail -n +3 $0

# entry to boot OS-X

menuentry 'OS-X' {
insmod hfsplus
set root=(hd0,2) #change according your partitition table
multiboot /boot
}

save and run as root

update-grub

reboot


Hope this helps
Reply With Quote
Reply

Tags
grub2, linux, multiboot. dualboot

« Embarking on a Pentaboot | Replaced Chameleon with Grub...Help. »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Copyright © 2008-2011 MyDellMini.com.