Windows 2000 partition not recognized by Linux (anymore)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.