Disk Partition Stuff

This is a discussion on Disk Partition Stuff within the Tech Board forums, part of the Community Boards category; Hi all, I have a year-and-a-half old laptop that came with Vista on it. Last Summer I got curious and ...

  1. #1
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902

    Disk Partition Stuff

    Hi all,
    I have a year-and-a-half old laptop that came with Vista on it. Last Summer I got curious and installed Ubuntu. I put it on a 10 GB partition at the front end of my hard drive. The original Vista partition is right after it (I guess it was moved when I installed Ubuntu -- I don't remember). The Vista partition is about 110GB, and then there's about 1MB of free space floating around.

    I would like to shrink my Vista partition down about 20GB, since I have 40 of it free, and extend that into my Ubuntu partition. That would involve shrinking Vista, moving Vista, and then expanding Ubuntu. The problem is, Vista's partition manager won't shrink Vista down more than 1GB. Also, Vista's partition manager doesn't like the Ubuntu partition (can't read it). Gparted can't operate on the Vista partition (it's NTSF).

    Aaaanyway. How can I do what I want to do?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  2. #2
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    You could try another partition editor like Partition Magic (if it's compatible with Vista NTFS).
    Another thing you could do is back up the Vista partition, delete it and create a smaller partition, then restore to the smaller partition.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  3. #3
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    Yes, I'd have to get a newer version of Partition Magic. Don't want to spend! The second option looks interesting. I would just need to be assured two things: 1. I'd be able to expand the Ubuntu partition (i.e. GRUB would still work), and 2. I'd be able to get Vista back on (i.e. the backup method would work). I don't know very much about these things.
    I'll look into the backup/delete idea. Thanks.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  4. #4
    Registered User
    Join Date
    Dec 2008
    Location
    Black River
    Posts
    128
    EASEUS offers a free partition manager for download (As far as I remember, though, it only worked for 32-bit Vista)

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    Windows partitioning support is pathetic to say the least. And it is largely incompatible with PartitionMagic. So my advice is usually: avoid Windows partitioning tools like the plague.
    Now, there are several other tools available, including some for Linux, I would believe.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    And we begin our journey down the rabbit hole.

    So, I ran EASUES (lovely program), and after a reboot and some scanning, it told me that I have errors on my disk. So, I ran scandisk. It runs in "DOS" after a reboot. After getting 75% through step 5 of 5, "verifying free space", it hangs. I'm aware of this problem, and so I hit Google, but all of the information I could find was ooold. So now I'm downloading "Ultimate Boot CD" which hopefully I will use to check for errors on my drive. All I need to do is fix whatever EASUES doesn't like. Still, I suspect something more sinister may be afoot.

    Does anybody have further insight into this Vista-hangs-chkdsk thing?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  7. #7
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    It seems that the last chkdsk corrupted my partition. Now WIndows won't boot, and the "startup repair" stopped working months ago (just closes immediately). Time for Vista's recovery disk....
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  8. #8
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    Well, for anyone who's interested, I managed to do what I set out to do.

    Lessons leaned?

    1. CD-bootable operating systems are very useful, easy to use and powerful.
    2. Microsoft's online live chat support is terrible, time-consuming and ineffective.

    Conclusion?

    Make sure you're done with exams before doing trivial things like moving partitions.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  9. #9
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    That's good to know, since I'll have to wipe out my OS partition, change it to RAID 5 and restore it pretty soon. I'll burn an Ultimate Boot CD before I attempt it.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  10. #10
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    Actually, it was Vista's recovery CD that saved the system, and a LiveCD of Gparted that moved it all around. But the diagnostics on Ultimate Boot are indispensable.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  11. #11
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    I like to have two operating systems installed. Further, I like to install boot loaders on all my hard drives, in case on should fail.
    Only problem is that XP is dependant on the order of the boot order in BIOS.
    Well, it has worked somewhat well so far.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > Only problem is that XP is dependant on the order of the boot order in BIOS.
    No it isn't, why do so many people think that?!

    What I do:

    1) Install Linux
    2) Make a new parition for Windows
    3) Install Windows to that partition (makes no difference whether it's first or not) -- just make sure when you're installing it the Windows partition has the boot flag or else the paths get messed up (ie no C:\)
    4) Give my /boot partition the boot flag
    5) Chainload XP

    Of course step 1 & 2 are interchangable.
    Last edited by zacs7; 12-19-2008 at 05:22 AM.

  13. #13
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    Quote Originally Posted by zacs7 View Post
    > Only problem is that XP is dependant on the order of the boot order in BIOS.
    No it isn't, why do so many people think that?!
    Because I witnessed it myself.
    I had to go in and change boot.ini for every hard drive I booted from, to change what drive number it should boot from.
    And here's the crux: that "number" was the number in the boot list.

    So if the hard drive having XP was 3rd in the boot list, I had to put a 2 there (since XP counts from 0, not 1).
    Otherwise it wouldn't boot.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    You could always put the XP bootloader on the primary disk (maybe a small ~5mb partition at the front). Or you can chainload... using the power of grub or lilo (pfft )

  15. #15
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    I put the Vista bootloader (or XP) on all hard drives to minimize the risk.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. parition magic "BAD" partition
    By valis in forum Tech Board
    Replies: 5
    Last Post: 05-23-2006, 01:05 PM
  2. disk file search algorithm
    By rwmarsh in forum C++ Programming
    Replies: 5
    Last Post: 02-12-2006, 10:46 AM
  3. Opening Disk Partition
    By cfrost in forum Windows Programming
    Replies: 5
    Last Post: 11-19-2005, 08:57 PM
  4. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-13-2002, 11:50 PM
  5. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 01:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21