LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-17-2006, 05:11 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Moving and Resizing Partitions


I don't use Windows much anymore - just for games - and it's taking up a big portion of my HD space (40 GB) that I'd like to have free for Linux. I've got a 120GB external drive, and I was wondering how could I copy my NTFS partition onto the external drive and then just boot from that when I want Windows?

Also, can QTParted (or parted, or any other tool) safely resize my EXT3 partition?
 
Old 02-17-2006, 06:24 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
QTparted of cfdisk can both safely resize partitions, but you should run them from a live CD like Knoppix, not from a filesystem that you are running linux on.

Not sure about moving the windows partition, but I bet it can be done. Or use dd or partition image to clone the image to the USB drive and then use grub to boot it from the first drive. You'll probably have to edit boot.ini to make up for the fact that the windows install isn't where it thinks it should be...
 
Old 02-17-2006, 10:56 PM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by pljvaldez
QTparted of cfdisk can both safely resize partitions, but you should run them from a live CD like Knoppix, not from a filesystem that you are running linux on.

Not sure about moving the windows partition, but I bet it can be done. Or use dd or partition image to clone the image to the USB drive and then use grub to boot it from the first drive. You'll probably have to edit boot.ini to make up for the fact that the windows install isn't where it thinks it should be...
Thanks I'll give it a shot!

Whether dd can clone the partition properly without corrupting stuff was mostly what I was wondering about. But I've got a good way to find out - learned it from my Windows days - I call it "always keep a saved a copy and reboot if the damn thing doesn't work"
 
Old 02-17-2006, 11:04 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
External meaning USB ???. Could make life interesting.
Why not just use (Linux) ntfsresize to get back as much of the (internal) disk as possible ???.
Might save a lot of grief
 
Old 02-18-2006, 01:36 AM   #5
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by syg00
External meaning USB ???. Could make life interesting.
Why not just use (Linux) ntfsresize to get back as much of the (internal) disk as possible ???.
Might save a lot of grief
A couple of reasons:
1. I'd like to be able to just plug in and play my games on other PCs (most new PCs - mine included, obviously - can boot from USB)
2. I'd like to have space available to install new games and don't want to have to resize all the time.
3. I don't want to use Windows anyway so why not just have it physically removed from my computer except when I want it?
4. I'm not really using the drive for anything else right now (and I could always have multiple partitions on it if I wanted to) - and methinks getting Windows off my PC for good and being able to take my games with me is the perfect use for a 120GB external drive. I could also have other files on there too. Who knows - maybe I'll want to use it for Linux too and keep my 80GB and 20GB internal HDs open for things I won't ever need/want to take with me. Both partitions could have more space than they currently have on my 80GB.
 
Old 02-18-2006, 06:05 PM   #6
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Okay, I found my boot.ini - it looks like this:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
One problem: how do I find what partition my USB drive is in that format? Looks confusing as hell to me. I understand the partition part, and I think I understand the disk part, but what' multi and rdisk mean?
 
  


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
Resizing and moving partitions linmix Linux - Software 16 04-09-2005 09:08 AM
resizing and moving partitions DAChristen29 Linux - Newbie 4 10-18-2004 09:48 PM
Moving and resizing partitions slyman Linux - General 2 07-04-2004 08:02 PM
Moving & Resizing partitions...? Nu-Bee Linux - General 2 01-02-2003 10:38 AM
Moving And Resizing Partitions For Another Distro darkmage Linux - General 3 08-13-2002 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:07 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
Open Source Consulting | Domain Registration