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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-05-2007, 07:56 AM
|
#1
|
LQ Newbie
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11
Rep:
|
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.
|
|
|
10-05-2007, 08:15 AM
|
#2
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
Run from the terminal
fdisk -l
and post the output
|
|
|
10-05-2007, 04:14 PM
|
#3
|
LQ Newbie
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11
Original Poster
Rep:
|
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)
"
|
|
|
10-05-2007, 04:46 PM
|
#4
|
LQ Newbie
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11
Original Poster
Rep:
|
what does it mean?
|
|
|
10-05-2007, 05:38 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
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.
|
|
|
10-05-2007, 06:09 PM
|
#6
|
LQ Newbie
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
10-05-2007, 06:15 PM
|
#7
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
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.
|
|
|
10-05-2007, 07:31 PM
|
#8
|
LQ Newbie
Registered: Aug 2007
Location: U.S., Florida
Distribution: Slackware 12.1
Posts: 11
Original Poster
Rep:
|
Oh crap. Ok i understand now thanks for your help but this is a windows based problem not GRUB.
|
|
|
All times are GMT -5. The time now is 04:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|