LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-26-2003, 08:57 AM   #1
at.walton
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Exclamation Dual boot (adding windows to a Linux system)


Hi, I currently have a system running Redhat 9. Everything runs perfectly, but i want to remove redhat, then install windows, then reinstall redhat in a dual boot scenario.

I have followed many tutorials (even the one on the Microsoft website which "suprisingly" was the least help)

It told me to load up linux with the Linux setup floppy disk (which i assume is the boot disk i made when installing Redhat)

It then says type "fdisk" at the command prompt

I DON'T HAVE A COMMAND PROMPT! (from what i can see)

when i boot from the floppy i get:

boot:

i then type fdisk

my computer then says:

"could not find kernel image: fdisk"

Can anybody tell me where I'm going wrong?

Thanks a lot!

Last edited by at.walton; 10-26-2003 at 08:58 AM.
 
Old 10-26-2003, 09:08 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome ot LQ.

If you are just trying to wipe everything then you should just be able to load windows and set up the partitions there. if it is an older windows os like win98 or win95 then you need to use the windows boot floppy to boot to a dos prompt then use "fdisk" to remove all partitions then add a partition for windows, reboot and format it using "format C:". Then install windows and after that you can install linux.
 
Old 10-26-2003, 09:47 AM   #3
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
it will screw up your boot loader , so you will have to reinstall your bootloader after the install....
keep your linux bootdisk or the install cd1 ready .....

(if you reinstall the boot loader then you wont have to install rh9 ,
ofcourse if you are sure abt what you do , go ahead )
 
Old 10-26-2003, 10:30 AM   #4
at.walton
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have tried to change the partitions using win2k but it simply tells me the partitions have been formatted using an unknown filesystem.

Have any ideas of how to get around this?
 
Old 10-26-2003, 10:34 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Ok - then boot with RH CD1 then at the "boot:" prompt type "linux rescue".

Once you get to a shell prompt you can use the linux "fdisk" to remove the partitions.
 
Old 10-26-2003, 10:53 AM   #6
at.walton
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
ok, and this will erase all partitions and data by typing that?

(sorry if i sound dumb)

(by the way, thanks for your help so far)
 
Old 10-26-2003, 12:26 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Not automatically - you ned to point it at the drive that you want to manage the partitions of - eg:
fdisk /dev/hda

Then once fdisk has loaded press "d" then enter the partition number you want to delete - it will tell you how many partitions are there - do this for each one then hit "w" to write the partition table to disk.
 
Old 10-27-2003, 07:19 AM   #8
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
you can get help for the various functionalities by pressing m;
fdisk is a menu driven program...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hint: Wanna try Linux, so wanna rig your Windows system to dual-boot? sundialsvcs Linux - Newbie 2 08-16-2005 02:56 PM
Re-install Windows on XP/Linux dual-boot system? fannymites Linux - General 4 05-08-2005 06:27 AM
Need Help Loading Windows XP & SuSe Linux version 8.2---to Make a Dual Boot System Howerton Linux - Newbie 7 09-23-2004 02:49 PM
Has anybody successfully installed a windows/linux dual boot system on a Compaq PC? bugsbunny Linux - Newbie 16 04-03-2004 01:24 PM
redhat linux 9.1 and windows xp dual boot system archnova79 Linux - Newbie 4 10-24-2003 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration