Linux - SoftwareThis 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.
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.
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
grub> root (hd0,1)
Filesystem type unknown, partition type 0xf
Here is my partition table:
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...
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)
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
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...