FedoraThis forum is for the discussion of the Fedora Project.
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.
I have an older computer (Year 2000 lol) with 2 harddrives inside. The Primary 30GB HD holds Windows 98SE & all my (Parents) files lol. The second 10GB HD was for me and my stuff. I formatted the entire thing so I could put Fedora 8 on the computer for my Linux class this semester. However I ran into some big trouble, hence me being here.
I installed Fedora on the 2nd HD (10GB), ran it and it works great. But now my parents need 98SE back, so I restarted and low and behold, 98SE is missing!!
I figured this wasnt a big deal, so I opened the chassis and took my HD out, rebooted. It attempted to launch Fedora, but fails. So I plug the 10GB back in, take the Primary out, reboot. It says there is no OS detected.
So it apppears to me that Fedora has killed Windows 98SE, but again I am a total Linux noob. But I did not install it at all on the Primary, so why would this happen?
I am hoping you guys can tell me (1)What is going on? (2) Is 98SE gone? (3) Can it be saved short of reinstalling it?
Thanks, I am about to head off to work but I will have more info when I get back tonight.
First thing to do is use Linux to see if there is a filesystem on the Windows drive. Put the system back together as it was when you installed Linux. Use mount to see what the Linux drive is; probably either /dev/hda or /dev/hdb. The WIndows drive will be the other. Then, as root, do
Code:
/sbin/fdisk -l /dev/hdx
(use either hda or hdb, as appropriate). With luck, you should see a Windows FAT32 partition listed. Note its partition name; hdb1, hdb2, etc.
Then, you can try to mount the Windows partition:
Code:
mkdir -p /mnt/Win98 (use a mountpoint that makes sense to you, its arbitrary)
mount -t vfat /dev/hdb /mnt/Win98 (use partition name observed above)
Now, you should be able to browse the Win98 filesystem, starting at /mnt/Win98. Other than using grub to allow the system to boot to Windows, I'm not sure how to restore the Windows boot loader. Others on this forum may know how.
To use grub, you will have to make an entry in /boot/grub/grub. Try adding an entry like this:
Code:
title Windows 98SE
rootnoverify (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
(Hopefully, grub is already installed by Fedora)
If the Windows drive is already /dev/hda, you should be able to remove the two map commands. On the next reboot, you should see an entry for the Windows 98 OS.
The Win98 disk will likely be /dev/hda with the MBR (boot-loader) overwritten. No big deal.
Couple of comments on the response above;
- do the fdisk command as "/sbin/fdisk -l" (no device, so you see everything)
- the mount needs a partition; I'm thinking this would be closer;
"mount -t vfat /dev/hda1 /mnt/Win98"
- try the new grub entry without the map commands - add them if it fails.
The Win98 disk will likely be /dev/hda with the MBR (boot-loader) overwritten. No big deal.
Couple of comments on the response above;
- do the fdisk command as "/sbin/fdisk -l" (no device, so you see everything)
- the mount needs a partition; I'm thinking this would be closer;
"mount -t vfat /dev/hda1 /mnt/Win98"
- try the new grub entry without the map commands - add them if it fails.
Hmm. My fdisk without any drive named supplies nothing. Mileage may vary, apparently.
Good catch on the partition number, though. Thanks.
I wanted to show the way to add the map commands in the grub entry. You're right to add them as necessary.
syg00, do you know how to correct the overwritten Windows boot record?
My fdisk without any drive named supplies nothing.
Only time I have had that happen was on Ubuntu - no message, nothin'.
Needed "sudo" - don't get me started ...
As for the Win98 MBR, a (DOS, not Linux) "fdisk /mbr" will work. Generally done from a floppy, but there may be rescue CDs now that will do it.
Shouldn't be needed here.
I'd bet that fixmbr from rescue console on a Win2k or XP CD would also work, as the code is the same.
Its quite obvious both of you gentlement know lots about this, so hopefully we can resolve this.
Here is the computers response when I use the Mount command:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw, gid=5,mode=620)
/dev/sdal on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_piepfs (rw)
I see nothing of HDB or HDA in there, but again you guys know a lot more than me.
But in any case I went ahead to the next step to see if I could figure it out by trying both, since all we were doing was looking for partitions. However, when I try the "/sbin/fdisk -l /dev/hdx" (either hda or hdb) it takes the command and just drops me to the next prompt.
So more info is required for me to continue. If you guys can fix this I will dance at your respective weddings, assuming you are not married, in which case I would then have to come up with something else to repay you. lol
Thanks!
Last edited by jonnyhawes; 01-26-2008 at 08:41 PM.
According to that, Fedora has taken over both disks. Reinstall (probably of both 98 and Fedora) is probably required.
Hope you had your folks data backed up.
According to that, Fedora has taken over both disks. Reinstall (probably of both 98 and Fedora) is probably required.
Hope you had your folks data backed up.
lol nope. Why did it do that if I just installed it on 1 drive though. Not that it really matters now.
Dunno - it shouldn't have unless you accepted an option you didn't really understand. I don't use Fedora.
Then again I never use the automatic partitioner in any (distro) installer either.
Dunno - it shouldn't have unless you accepted an option you didn't really understand. I don't use Fedora.
Then again I never use the automatic partitioner in any (distro) installer either.
I am not gonna lie I didnt totally understand all that was going on, but I know I didnt tell it to get on that harddrive lol. I restarted in the Installation 3 times to double check myself, and then it did it anyways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.