LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2011, 03:02 PM   #1
ecat
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 13.04
Posts: 2

Rep: Reputation: 0
Boot Loader Present Without an Actual Linux Installation?


Hey all,

I've been fighting to dual-boot my MacBook Pro, OSX Snow Leopard and Ubuntu 10.10.

I shrunk the Mac partition, installed rEFIt, created a 2 GB swap partition and a ext4 partition with the rest, then installed Ubuntu in the ext4 partition. I then realized that I had installed the boot loader to the main sda rather than to the Ubuntu ext4 partition that I had created (among other problems). I wanted to wipe Ubuntu and reinstall it.

So, using gparted, I turned the swap and ext4 partitions back into free space, so there is NO LINUX ON MY HD. Just some free space.

However, when I boot up through rEFIt, I still get the Tux logo next to the Apple logo, and the option of "Boot Linux from HD." When I choose this, I get a "No bootable device, insert boot disc then press any key" error. Which makes sense, since there is no Ubuntu to boot.

What I don't understand is why I still even have the option to boot Linux. I'm thinking that I haven't managed to remove the boot loader from the first installation, so it's still present in one of my other partitions and rEFIt is finding it.

Some additional info...
My partitions in gparted look like
Partition File Sys Label Size Used Unused Flags
/dev/sda1 fat32 EFI 200.00 MiB 22.16 MiB 177.84 MiB boot
/dev/sda2 hfs+ Mac HD 139.70 GiB 100.83 GiB 38.87 GiB --

unallocated = 92.99 GiB

(Does the boot flag mean that I accidentally put the boot loader on /dev/sda1?)

OSX still boots and runs fine, so I would love to fix this without having to wipe it entirely.

So, any ideas? Is there somewhere else within the system to look for helpful information? Am I right in thinking I put grub somewhere that it shouldn't be? And can I remove it?

I'm sure some of what I've done is pretty stupid. I'd appreciate any sort of pointer or advice, even if it's not a solution.
 
Old 08-05-2011, 05:13 PM   #2
ecat
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 13.04
Posts: 2

Original Poster
Rep: Reputation: 0
Woohoo. Obviously as soon as I post the question, I come across the answer myself. This http://mac.linux.be/content/remove-g...t-boot-anymore did the trick, even though it wasn't OSX that was the problem.

Anyways, explanations are still welcome if you feel like I did something ridiculously dumb or don't understand something properly.
 
  


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
grub boot loader installation in dual boot machine after windows 7 installation sourabh.sinha Linux - Newbie 4 03-23-2010 10:22 AM
Boot Loader Options while Installation Mustafa^Qasim Linux - Newbie 2 05-08-2007 12:18 PM
SuSE installation: boot loader ece30675 Linux - Newbie 1 09-22-2004 06:00 PM
problem: freebsd boot loader still present after 'fixmbr' veritas *BSD 3 06-24-2004 03:43 PM


All times are GMT -5. The time now is 03:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration