Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: installing 5.0 on ntfs partition using qtparted?

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    installing 5.0 on ntfs partition using qtparted?

    OK, I just broke down and got myself a new linux box (Dell Dimension 310 with PIV 3Ghz, 1GB RAM, 1280x1024 flat panel and 160GB hdd). The problem is its an XP box right now and I want to install a dual boot on the hdd with the KNOPPIX 5.0.1CD.

    Well, I booted the CD and ran qtparted and found the following partitions (info from df in root shell):
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/root 2471 25 2446 2% /
    /ramdisk 809556 6340 803216 1% /ramdisk
    /UNIONFS 2801220 1998004 803216 72% /UNIONFS
    /dev/hda 712926 712926 0 100% /cdrom
    /dev/cloop 1991664 1991664 0 100% /KNOPPIX
    /dev/sda1 40034 7852 32182 20% /media/sda1
    /dev/sda2 113860684 8084728 105775956 8% /media/sda2
    /dev/sda3 38210600 67208 38143392 1% /media/sda3
    /dev/sda4 4128652 3892716 235936 95% /media/sda4


    Wow, now that's weird. I usually find FAT32 installed on one partition with maybe one rescue partition. Here we have a rescue partition in sda1 with FAT16 39MB, a primary partition sda2 with ntfs 108GB, some kind of backup partition sda3 with ntfs 36GB and a restore partition sda4 with FAT32 3.9GB. Also, the primary hdd is usually hda1 and the cdrom drive is usually sda, but here its reversed!

    Can I just resize sda2 as I would normally (hda2 with FAT32)? In other words, can qtparted handle resizing ntfs?

    TIA,
    AJG

  2. #2
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    AJG, gparted is a much better choice. You can either download the gparted LiveCD or get the latest Kanotix LiveCD (Kanotix-2006-01-RC4) that includes not only gparted but also additional useful tools such ntfs-3g.

    Re-partitioning your drive may be somewhat difficult because it looks like it holds four primary partitions. Please post the output of
    Code:
    sudo fdisk -l
    so I can take a closer look at it.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205

    Re: installing 5.0 on ntfs partition using qtparted?

    Quote Originally Posted by A. Jorge Garcia
    Can I just resize sda2 as I would normally (hda2 with FAT32)? In other words, can qtparted handle resizing ntfs?
    I don't know about qtparted, but GParted LiveCD (~30MB) can resize NTFS partitions.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Wow, guys, thanx for all the input!

    OK, I'm not on that box right now so I'll send you the fdisk -l output from the root shell later.

    In the meantime, I just have a question about gparted: gparted comes as its own liveCD and as a utility on the latest KANOTIX liveCD? Well, maybe I should just burn the KANOTIX liveCD and install from there? Also, gparted is safe for resizing ntfs partitions and qtparted is not?

    BTW, there are 4 partitions, but only sda2 is active (ie: it boots from there).

    Regards,
    AJG

  5. #5
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    Kanotix includes the latest version of gparted:
    Code:
    einfach@D1607:~$ apt-cache policy gparted
    gparted:
      Installed: 0.3.1+cvs20060928-0+c0.kanotix.1
      Candidate: 0.3.1+cvs20060928-0+c0.kanotix.1
      Version table:
     *** 0.3.1+cvs20060928-0+c0.kanotix.1 0
            500 http://kanotix.com sid/main Packages
            100 /var/lib/dpkg/status
         0.2.5-2 0
            500 http://ftp.de.debian.org unstable/main Packages
            200 http://ftp.de.debian.org testing/main Packages
    You can resize NTFS partitions safely, but you first have to run a windows defragmentation tool.

    By the way, Kanotix also includes kernel 2.6.18 and compiz.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, here's the sudo fdisk -l output:

    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 5 40131 de Dell Utility
    /dev/sda2 * 6 14180 113860687+ 7 HPFS/NTFS
    /dev/sda3 14181 18937 38210602+ 7 HPFS/NTFS
    /dev/sda4 18938 19452 4136737+ db CP/M / CTOS / ...

    OK, so qtparted is not safe on ntfs? There's nothing like gparted on the KNOPPIX 5.0 CD I guess. BTW, this is a newly installed wimpdoze box straight out of the Dell factory, so defrag is likely unnecessary.

    Regards,
    AJG

  7. #7
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    AJG, gparted is the right kind of tool for this, and defragmentation is a necessary precaution.

    But the current partition layout is really unfavorable as there are already four primary partitions. If you were to shrink sda2, the only way to create another partition would be to convert sda2 into an extended partition holding two logical drives sda5 and sda6. This isn't advisable, though, because Windows requires an active primary partition for its bootloader.

    What about "resizing" sda3 instead? There's no bootflag, so you could convert it into an extended partition and create several logical drives within it. Even better, you could do the re-partitioning with windows disk manager:
    1. Delete primary partition sda3.
    2. Create new extended partition sda3 in it's place.
    3. Create several logical drives within sda3 and format them with FAT32.
    4. Boot computer off the Knoppix LiveCD and re-format future root partition with qtparted (ext2).
    5. Run rebuildfstab and install Knoppix.

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, I've used qtparted to resize the active windows partition in wierd cases similar to this.

    My new computer science classroom/lab at school had 2 wimpdoze partitions on each of the 25 Dell PCs. In this case, however, hda2 was a FAT16 win95 rescue partition and hda1 was the active winXP FAT32 partiton. I simply used qtparted to resize the FAT32 partition from 40GB to 20GB. Then, from the freed up hdd space, I made hda3 an ext2 partition with about 19.5GB and and hda4 with 512MB for a linuxswap.

    I thought I could something similar here, the only catch being the ntfs file format....

    BTW, I haven't used any wimpdoze utilities in over 10 years now so I wouldn't know where to start with that. Like I tell my students: "I don't do windows! Its too messy, they don't pay me enough, I always leave streaks and suds...."

    Anyway, personally I would do exactly as you say as I don't care one bit about the wimpdoze partition. However, my better half has to use winXP. Also, this is a brand new Dell under warranty with all these new bells and whistles for diagnosing problems remotely from the Dell online resource center, so I can't just kill what's in sda3/sda4....

    If I simply resize sda2 could I create an sda5 partition for KNOPPIX or KANOTIX to boot from grub? Also, is it sda because its a SATA drive? What's special about SATA? Is there a problem with SATA and KNOPPIX I should know about?

    Frustrated,
    AJG

  9. #9
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    AJG, you cannot simply create another partition because there are already four primary partitions, which is the limit for IBM compatible systems. You also cannot simply "convert" sda2 into an extended partition with two logical drives because Windows needs to start from a bootable primary partition. That's why I suggested to delete sda3 instead and use the freed up space to create an extended partition that you can then populate with as many logical drives as you like.

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, OK, I get it! So, I'll destroy sda3 and sda4, resize sda2 and recreate sda3 as ext2 and sda4 as swap.

    I guess we'll have to live without the wimpdoze rescue junk.... I can live without that, but I can't live without linux on my PC!

    Sounds like a plan?

    Thanx for your help,
    AJG

Page 1 of 3 123 LastLast

Similar Threads

  1. qtparted, cfdisk and resizing ntfs
    By rmart0729 in forum MS Windows & New to Linux
    Replies: 9
    Last Post: 06-15-2006, 02:39 PM
  2. Qtparted and Ntfs
    By mickcaine in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 11-24-2005, 05:59 PM
  3. About the partition created by QTPARTED
    By quit5 in forum General Support
    Replies: 2
    Last Post: 08-17-2005, 03:23 PM
  4. Using qtparted to resize a NTFS partition
    By eadz in forum MS Windows & New to Linux
    Replies: 12
    Last Post: 02-22-2004, 11:34 AM
  5. NTFS resize of my only partition safe w/ qtparted?
    By FlorianK in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 11-24-2003, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping picture

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping

$34.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER  RDS CAL SEALED picture

WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED

$119.18



Windows Server 2025 Standard/Datacenter 64Bit 16/24 Core-Unlimited CALs With Key picture

Windows Server 2025 Standard/Datacenter 64Bit 16/24 Core-Unlimited CALs With Key

$218.95