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) Code:
Disk /dev/sda: 100.0 GB, 100030242816 bytes Thanks as usual!!! |
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 |
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. |
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! |
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 |
ok I see... You just confirm what I thought in the first place. Thanks :P
|
All times are GMT -5. The time now is 04:08 AM. |