Dual booting, want to get rid of windows partition
I am dual booting my laptop with windows XP, I wanna delete the windows partition without harming my linux partition. Is there an easy way of doing it?
oh boy oh boy
here log in as root and run fdisk.
fdisk /dev/hda <<-- where hda is the first harddisk
first press p
this will print your partition table
then press d to delete a partition
select the partition number refering to the print out of the table.
then once back at menu press w to write to disk
then q to quit
now the next step is to change lilo.
type cd /etc
edit lilo.conf file
it should look like this
now what you are looking for is something like
label=dos or label=winxp
now delete that section if it was this table I would delete everything from
then make sure that default is equal to the label of the linux you want
and save it then
The easiest partitioning tool I know is boot it (www.terabyteunlimited.com) but it requires you to make the boot disk from windows which might or might not be a problem for you. I use it for the majority of my partitioning needs (i.e. resizing/sliding partitions). Everything should be self explantory once you run it.
Didnt work simply because formatting /dev/hda1 (windows) broke the system and I couldnt get to grub.. reinstalling the whole OS now. oh boy..
|All times are GMT -5. The time now is 10:59 PM.|