LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-05-2007, 07:56 AM   #1
ookami777
LQ Newbie
 
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11

Rep: Reputation: 0
Help please! GRUB problems!


Yes! I have Installed Ubuntu, and all is well, exept Ive got a small problem with GRUB. When i press enter to start with Windows instead of Ubuntu, it restarts and asks me what OS i want to use again! I'm thinking there might be a bug in the 1.5 version of GRUB but I can't be certain.
 
Old 10-05-2007, 08:15 AM   #2
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Run from the terminal

fdisk -l

and post the output
 
Old 10-05-2007, 04:14 PM   #3
ookami777
LQ Newbie
 
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11

Original Poster
Rep: Reputation: 0
out put:
"
Disk /dev/sda: 1030 MB, 1030750208 bytes
16 heads, 32 sectors/track, 3932 cylanders
Units = cylanders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 3932 1006576 e W95 FAT16 (LBA)

"
 
Old 10-05-2007, 04:46 PM   #4
ookami777
LQ Newbie
 
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11

Original Poster
Rep: Reputation: 0
what does it mean?
 
Old 10-05-2007, 05:38 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
That tells us nothing except that you only list the output of your USB pen drive with 1Gb capacity with one Fat16 partition using up all the space.

The "fdisk -l" should list every partition of every hard disk in your PC. The "-l" is "-" and a small "L".

Try again.

"fdisk -l" is useful because a ntfs partition is type 7 and Linux is Type 83. If we know where they are we can advise how you can overcome the problem.

Last edited by saikee; 10-05-2007 at 05:39 PM.
 
Old 10-05-2007, 06:09 PM   #6
ookami777
LQ Newbie
 
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11

Original Poster
Rep: Reputation: 0
Here we go i was on my Desktop before

"
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 15960 128198668+ 7 HPFS/NTFS
/dev/hda2 15961 30023 112961047+ 83 Linux
/dev/hda3 30024 30401 3036285 5 Extended
/dev/hda5 30024 30401 3036285+ 82 Linux swap / Solari

<copy whats above>

"
whats going on? i see fileing systems, and separate patitions, the rest is foreign to me.
 
Old 10-05-2007, 06:15 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Assuming your hda is the first disk and so it will be known to Grub as (hd0). hda1 is the only Type 7 partition so Windows must be inside. It also has a "*" meaning it is an active or bootable partition. This partition is known to Grub as (hd0,0).

You have Grub and when the Brub screen first appears pressing the "c" key will get you into a Grub prompt (terminal mode with Grub, as you are talking to Grub directly).

There is no installed operating system in a PC that Grub cannot boot. So try and report these commands at Grub prompt
Code:
root (hd0,0)
chainloader +1
boot
You don't have a booting problem if you are in a Grub prompt!!!!!!!!!!!!!!!! because you can ask Grub to do amazing things.

Last edited by saikee; 10-05-2007 at 06:18 PM.
 
Old 10-05-2007, 07:31 PM   #8
ookami777
LQ Newbie
 
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11

Original Poster
Rep: Reputation: 0
Oh crap. Ok i understand now thanks for your help but this is a windows based problem not GRUB.
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
Problems with GRUB, not using whats in grub.conf **FIXED silentpetey Linux - General 1 11-06-2006 10:24 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
grub problems slacard Linux - General 8 10-18-2003 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration