LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-01-2007, 09:08 PM   #1
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Rep: Reputation: 30
Vista/OpenSUSE 10.2 Grub Error message...


Hello Everyone,

I have installed Vista AFTER installed openSUSE 10.2 (I know it is stupid) but anyways I wanted to re-install grub afterward so I thought I would not have any problem. I was wrong. Grub gives me this error when I try to re-install it

Code:
grub> root (hd0,1)
 Filesystem type unknown, partition type 0xf
Here is my partition table:

Code:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2167    17406396    7  HPFS/NTFS
/dev/sda2            5822       12161    50926050    f  W95 Ext'd (LBA)
/dev/sda3            2168        5821    29350755    c  W95 FAT32 (LBA)
/dev/sda5            5822        6076     2048256    b  W95 FAT32
/dev/sda6            6077        6270     1558273+  82  Linux swap / Solaris
/dev/sda7            6271        7837    12586896   83  Linux
/dev/sda8            7838       12161    34732498+  83  Linux
Im a little bit confused, because when I use YAST to reinstall grub, it tells me that the disk doesnt exist, and quits. Now I boot my openSUSE with the cd, but it is kinda annoying...

Thanks as usual!!!
 
Old 01-02-2007, 01:41 AM   #2
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
If you can boot your OS with the CD, then you are half way there.

Run "cat /boot/grub/menu.lst". If everything looks right, you can
write grub to the boot sector with the following. Make note of the
correct "root (hd0,*)" value as shown in the menu.lst file and use
it. -- By the looks of your partition table, the linux root partition
is sda7, which would be: (hd0,6)

# grub
grub> root (hd0,6)
grub> setup (hd0)
grub> quit
#

Now reboot...

Note: You'll also need to add the grub windows boot stanza into
menu.lst, to be able to boot it as well..

/Les
 
Old 01-02-2007, 05:08 AM   #3
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
You might want to try this: http://www.linuxquestions.org/questi...d.php?t=464296

I suspect that vista has a slight different way of booting and it needs tricks like that.
 
Old 01-03-2007, 09:14 PM   #4
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
Thanks linuxles, it worked wonder!!! I am just wondering though, why I had to install grub on my /sda7 when the computer boots Vista by default... I thought I had to install grub on the windows parti.... But it doesnt make sense since it's NTFS not ext3... This is why it told me it didnt recognize the filesystem... ahhhh Im gonna do a little bit of reading on MBR stuff :P

Thanks very much!
 
Old 01-05-2007, 08:30 PM   #5
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
You didn't install it on sda7, you installed it on the boot sector of sda,
and told it to find the compressed linux kernel on sda7. In effect grub is
looking for where to find vmlinuz. If you run "locate vmlinuz", you will
find that it exists in the /boot directory. On my system boot is it's own
partition, so it looks for it in the boot partition, which is hda1 or (hd0,0).
On your system (since you don't have a seperate boot partition) it looks
for it in in the root partition which is sda7 or (hd0,6). The first partition
is always 0, so sda2 would be (hd0,1), sda3 = (hd0,2) and so on...

HTH,
/Les

Last edited by linuxles; 01-05-2007 at 08:32 PM.
 
Old 01-06-2007, 11:42 AM   #6
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
ok I see... You just confirm what I thought in the first place. Thanks :P
 
  


Reply

Tags
grub, vista


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 error message tonycampos Linux - Laptop and Netbook 16 03-09-2006 03:16 AM
GRUB gives error messages after a OpenSuSE install attempt on a External HD mandrakethepenguin Linux - General 1 01-19-2006 04:37 PM
Just installed Suse 10.0 - Grub error message. ourhero Linux - Newbie 3 12-05-2005 02:41 AM
Message: Grub Hard Disk Error frfrazier Linux - Newbie 2 11-18-2005 10:59 PM
GRUB error message Mathsniper Linux - Software 1 10-04-2004 08:00 AM


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