LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-12-2008, 05:44 AM   #1
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Rep: Reputation: 30
Debian on MacBook Pro in Triple Boot setup


Hi,

I've installed Debian on my new MacBook Pro along with Windows and Mac OS X. The installation proceed like a charm. Atleast as much a charm as described here. So now I see Mac OS X, Windows and Linux in the rEFIt menu. However, if I choose to boot into Linux, it boots into Windows. Windows boots into Windows too. Anyone have any idea what the problem might be? Thanks.
 
Old 03-12-2008, 06:17 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Looks like your bootloader is pointing at the wrong partition for Linux. I'm not familiar with that bootloader though. Is there a way to edit it to point to the correct linux partition ?

David
 
Old 03-12-2008, 06:31 AM   #3
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
I've been looking for it, but haven't been able to find it yet. Can anyone tell me where I can find it? Thanks!
 
Old 03-12-2008, 08:47 AM   #4
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I haven't owned a mac since the 90's, so I know nothing about whatever funky bootloader you are using. If you get desperate, you could try putting a grub install on there, which would boot linux, windows and OSX for you. I don't think it would screw anything up, but like I said, I don't know a damn thing about your funky bootloader, and I know nothing recent about macs, so, use at your own risk. Supergrub bootdisk will build and install grub for you, with all the correct entries. Use at your own risk though.

http://supergrub.forjamari.linex.org/?section=download

Good luck, let us know what you decide to do and how it worked out, as it might help someone else someday.

David
 
Old 03-12-2008, 08:52 AM   #5
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Well, every tutorial I've seen on the internet so far on how to set up triple booting has used rEFIt as the boot loader. I'm assuming that there's a valid reason behind that. In any case I could probably try installing lilo in the MBR. Actually even with rEFIt, you have to install lilo on your linux partition that you're using. It shouldn't be too hard to reinstall rEFIt if it doesn't work. However, I'll do some googling and see what I decide. Thanks for trying, though
 
Old 03-12-2008, 11:39 AM   #6
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
Quote:
Originally Posted by kamransoomro84 View Post
Well, every tutorial I've seen on the internet so far on how to set up triple booting has used rEFIt as the boot loader. I'm assuming that there's a valid reason behind that. In any case I could probably try installing lilo in the MBR. Actually even with rEFIt, you have to install lilo on your linux partition that you're using. It shouldn't be too hard to reinstall rEFIt if it doesn't work. However, I'll do some googling and see what I decide. Thanks for trying, though
Did you remember to resynch the MBR and GUID partition tables in the rEFIt menu?
 
Old 03-12-2008, 09:20 PM   #7
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Yup. And I finally figured out the problem. So my partition table looks something like this:

* /dev/sda1 -> Mac OS X
* /dev/sda3 -> Linux swap
* /dev/sda4 -> Windows
* /dev/sda5 -> Miscellaneous partition
* /dev/sda6 -> Linux /
* /dev/sda7 -> /home

So what was happening was that rEFIt was erroneously detecting my swap partition as my Linux partition and pointing to it. Since there was no bootloader in /dev/sda3, it was going to the next bootloader, loading Windows. Installing Lilo in /dev/sda3 instead of /dev/sda6 should have solved the problem. Unfortunately, I figured this out only after I repartitioned and made /dev/sda3 my Linux / partition Anyway, Debian is working now. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 11:29 PM
Macbook Pro restarts during boot of FC6 naota53 Fedora 0 03-18-2007 01:47 AM
Debian on MacBook Pro: pc_keyb: controller jammed (0xFF) rose_bud4201 Debian 0 02-28-2007 04:36 PM
Debian on Macbook: can't boot anymore acp Linux - Laptop and Netbook 2 01-09-2007 04:52 AM
triple boot setup dibblethewrecke Linux - Software 3 06-22-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration