LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-04-2005, 03:50 AM   #1
rksprst
Member
 
Registered: Jan 2004
Distribution: OS X 10.4
Posts: 172
Blog Entries: 1

Rep: Reputation: 30
deleting windows partition


hi,

I was reading a thread in the General section and it made me think about deleting my windows partition. Does mandrake have a way to do this without reinstalling?
Or if i hafta reinstall is there a way to create a "ghost" of the computer so that it will keep all my settings, files, and even my custom kernel?

thanks,
alex
 
Old 01-04-2005, 04:33 AM   #2
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
Hmmm - I'm not a Mandrake expert, but I once did this with a RH box that dual booted to win'95. Win'95 was badly abused, and I didn't need it's functionality any more. here's how I did it:

1. fdisk to change the windows partition type to what I wanted (i think type 83.(i think i split it here into a small /boot and a /bkup or something)
2. mke2fs to put a file system on each new partition
3. un-mount the existing /boot, re-name it in /etc/fstab and re-mount it
4.. add appropriate entries into /etc/fstab for the new partitions
5. move my kernel images to the new /boot
6. edit lilo.conf to reflect the changes
7. re-write the boot sector with lilo

and I was up and running!
Caution should be taken to back up important files before starting this

You don't have to move your /boot to the new linux partition, but you MUST fix your boot loader after you have made the changes you want, as your system likely will not be bootable otherwise, except via rescue CD or boot floppy

It is a good idea to have a Rescue CD or Boot Floppy handy before starting this process

You don't even have to let linux take over on this partition, but Any changes that might affect the boot sector or boot process should end with ensuring the system is still bootable read the man pages for lilo or grub to make sure you know how to do this!

Hope this helps

jacks4u

Last edited by jacks4u; 01-04-2005 at 04:40 AM.
 
  


Reply



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
How to bypass 'Grub' after deleting the Linux partition, so that Windows XP can load? Marion D Poff Linux - Software 11 03-15-2011 03:52 PM
Deleting Linux Partition Elader Linux - General 1 04-20-2005 06:01 PM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 07:44 PM
Deleting Windows Partition LinuxSeeker Mandriva 17 10-18-2004 04:34 AM
Deleting NTFS Boot partition spaceape Linux - Newbie 3 01-09-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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