LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Installed,Windows Installed,Linux problem (https://www.linuxquestions.org/questions/linux-newbie-8/linux-installed-windows-installed-linux-problem-469023/)

coolguy_iiit 07-30-2006 12:21 AM

Linux Installed,Windows Installed,Linux problem
 
Hi all,
Initially i had windows on my pc.Later on I installed fc4 on one of the drives of windows.Because of some problems windows didnt work.Later on i installed windows again in one of the other drives.Now Linux is not booting.Previously the grub file has /dev/hdb9 as the root of linux.But now because of installing windows the linux was now on /dev/hdb8.I changed the grub file accordingly.But previously /dev/hdb8 is windows ntfs partition.So while booting grub says unable to mount /dev/hdb8.unknowm filesystem.

I think the problem is partition tables are not in sync.please help me out with this.

Thanks
coolguy

stevesk 07-30-2006 12:57 AM

Hey coolguy! Could you be a little more clear, please? Maybe you could post your partition table and your current menu.lst file? :)

rickh 07-30-2006 01:18 AM

Unless you know what you're doing, you should install Windows first, then Linux. That way Grub will be properly configured.

Don't be afraid to just start over. Repeated installations are great learning tools.

coolguy_iiit 07-30-2006 01:27 AM

In windows i had 7 drives in windows.
C,D,E,F,G,H,J

I had windows in my J drive.
I later deleted the G partition and installed Linux i.e /dev/hdb9 at that time

Later on windows stopped working(hla.dll not found error)
So i installed windows again on E drive.
But when i try to install grub i got a message that grub couldnt find the bios drives.So i used a option of grub to build device map and grub installed successfully.

But now the fdisk -l shows that my linux partition is in /dev/hdb8 which was previously a ntfs partition(F drive).

So when i click on linux in grub it says unknown file system type.cant mount.

And its not able to find the vmlinuz file.

I think the problem is that linux shud know the filesystem of partition.It needs to get updated.I dont know where partition,filesystem info is stroed.


Please help me in this regard.

jschiwal 07-30-2006 01:39 AM

Using the grub shell, see if you can load in the kernel and initrd files. The grub shell has autocompletion, so if you aren't certain what device grub should look for, you can press the tab key, and if it's the wrong one try another.
ex: kernel (hd0,7)/[TAB-KEY]

coolguy_iiit 07-30-2006 05:16 AM

Thanks dude.I used the grub command prompt and it worked.


All times are GMT -5. The time now is 06:27 AM.