LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-26-2007, 05:23 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Help! Windows not reading Ubuntu boot loader


I already have Ubuntu on my drive, I just installed windows on the free space left over. (and windows does only read the amount of space i gave it-not the whole drive as its C drive). I need to install a boot-manager to be able to get to both. The BIOS comes on, then straight to windows...
 
Old 02-26-2007, 05:30 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
The problem is, you are supposed to install Windows before Linux, or else the Windows bootloader will overwrite the Linux one, leaving Linux unbootable as you have found.

To fix this you will need to boot into Ubuntu with a live CD (the install CD should work for that) and run "grub-install" when you get back into the system.
 
Old 02-26-2007, 05:34 PM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
i couldnt resize the NTFS partition. how exactly do i "run grub-install"

btw-im stuck in XP rite now.

Last edited by phantom_cyph; 02-26-2007 at 05:44 PM.
 
Old 02-26-2007, 05:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Read this - you want the second heading.
 
Old 02-26-2007, 06:17 PM   #5
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
it doesnt work-when i enter the find/boot/grub/stage1, it says that it is an unrecognized command
 
Old 02-26-2007, 06:18 PM   #6
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
this is what it looks like:

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub>
find/boot/grub/stage1

Error 27: Unrecognized command

grub>
"find/boot/grub/stage1"

Error 27: Unrecognized command

grub>
 
Old 02-26-2007, 06:34 PM   #7
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
um-i hate to bring this up again-but right now i'm running a Ubuntu-live CD with no clue as where to go. Can i get some help?
 
Old 02-26-2007, 06:46 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You're in the wrong spot - you need the next block - "Using the Desktop/LiveCD and Overwriting the Windows bootloader"
(BTW, that command is "find " - you needed a space after it. But don't do that, use the one I just suggested).
 
Old 02-26-2007, 06:48 PM   #9
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
first off it looks like spacing between commands. find /boot/grub/stage1
Lets assume you have 1 Hard drive, labeled hda. To my understanding Ubuntu was first installed and should be on hda1; so do this
Quote:
grub> root (hd0,0)
It should tell you what type of filesystem it is, ext3.
to install grub,
Quote:
grub> setup (hd0,0)
then
Quote:
grub> setup (hd0)
to install grub to whole hard drive- boot menu should include windows, so don't worry.
Now restart and watch the screen, menu should come up and the rest is history.

Last edited by tidiman07; 02-26-2007 at 06:49 PM.
 
Old 02-26-2007, 07:02 PM   #10
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
finally! it does have grub installed, and it directs me straight to Ubuntu if i dont press any keys. the problem is, the GRUB loads so fast i can load the manager. anyway to slow it down?
 
Old 02-27-2007, 12:23 PM   #11
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
In your /boot/grub/menu.lst(or grub.conf), change the timeout value to a bigger no or entirely disable it by preceding a # to it.
e.g., #timeout 10
 
Old 02-28-2007, 03:53 AM   #12
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
Default timeout values always seem too short.

Last edited by uncle-c; 02-28-2007 at 03:55 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu installed, but with no boot loader dotancohen Linux - Newbie 4 12-28-2006 07:07 PM
Boot Loader (grub) will not work with Ubuntu ajd344 Linux - Newbie 6 08-21-2006 05:42 PM
configure ubuntu boot loader japloy Linux - Newbie 5 07-07-2006 10:31 AM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:55 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