LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-14-2005, 11:38 AM   #1
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Rep: Reputation: 15
Partitioning Free Space


Hi all, i have a new computer and want to put debian on it along side windows xp. It has the one hard drive with xp already installed with no partitions. My question is can i partition the free space on the hard drive without effecting the data that is already there ie windows installation?

Really i would like a partition for the linux installation, a vfat partition for other data and then the rest for the windows installation already there!

- Tom
 
Old 02-14-2005, 11:54 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
It's possible, but risky.
I take it Xp takes up the whole drive. (If not, forget what I said and partition the empty space during installation)
That means you will have to resize the XP partition and that is possible, but risky business, so whatever you do, make a backup first. Also, run defrag in windows before doing any partition resizing. There are plenty of posts about like for example http://www.linuxquestions.org/questi...e+partition+XP
 
Old 02-14-2005, 11:58 AM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
I'd attempt to do the resize from windows, by using partition magic or something like that, maybe there is a tool in admin section of the control panel, been a long time since i've booted in my windows partition. It's probably also possible, although more risky, to attempt to do this with the debian boot cd, but i wouldn't trust debian, it might kill windows, and viceversa, windows ALWAYS kills debian when partitioning. Good luck.
 
Old 02-14-2005, 01:29 PM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
You should do like bobbens said. I did the same thing a while ago. Use PartitionMagic from Windows to create at least 3 (more) partitions: one for /, one for swap and one for /home. Don't forget to specify the filesystem as ext2/3 and swap. Then, the Debian installer should automatically present you the option of installing on the newly created partitions (of course, it'll want to format them, which is ok).
 
Old 02-14-2005, 01:43 PM   #5
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Actually the debian installer is pretty good at making partitions, as long as you leave the free space ahead of time, i always do it this way, because i trust debian more at making it's own partitions then partition magic. BTW, partition magic won't work again once you have linux up and running it gets hdd errors (or at least mine did), but once you have linux working, NEVER use windows to partition (unless it's an external empy hard drive), it ends up in pain and suffering.
 
Old 02-14-2005, 03:42 PM   #6
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
Ok i've taken everyones advice and have managed to do what i wanted. I used partition magic in the end to resize my original windows partition by half without loosing any data! Then I split the remaining space into two more partitions, a FAT32 for data and the rest ready for my linux installation.

I'm hoping to use the FAT32 partition in both windows and linux so i can access files like music, media etc in both os's.

Thanks for the info, it helped.
- Tom
 
Old 02-15-2005, 01:42 AM   #7
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Well done then. Fat32 partition can be used without any problems by Linux (and, duh, Windows).

Yes, I get the same errors when running PMagic from Window$. It always says that LBA doesn't match the CHS and it wants to fix it. Don't do that under any circumstances.
 
Old 02-16-2005, 04:02 AM   #8
Mohtek
Member
 
Registered: Dec 2004
Location: Colorado
Distribution: Kubuntu/Debian/Centos
Posts: 126

Rep: Reputation: 15
The ? is answered, but I will still chime in...

I have used the knoppix CD's and qtparted to resize NTFS paritions without damaging windows. I have used it on 4 computers and 1 laptop without any harm. There are a few key advantages to this approach:

1. It is a free solution.
2. Knoppix runs without mounting your hard drive
3. It is a Linux solution to a Linux issue (Hey, you're learning a new Linux app as well!)

If you don't have Knoppix, Knoppix-std or Memphis, you gotta get a copy. for situations like this...and many others, its best to have a "swis army knife" OS found in a live-CD.

Last edited by Mohtek; 02-16-2005 at 04:54 AM.
 
Old 02-16-2005, 04:28 AM   #9
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Yeah, it's one thing you'll never be able to do it in the other way: from Window$ to Linux.
 
Old 02-16-2005, 07:23 AM   #10
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I've tried to use knoppix, but it wouldn't run on my PC. I suppose it's a driver related issue (nForce chipset). Does anyone know how to get it running, cos I hope to be dumping windows soon and to resize my existing linux partitions?
 
Old 02-16-2005, 07:37 AM   #11
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
There's no reason to assume Knoppix won't run with nForce as it's a very common chipset. Did you set your CDrom drive to be bootable in your BIOS?
 
Old 02-16-2005, 09:09 AM   #12
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
I've gotten knoppix running on my computer that has an nforce2 chipset plus a radeon in agp. Just set boot order in the bios to 1. Floppy, 2. CD-ROM, 3. IDE 0. Then it should work. It'll asp for boot and type linux26 to get it running. It detects everything really well, i've had no problems so far.
 
Old 02-17-2005, 07:49 AM   #13
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I had my BIOS set correctly. Knoppix was detected and boot was started. I got a progression bar, and when I got to the end of it, the PC rebooted. Tried it twice witht the same result. I'll try 'linux26' though. What does it stand for?
 
Old 02-17-2005, 08:14 AM   #14
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Means that it will start Knoppix using a 2.6 kernel instead of the default, 2.4, one. Yet I heard (and it happened to me too) that it's a bit more unstable running this way. You can expect freezings or something else like that.
 
Old 02-18-2005, 04:30 AM   #15
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
tried it, but I get an erro starting the xserver and it logs off. Need to try again with 2.4 krnel, just in case
 
  


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
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Partitioning a drive for spare free space...SuSE 9.0 Thaidog Linux - Newbie 1 08-16-2004 10:30 AM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

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

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