LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-23-2002, 03:28 AM   #1
wct
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
Win2k/mandrake -> win2k [remove linux]


hi

i have a machine with one hdd
win2k was installed to primary partition and then the rest of the space i installed mandrake linux 8 onto

lilo is the boot loader used

i am wondering what is the best way and easiest to get rid of linux and allocate all of that space to the existing win2k partition

if thats not possible whats the best and safest way to wipe the whole hdd and be able to install win2k again

thanks
 
Old 11-23-2002, 04:56 AM   #2
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Going back to the dark-side?

Do you have Partition Magic? This utility could be used safely (early versions won't work with NTFS). This would preserve your win2k install and re-assign all space back to it. Or it could also be used to remove the win2k and re-assign all space to Linux

Win2k install can remove all partitions and recreate a whole partition on the hdd, if this is the route you choose. This of course would wipe everything out on the disk.
 
Old 11-23-2002, 05:20 AM   #3
wct
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
hmmmm

if i install PM on win2k can i assign all linux space to win2k and still keep win2k data intact?
 
Old 11-23-2002, 07:51 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
yup. you can do that. PM can do a 'non-destructive' NTFS partition resizing. But do you really need PM? It costs a lot of $$$ for this tool that you'll just use once or twice. Try this:

http://www.terabyteunlimited.com/bootitng.html

It's a live 30 day free trial of a tool that does what PM does.
 
Old 11-23-2002, 08:24 AM   #5
wct
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
ah i have partition magic

ok win2k was installed first so it shoudl be on first partition or whatever of hdd

then linux was installed and bootloader is LILO

so what is the process to go the partition magic path?

like changing bootloaders and reassigning space

whcih order?

thanks
 
Old 11-23-2002, 11:30 AM   #6
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
to do:

- get rid of LILO
- resize the partitions

to get rid of LILO:

- boot into mandrake and run this as root:

/sbin/lilo -u # this restores the old boot record that was in use before lilo
was installed

Unless you have ran /sbin/lilo after installing mandy, use the dos fdisk instead. You need a Windows/DOS bootdisk with fdisk. Boot with it then run this:

fdisk /mbr

That restores your Windoze loader.

To fix the disk space issue, you can do that from within Win2k's disk manager. You should be able to see the unlabelled linux partitions there. reclaim them in the name of Bill Gates or just delete them. You should have new drive D:. If you want it to be added to your existing Win2K partition, this is where you need PM. You'll do a non destructive resizing - you'll add the new partition (D to your C:. And it will then just be C:.

PM has a GUI. It should be pretty easy for you to figure out the steps. But before you do that - BACKUP your files!!!
 
Old 11-23-2002, 07:01 PM   #7
wct
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
ok few more dumb questions

/sbin/lilo -u # <---- include the hash? haha

fdisk /mbr <--- some other sources says for win2k to use fixmbr command from some win2k recovery console... difference?

Win2k's disk manager <--- ive never seen anything like this before?!

thanks for all the help
 
Old 11-23-2002, 11:48 PM   #8
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Quote:
Originally posted by wct
Win2k's disk manager <--- ive never seen anything like this before?!
Right click on the "My Computer" icon, then click on manage. The Disk Manager is about halfway down the left side.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake Linux connectivity with win2k acute123 Linux - Networking 1 12-13-2004 04:54 AM
Two hard drives, one with Win2K, one with Mandrake Linux 9.2. saunterer Linux - Newbie 4 01-13-2004 05:08 PM
win2k sees linux files... linux won't see win2k files.. please help.. what will i do? kublador Linux - Networking 1 03-24-2003 07:31 AM
Howto: remove lilo & put win2k boot loader back? hugodog Linux - General 2 05-10-2002 12:45 PM
Mandrake 8.1 and Win2k crash89 Linux - Software 0 01-21-2002 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:45 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