LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04: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, 05: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 05:40 AM.
 
  


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


All times are GMT -5. The time now is 03:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration