LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2004, 10:24 AM   #1
dbzw
Member
 
Registered: Feb 2004
Distribution: FoX Desktop (Based on Fedora Core)
Posts: 70

Rep: Reputation: 15
Partitioning Windows Drive!!!!


Hi,

I wanted to install Lycoris Linux on my computer, so I resized my windows partition in the program they provided. However, now I can't access windows. It shows the "windows logo" for about a sec, and it restarts! So, I undid the resize (deleted the linux partition, resized the windows partition to its regualr size) and it works. So I thought about using Mandrake's simple partition resize program, but it had some errors (something like it was corrupt). I can go on with windows, but I want to try Linux as well!

Thank you in advance
 
Old 04-11-2004, 02:06 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
I know this won't directly solve your problem, but have you tried Knoppix? You won't have to bother with partitions and you can see what Linux is all about. That might help, unfortunately I can't help you too much with the partitioning, I just used Partition Magic.
 
Old 04-11-2004, 06:44 PM   #3
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
I agree
If you use PM just for resizing your Windows partition, and not for formatting the newly freed-up space, Windows should be just fine. (I only say that because sometimes PM's "linux formatting", i.e. ext3, isn't the most reliable thing in the world; it crashed my computer quite nicely the one time I tried it.)

cool,
Laura
 
Old 04-12-2004, 11:13 AM   #4
dbzw
Member
 
Registered: Feb 2004
Distribution: FoX Desktop (Based on Fedora Core)
Posts: 70

Original Poster
Rep: Reputation: 15
thanks guys for your reply

i've tried a couple of distros already (Mandrake and Red Hat)

i also got Partition Magic
 
Old 04-13-2004, 07:22 AM   #5
blampain
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
resizing windows xp

My experience:
Got a computer with xp installed on a 20Gig drive, a few attempts to use some of the space to use Linux failed. The hard drive died after about a year and I replaced it with the smaller drive available, a 40Gig drive.

Really got frustrated that I was still unable to use some of the drive for Linux since I only need windows for satellite internet.

I tried the following solutions:
1) wipe off XP (home) and repartition the drive with Linux then reinstalled XP in a 8Gig partitions, this neatly repossessed the full drive and Linux was gone.

2)tried to resize the installed XP with Mandrake 9, despite some reports of
Mandrake able to shrink the XP partition I found no way of doing a resize
with it that would not wipe out XP.

3)reinstalled XP taking the full 40 Gig, I had Linux installed on a second, older drive (hdb) which is too small (3Gig) and too slow.

By then I had tried another few tricks that didn't work and I found that
the problem could be solved with "qtparted".

This is a Linux program and therefore you need a second drive for it to work since XP takes the full drive regardless of what you do. But an older drive or any drive you can borrow will do.

I installed "qtparted" on the Linux drive, ran it and there it is, it took a few minutes to read the screen and understand the options and 1 second to cut xp down to size. I rebooted windows XP and it worked fine except for a minor unexpected result, the XP resolution was changed (easy fixed).

I've read a few posts of people having the same problem and having to contemplate purchasing proprietary partition manager which is only a bit cheaper than buying a second drive anyway.

Enter the keyword "qtparted" in your search engine and you will get a fair
bit of info, reviews and download sources and not much unwanted stuff.

Hope this can help.

My experience (part 2, the details)
(this is only valid if your XP is installed on hda2, adjust if required, hda1 is the hidden diagnostic partition which is left completely untouched)

-download "qtparted" (the version containing "ntfsprogs...")
-this is an RPM that will install in /usr/sbin
-from there run "./ntfsresize" for info or
"./ntfsresize -i /dev/hda2" this will calculate minimum hda2 partition size
-make a note of the result
-then run "./ntfsresize -s xxG /dev/hda2" this will resize the XP partition (xxG should not be smaller than the resulting size from previous step)
-we're then presented the option to "commit" which really makes the
changes
-here we can disconnect and remove our second drive
-reboot XP, windows will detect the changes and run a disk check and will
then reboot
-check it up till we're satisfied everything's OK (cdrive - properties etc)
-here I found I had to locate a version of linux that uses the old linux fdisk,
RedHat9 doesn't, so I used RedHat8
-reboot from the RH8 install disk untill we get to the fdisk partitionning step
-delete hda2 which is the last partition on the drive
-create new partition starting exactly at the same location than the deleted one (yes this is our XP partition)
-make sure to allocate an "end" so that the new partition is not smaller than the size we've taken note earlier
-make sure the type is NTFS (7)
-make sure it is bootable (a)
-from then on, define the other partitions we want for linux, when we finished write changes to disk (w)
-press the back button untill we're back to the beginning of the install
-remove our installation medium
-insert the RedHat 9 cd and install from there
-reboot a few times in both Linux and XP, everything is fine, both are now on the same drive.

The same could probably be achieved without a second drive if you manage
to have linux on a floppy with "qtparted" installed on the floppy or if you manage to build a cd.

Last edited by blampain; 04-14-2004 at 02:37 AM.
 
Old 09-02-2004, 06:46 PM   #6
jpgillivan
LQ Newbie
 
Registered: Aug 2004
Location: oh
Distribution: Mandrake 10
Posts: 22

Rep: Reputation: 15
Boot with the Windows CD and select the recovery console, at the command prompt type "fixmbr" to repair the master boot record. This should allow you to reboot into windows. I installed Mandrake 10 and it resized NTFS and installed fine and both OS's work.
 
  


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
mount windows hard drive without partitioning ultrashawn Linux - Hardware 1 04-09-2005 07:19 AM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM
Partitioning an all Windows hard drive GoDiddly Linux - Newbie 8 11-30-2003 03:40 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM
Partitioning new drive ander45 Linux - Software 1 02-09-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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