LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-15-2006, 02:15 PM   #1
rastiazul
Member
 
Registered: Feb 2006
Location: Costa Rica
Distribution: PCLinuxOS, Mint, Eeebuntu
Posts: 67

Rep: Reputation: 15
Question Trouble installing grub


Hello

I need to install grub to dual boot pclinuxos and windows xp. I only have one hd. I just installed the 2 os's, first windows and then linux.
I have been trying to install following this tutorial: http://www.fedoraforum.org/forum/showthread.php?t=975 but only got to this part:
--------------
7) Set the GRUB's root device to the partition containing the boot directory like this:

grub> root (hd0,0)
--------------
When I typed that I got this:

filesystem type unknown, partition type 0x7.

I dont know if it matters but I also have this info from my drive:

Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type unknown, partition type 0x82
Partition num: 5, Filesystem type ext2fs, partition type 0x83
Partition num: 6, Filesystem type ext2fs, partition type 0x83

I also tried:
find /boot/grub/stage1
Error 15: File not found

Ive been trying to get this working for several days so I would really appreciate any solution.
 
Old 05-15-2006, 02:44 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
When you installed PCLinux, did it not give you an option to install a bootloader?

It is not 100% clear whether grub is already installed. Also, where did you get that partition information? (eg where are partitions 1-3? and where is the Windows partition) If you are able to get into Linux somehow, then type "fdisk -l" (as root) and post the results.

Assuming that the PCLinux installer will install grub, then starting over may be the easiest route.
 
Old 05-15-2006, 02:56 PM   #3
rastiazul
Member
 
Registered: Feb 2006
Location: Costa Rica
Distribution: PCLinuxOS, Mint, Eeebuntu
Posts: 67

Original Poster
Rep: Reputation: 15
PClinux installs lilo by default but lilo doesnt work in my computer. I get the timestamp mismatch error, this due to my type of mobo and having a sata hd. I got the partition information using grub from the fedora rescue cd. Partitions 1-3? no idea. Windows partition? I think type 0x7 is suposed to be ntfs ... I cant get into linux, I can only get into windows. I got into linux once, I dont know why, but one of the several times i rebooted the lilo screen actually came up, and that was when I was able to check (fdisk -l) where the bootloader is= sda1. But im not sure if I was root.
Since Ive been having trouble installinf grub I also tried GAG. With gag I was able to boot into windows but not into linux so i uninstalled it. And now I dont get a lilo error, it just boots directly into windows.

Last edited by rastiazul; 05-15-2006 at 02:59 PM.
 
Old 05-15-2006, 05:06 PM   #4
rastiazul
Member
 
Registered: Feb 2006
Location: Costa Rica
Distribution: PCLinuxOS, Mint, Eeebuntu
Posts: 67

Original Poster
Rep: Reputation: 15
Using the pclinuxos livecd i got what you asked:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
/dev/sda2 2612 38913 291595815 5 Extended
/dev/sda5 2612 2738 1020096 82 Linux swap / Solaris
/dev/sda6 2739 3532 6377773+ 83 Linux
/dev/sda7 3533 38913 284197851 83 Linux
 
  


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
GRUB trouble laubster Linux - General 2 01-05-2005 03:47 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Grub trouble p1az Linux - General 4 10-03-2003 12:20 PM
Grub trouble mcm8327 Linux - General 2 07-04-2003 08:00 AM
Trouble with GRUB SilverSnake Linux - Software 16 12-06-2002 12:00 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration