LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-14-2004, 09:05 AM   #1
dwight
LQ Newbie
 
Registered: Sep 2004
Location: Estonia
Distribution: Arch
Posts: 14

Rep: Reputation: 0
From dual-boot to Linux-only


For a few months now I have been using a dual-boot system (SuSE 9.1/WinXP). By now I'm using Linux most of the time and don't really have any use for XP anymore. So, I would like to remove it and allocate the space to Linux. I have one 80GB hard drive, witch has 3 NTFS partitions(swap,system,files) totalling ~70GB and two Linux partitions ~6GB total. As can probably guess I'm operating under pretty tight conditions in Linux. On the NTFS partitions there's abut 25 GB of free space and about 40 GB of music,films,documents, etc, which I definitely need to keep, so a clean install is probably not an option. So.. What would you suggest is the best way to deal with this situation? I was thinking of making a 20 GB partition from the free space I have, move as many files as possible there, format XP sys partition, add that to the 20 GB partition and so on. Is that feasible?
 
Old 09-14-2004, 09:24 AM   #2
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Lubuntu 16.10 and Raspbian Jesse
Posts: 276

Rep: Reputation: 30
feasable, you can do some tricky stuff, if you are brave. you can get rid of all your xp partitions, then do a mkfs on the free space, then mv your /home dir into the new free space, then edit your /etc/fstab file to mount your new partition on /home. Be carefull, as messing with your fstab and partition allocation is somewhat risky.
 
Old 09-14-2004, 09:25 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
I don't know of any tools off-hand that will resize an NTFS partition.

I'd definitely start by repartitioning the NTFS swap partition to something you can use to store files.

The easy option is if you can get the files you want to onto another medium; perhaps you have/could borrow an external hard disk or tape drive, or can burn them onto a CD. Then you can simply delete the ntfs partition and recreate it as reiserfs or ext3 or whatever. I'd then move all the files in /home into the new partition, mount the new partition as /home and restore the files from the other medium somewhere in your home directory.

Another option is to make some space on the Linux filesystems using things like strip and gzexe, as well as pruning old log files and bzip2 compressing larger documents. You may then squeeze a little extra space to use as a buffer while copying the files away from the filesystems that are being deleted.

By the way, if you're copying files all over the place, I'd keep a written record of what you've put where, just so you don't end up finding extra documents and movies on your hard disk for months on end.
 
Old 09-14-2004, 10:29 AM   #4
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
Partition Magic 8 (windows) will resize an NTFS partition non-destructively.

But if you are just going to blow away Windows, I would do one of two things: kill all partitions and repartition and reinstall, or I would be adventurous and destroy the Windows partition and use Linux tools to resize and reallocate disk space.

Either way, dude, you need to back up all documents, data, music files, or whatever. Back it all up. That way you can play and destroy everything - you will learn a ton - without crying into your cereal ever morning for the next three days.

I would try the second and then do the first.
 
Old 09-14-2004, 11:17 AM   #5
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Lubuntu 16.10 and Raspbian Jesse
Posts: 276

Rep: Reputation: 30
i got a jumpdrive usb stick and copied my /home over to it, they are pretty cheap at walmart. I have a jumpdrive sport, only thing i had to do to it was format it as vfat under winblows xp (but i may not have had to, i later learned)
 
  


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 dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 09:13 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 11:52 AM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 10:00 AM

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

All times are GMT -5. The time now is 04:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration