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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have three primary partitions. XP, Slackware,bsd.
I wanted to use the Windows and the linux versions of
fdisk to get a final look at all the partitions on the disk.
I plan to use the Linux version in order to delete the Linux and the
bsd partitions and create new ones in fat32 so that Windows can see them.
When I tried to use fdisk (from a Windows boot disk ) the program froze
right after I choose yes in order to enable large disk support. Was this because
Windows XP uses the disk manager in order to deal with partitions?
Because I was able to use fdisk to set up the Windows partition.
Before I use the XP CD to reinstall I wanted to be able to use the Windows fdisk
to delete the old partitions and create and format the new one.
If you are having issues with yoru partitions, you can use fdisk in your Linux installiation to hose the partition and set up a new one.
Ify ou have a program like Partition Magic, that should work too.
Otherwise, pop in either a Live CD and use a program like qtparted or fdisk, or, you can pop in the windows cd, and before you get to the install the os section, (when it asks whatever disk you want to install windows to) choose the right one, and then use PM or other disk utility to create the fdisk partition.
I'm new also but I like using Gparted. It's very easy to use and will create, resize and format partitions. It's a live cd & here's a link if it works ( I'm new also ). Hope this helps you if I understood your goals. Just curious what boot loader are you using ? http://gparted.sourceforge.net/livecd.php
Thank you, I still need to know why fdisk (windows)
froze after that first menu option. Was it because of Windows XP and it's this manager
or some other reason. Also I have no access to the root account
and will need to use fdisk(windows) to remove lilo.
In other words I'm guessing that the XP disk manager
is stopping fdisk(windows) from working.
And if this is the case when I try to run
will it still work?
You could get away with just formatting, if you've got all your stuff backed up. You could hose the particular partition you're trying to get rid of by just formatting that partition. But if you also want to get rid of lilo, you're going to need to run fixboot and fixmbr.
are you trying to get rid of your bsd too? It so, you're going to have to reinstall a bootloader... so You might have to install lilo or grub from your bsd install.
I have not worked on this computer for about two years, and I believe that
when installing and the reinstalling these operating systems that I
removed the BSD operating system but then either
Made the BSD partition and installed it
Just made the BSD partition
I am planning on getting rid of bsd, just by deleting the partition
with the fdisk from the Slackware CD. Since I cannot actually reach
the lilo.conf file in order to add the BSD entry.
(The three current entries are : Linux, XP, Linux (modified kernel))
The hard disk has three primary partitions: XP, Linux, BSD
I'm confused by
It so, you're going to have to reinstall a bootloader... so You might have to install lilo or grub from your bsd install.
I was using lilo to boot all three systems, so once I get rid of Linux
and bsd, I do not plan on installing grub or ilo
I misread your OP, thought you wanted to keep BSD and just get rid of Slack.
In your case, if you've got all of your software and whatnot backed up, it might be time for a reformat of your ntfs partition anyway (I always do mine about once a year), so it probably would be easier if you just refomat the whole HD and reinstall windows, isntead of trying to fight all the Partitioning programs. Keep in mind you're still going to have to boot to the recovery console and run fixmbr to get rid of lilo.
To the best of my knowledge, fdisk only "plays" with the partition table which shouldn't stop it from working. Neither does the existence of lilo matter at all to your situation. It seems to me that you want to reinstall all your operating systems on this computer. Running the XP install CD should do just fine. In my experience it still shows you that there are linux partitions present on the drive, as well as your ntfs partitions. Is there any real good reason to "check" your partitions before using the XP CD? Also, to the best of my knowledge, linux vfat and windows fat32 are apparently different and could possibly cause you problems. I would suggest looking into that a little further before you go ahead and do it. I, personally, would just dive in and get going with it. There's no reason to do a "fixmbr" or a "fixboot c:" unless you want a windows bootloader in there... that's all it really does.
Thanks for your help, and to clarify I just want to clean the hard disk and install only XP
Sometimes, especially with the version of fdisk that XP uses, microsoft will complain to you about having to remove linux partitions and will refuse to do so. I'm over-personalizing it, but I've heard about it. Basically it doesn't "know how" to remove a linux partition and you will need to use a linux fdisk to do it. I've never run into that problem, but there are those who have. If that is the case, you will need to have the install/rescue CD from either slackware or bsd to use its fdisk to remove the partitions before the XP cd will let you use the whole drive. You can also use a LiveCD like Knoppix or SLAX if you don't have one already. They can always be useful.
If you don't have a LiveCD, and you don't plan on keeping it when you're done, use a CD-RW and use SLAX as it is not as large of a download. Using the Slack or BSD installer/rescue CD is the easiest, with the LiveCD being second-easiest.
If you don't have any of that, it could be a bumpy ride but you might want to look at something like Escape Pod Linux. It probably isn't your cup of tea, but it's only one floppy disk and it'll boot your computer so you can use fdisk. You can google around for something similar, but it can be a little much.
Also... I'm not sure this applies to a Windows fdisk pre-XP. You might want to give the Win98 boot/rescue disk a shot because I know you can grab that by searching google. Most likely the Win95 or the MSDOS 6.02 boot disk would work too. It's only speculation on my part, though...
I'm interested to know how this works for you now...
As per the commands you mention above, you don't have to run the format c:. When in the recovery console, just run fixboot and fixmbr. You might need to reboot (I don't know how the recovery console works...), after that, just install windows like you would (just at the partition selection make sure you remove all the partitions first (press r and select all the drives..). then continue (just follow directions).