Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fc4, remove windows boot

Status
Not open for further replies.

prophotodx

Technical User
Jan 20, 2003
147
I experimented with an extra pentium 3 box at my house and installed fc4 as a server, and I am happy with it. I now want to move all my data to the old windows bootdrive.

I cannot get the disc to mount, and I don't even think it is recognized by linux

I also want to make sure the bootloader (i think it is called) does not try to boot to winbloz, fc4 only. How do I fix that also?


Be easy on the noobie...

DBX
(Try it my way, it might work...)
 
Old windows bootdrive? Do mean you are done with windoze and want to re-format it and use it as a data drive in your new system?

If so, you will need to format it so linux can use it. NTFS support is minimal. You can read data from it and write support has been recently added to the kernel but I haven't tried it yet so no comment.

Format using mke2fs or mke3fs should do the trick. Make sure you point to the right device or you'll be re-installing the OS. Don't forget to edit [tt]/etc/fstab[/tt] to include the newly formatted drive so it will be mounted during the boot process.

Were you dual-booting windoze and FC4? And now you want to boot FC4 only?

The boot loader only boots what it is told about by [tt]/boot/grub/menu.lst[/tt]. Edit the file and comment out lines similar to the following.

Code:
# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1

I'm probably missing a few items but that's the basics.

Lorenzo Wacondo (System Administrator)

## Just because you can do something doesn't mean you should.
 
I think you would want to move your data first, if I understood correctly, and fedora does not mount automatically you windoz partition (unlike SUse, Knoppix)
first load your ntfs module in the kernel

modprobe ntfs

here is what you do to mount it "read only"

assuming you want to mount the first partition of your primary master onto a directory (to be created) /mnt/windoz
(probably FC4 uses /media as a mounting space)
mkdir /mnt/windoz

mount -t ntfs /dev/hda1 /mnt/windoz
ls -l /mnt/windoz

Your discs and partitions are named like this

/dev/hda primary master
/dev/hdb primary slave
/dev/hdc sec master
/dev/hdd sec slave

the number following identifies the partition number on that drive, so /hdb2 would be the second partition on the primary slave. SO now you can identify where windowz was installed and copy your data out.

When finished you can proceed to wipe out your drive following irudeboy's instructions; if you want more here is a quick article



Cheers

QatQat


Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top