LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows 2000 partition not recognized by Linux (anymore) (https://www.linuxquestions.org/questions/linux-newbie-8/windows-2000-partition-not-recognized-by-linux-anymore-121807/)

UberNoob 12-01-2003 08:47 PM

Windows 2000 partition not recognized by Linux (anymore)
 
Hi,

I have two hard disks. Hard disk 1 is a full Windows 2000 partition and hard disk 2 has a Windows and a Linux partition.

The first time I installed Linux it would give me the option to boot Windows 2000 or Linux at startup and both worked fine. I could also mount the Windows 2000 partition from within Linux.

But I had to reinstall Linux again (because of some problems) and after the second installation, the option to boot Windows 2000 disappeared and the Windows 2000 partition doesn't show up in Linux anymore.

The Yast partitioner says that:
/dev/hda1 Hidden HPFS/NTFS

But there seems to be no option to unhide it. And I don't really want to mess with those LVM, RAID and fstab options before I know what they are and what I'm doing.

Any ideas on how I can tell Linux and the bootmanager to find Windows 2000 again?

Thanks

Joey.Dale 12-01-2003 08:59 PM

We need more info mainly, what bootloader are you using?

Welcome to LQ!

UberNoob 12-01-2003 09:02 PM

Quote:

Originally posted by Joey.Dale
We need more info mainly, what bootloader are you using?
GRUB

Quote:

Welcome to LQ!
Thanks :)

UberNoob 12-01-2003 10:53 PM

Allright, I managed to unhide the partition using GRUBs unhide command, changing its id partition type from 0x17 to 0x07. Now I'd just need to know how to mount it correctly and how to make it bootable.

Demonbane 12-01-2003 11:05 PM

if grub is installed in the MBR of the first disk, try:

title Win2k
rootnoverify (hd0,0)
makeactive
chainloader +1

in your /boot/grub/menu.lst

To mount it you can either manually use the mount command
mount -t ntfs /dev/hda1 /some/mountpoint
or put it in /etc/fstab to mount it automatically on boot/mount by only specifying the device or mount point, eg.
/dev/hda1 /some/mountpoint ntfs auto,umask=222 0 0

windows partition on the second drive is probably /dev/hdb1, check the output of fdisk -l.

UberNoob 12-02-2003 12:35 PM

All of this worked fine. A great many thanks.

I only used root (hd0,0) instead of rootnoverify. What's the difference?


All times are GMT -5. The time now is 03:33 AM.