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 11-25-2007, 01:48 PM   #1
Biegel
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
pclinuxos 2007 after install Windows starts


Hi everyone,

I installed pclinuxos but it seems the grub loader doesn't exist. When I restart only windows starts like nothing else would be there.

I have 2 physical hard drives.
The one has windows and on the other one I did the partitions for linux.
What did I do wrong? Do I need to install it on the drive with Windows on it?
The only other error I got during installation was that the sound card has no suitable driver.
I would appreciate any help on this.

Lorenz Biegel
 
Old 11-25-2007, 04:09 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Can you recall what options you selected for installing GRUB? With 2 drives, you would have to be sure that GRUB got onto the one that is seen as #1 by the BIOS.

To install GRUB, boot up from you PCLOS CD, open a terminal, and do "fdisk -l". This tells you all of your drive and partition layout. Let's assume you have 2 IDE drives, with Windows on the first. You might see (paraphrased):
hda
hda1---NTFS (Windows

hdb:
hdb1---Linux /
hdb2---Linux swap

To install GRUB, we need to know the location of /boot. In the above example, it is hdb1 ==> (hd1,0) in grubspeak.

grub #opens a grub shell
root (hd1,0) #points grub installer to location of /boot
setup (hd0) #installs GRUB to to mbr of the first drive (hda)

Now reboot and you should see the GRUB menu.

If in doubt, post the results of "fdisk -l".
 
Old 11-26-2007, 02:40 AM   #3
Biegel
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany View Post
Can you recall what options you selected for installing GRUB? With 2 drives, you would have to be sure that GRUB got onto the one that is seen as #1 by the BIOS.

To install GRUB, boot up from you PCLOS CD, open a terminal, and do "fdisk -l". This tells you all of your drive and partition layout. Let's assume you have 2 IDE drives, with Windows on the first. You might see (paraphrased):
hda
hda1---NTFS (Windows

hdb:
hdb1---Linux /
hdb2---Linux swap

To install GRUB, we need to know the location of /boot. In the above example, it is hdb1 ==> (hd1,0) in grubspeak.

grub #opens a grub shell
root (hd1,0) #points grub installer to location of /boot
setup (hd0) #installs GRUB to to mbr of the first drive (hda)

Now reboot and you should see the GRUB menu.

If in doubt, post the results of "fdisk -l".
Hello Pixellany,
thank you for the help so far. I looked at it and I am in doubt. So here is the fdisk -l result:

Disk /dev/hda: 60.0 GB, 60022480896 bytes
16 heads, 63 sectors/track, 116301 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 61025 30756411 5 Extended
/dev/hda3 61025 116296 27856710 c W95 FAT32 (LBA)
/dev/hda5 1 2790 1405624+ 82 Linux swap / Solaris
/dev/hda6 2790 33150 15301881 83 Linux
/dev/hda7 33151 61025 14048811 83 Linux

Disk /dev/hdb: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 1023 8217216 7 HPFS/NTFS
/dev/hdb2 * 1024 3573 20482875 7 HPFS/NTFS
/dev/hdb3 3574 4982 11317792+ 7 HPFS/NTFS

Again thanks for the help.
Lorenz Biegel
 
Old 11-27-2007, 11:56 PM   #4
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Mint 17, Ubuntu 14.04
Posts: 89

Rep: Reputation: 15
XP First HD, Linux Ubuntu on 2nd

I have the same issue. I had Ubuntu CE (7.04) on one hard drive. I, unplugged that hard drive, then installed a second hard drive identical to the first and installed XP Home on it. Then I put the XP drive back in as my Primary and Ubuntu as my Secondary, but lost my ability to boot into the Ubuntu. After reading your post, I have these results:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 9728 78140128+ 7 HPFS/NTFS

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 9541 76638051 83 Linux
/dev/hdb2 9542 9729 1510110 5 Extended
/dev/hdb5 9542 9729 1510078+ 82 Linux swap / Solaris

Disk /dev/sda: 512 MB, 512483328 bytes
16 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

When I enter Grub #shell command
root (hd1,0) = it tells me the drive does not exist.
If I use root (hd0,0), then Setup (hd0), it tells me Grub has been loaded.
When I restart booting into IDE 0, I get a Error 17,
If I boot into IDE 1, I get Windows, but no GRUB

Just how much of an idiot am I? Thanks...

Last edited by MikRose; 11-27-2007 at 11:58 PM. Reason: added a step
 
Old 11-28-2007, 12:04 AM   #5
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
You're not an idiot, Mik. You got Linux installed after all. You appear to be able to read on a fourth grade level, so that's better than approximately 97.3% of Americans.

Read Pixellany's website on grub, it's in his signature. You can learn a lot from it. Use Google too, it knows ALL. It even can crack hash passwords for you.

Regards,

Brandon
 
  


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
PCLinuxOS 2007 - Can't access Windows Drive at logon lonecrow Mandriva 2 08-20-2007 06:25 PM
Can't install PCLinuxOS 2007.. Pinks2 Linux - Newbie 6 08-06-2007 10:19 AM
Grub 15 Error after a PCLinuxOS 2007 Install Ongeboren Linux - Distributions 5 06-17-2007 02:19 PM
install printer on PCLinuxOS 2007 version wyckoffbr Linux - Newbie 3 02-18-2007 09:45 PM
Enemy-Territory Starts Up than Freezes - PCLinuxOS 0.93 wolfden Linux - Games 9 06-18-2006 06:14 PM


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