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.
|
 |
11-25-2007, 02:48 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 2
Rep:
|
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
|
|
|
11-25-2007, 05:09 PM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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".
|
|
|
11-26-2007, 03:40 AM
|
#3
|
LQ Newbie
Registered: Nov 2007
Posts: 2
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
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
|
|
|
11-28-2007, 12:56 AM
|
#4
|
Member
Registered: Mar 2006
Location: Arizona
Distribution: Mint 19.2
Posts: 100
Rep:
|
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-28-2007 at 12:58 AM.
Reason: added a step
|
|
|
11-28-2007, 01:04 AM
|
#5
|
Member
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:39 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
|
|