Results 1 to 4 of 4

Thread: Trying to Resize Windows Filesystem for Knoppix/DEB Install

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    9

    Trying to Resize Windows Filesystem for Knoppix/DEB Install

    Hello:

    I am trying to use the Knoppix 3.9 CD to resize a 360 GB drive of Dell P4 Dual Processor Machine.

    The Knoppix CD works fine and finds all devices. It works!

    But when I use QTPARTED or fdisk or cfdisk, the hard drive cannot be found. They all show nothing, no partitions, nothing.

    One message I get from fdisk is "you will not be able to write to the partition table. sector size is 2048 (not 512). device contains neither valid partition table nor Sun, SGI, or OSF.

    This isn't Knoppix' fault. But, what is happening here. This is a brand new machine, and windows is running on the partition. But nothing shows up with the Knoppix CD.

    Please help me find a workaround.

    Regards,

    Angelo

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Practically all of the time the first IDE HD is hda. These days with SATA IDE chipsets & drives, the first drive may be sda.

    The results of this command should indicate how the HD is identified by the kernel:
    Code:
    dmesg | grep -i hd
    and
    Code:
    dmesg | grep -i ide
    . I have a feeling that the fdisk programs & qtparted only search for devices under /dev/hd and not /dev/sd.

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    9
    Hello:

    This was an excellent suggestion. It is an sda hard drive.

    Can you help me to resize this hard drive in order to install knoppix? Here is the information after using cfdisk /dev/sda:

    sda1 primary Dell Utility 49.46 (MB)
    sda2 boot primary NTFS 396548.98 (MB)
    sda3 promary CP/M/CTOS 3487.52(MB)

    I want to resize /dev/sda2 and use the freed space to create a partition for installing Knoppix/Debian.

    I DO NOT WANT to delete sda1 sda3 because, I think that Windows startup will look for these partitions. Something similar is on the IBM ThinkPads, and I ran into trouble when I deleted a partition like sda3.

    Can you give guidance? What will the new partition be called ... sda4 ... than gives me the limit I can have. Please give me some advice on this.

    Kind regards,

    Angelo

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote Originally Posted by rossi
    I DO NOT WANT to delete sda1 sda3 because, I think that Windows startup will look for these partitions. Something similar is on the IBM ThinkPads, and I ran into trouble when I deleted a partition like sda3.
    I know it is possible to shrink NTFS partitions.

    Whenever NTFS resizing is mentioned & since I don't know the skill level of people reading my words, I tend to follow through with a warning.
    WARNING! There is ALWAYS some risk of losing data. Please ALWAYS make sure that you have a working backup of your important data prior to experimenting with ANY new software, no matter if Windows, Linux or anything else.

    So you have this:
    Code:
    ----------------------------------------------------
    | sda1 primary Dell Utility 49.46 (MB)             |
    |--------------------------------------------------|
    | sda2 boot primary NTFS 396548.98 (MB)            |
    |--------------------------------------------------|
    | sda3 primary CP/M/CTOS 3487.52(MB)               |
    |--------------------------------------------------|
    And you want something like this:
    Code:
    ----------------------------------------------------
    | sda1 primary Dell Utility 49.46 (MB)             |
    |--------------------------------------------------|
    | sda2 boot primary NTFS 286548.98 (MB)            |
    |--------------------------------------------------|
    | sda3 primary CP/M/CTOS 3487.52(MB)               |
    |--------------------------------------------------|
    | sda5 primary Linux ext3fs 10240(MB)              |
    |--------------------------------------------------|
    | sda6 primary Linux swap  1024(MB)                |
    |--------------------------------------------------|
    It should be possible to shrink a NTFS partition in the middle of a drive that is sandwiched by two other partitions. I do not know if it is possible to then take the free space in the middle of a drive and then create partitions from it at the end of a drive. Since a drive lays its partitions down in a line (linearlly), this would require a couple steps.

    - shrink ntfs partition.
    - move (effectivly expand & then shrink) the sda3 partition across the freed space until it meets the boundry of the NTFS partition.
    - then create Linux partitions in the freed space

    Maybe linu/knoppix can do it. I don't know. The only thing I can suggest is to perhaps experiment on another drive & see if it works. Or investigate third party partitioning software like Partition Magic.
    I wish you success.
    James

Similar Threads

  1. Resize Windows 2003 Server C:
    By srice in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 10-29-2009, 08:17 AM
  2. how to install. new to filesystem
    By pyromaniac in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 12-02-2006, 08:26 PM
  3. Lost XP Parition on Resize in Knoppix 4.0.2: What happened?
    By ajwreinhardt in forum MS Windows & New to Linux
    Replies: 14
    Last Post: 06-21-2006, 07:05 PM
  4. Install as RO filesystem
    By als in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-08-2005, 03:09 AM
  5. Impossible to move or resize windows
    By paoloskater in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-27-2005, 03:41 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
  •  


Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



Seagate 10TB 7200RPM 12Gbps 3.5in SAS Hard Drive ST10000NM096 picture

Seagate 10TB 7200RPM 12Gbps 3.5in SAS Hard Drive ST10000NM096

$79.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



Dell ST2000NX0403 2T SATA 2.5 inch 7.2K CK3MN server hard drive picture

Dell ST2000NX0403 2T SATA 2.5 inch 7.2K CK3MN server hard drive

$45.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$79.99



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$93.88



Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive

$99.99



SEAGATE ST4000NM0023 HARD DRIVE 3.5

SEAGATE ST4000NM0023 HARD DRIVE 3.5" SAS 4TB HDD

$16.99



Western Digital WD10JUCT 1TB 2.5

Western Digital WD10JUCT 1TB 2.5" SATA 3Gb/s 5400 RPM 16MB Laptop Hard Drive

$17.98



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.94