View Poll Results: straight Bananas or bent?

Voters
3. You may not vote on this poll
  • straight

    1 33.33%
  • bent

    2 66.67%
Results 1 to 6 of 6

Thread: Repairing hard-drive partition with knoppix

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    4

    Repairing hard-drive partition with knoppix

    (Background -- read on if you like)
    Resulting from trying to re-partition a win 98 hard-drive, with PowerQuest -- to install a copy of Red Hat, the proccess screwed up and i was left with 'no' hard-drive -- lovely, NOT. PQ could offer no reasonable explaination, so it seemed i was stuck with trying to sort it myself --luckily it wasn't a pc that i desperatly needed to work; hense why risking a potentially hazardus linux install -- I didn't even get that far tho. Then i discovered Knoppix...

    I had been trying to run a linux OS, but i've now got the impression that i might be able to fix my hard drive too! When i ran Knoppix from disk it was sweet; it picked up all my hardware, and even the TWO hard-disk partitions (previously one before the mishap) -- very nice. However i still like the idea of running a win 98 system, so would like to distroy the new partition so the hd is just a single FAT32 as it was before, i.e so i can install win98, then Knoppix afterwards.

    prob --v

    I'm familiar with the DOS shell but not with BASH. I've tried looking at the KDE, but it's all a bit foriegn at the mo. Could someone advise me how i can reformat or destroy this new partition (It is a linux file format, which is why i am thinking my win system doesn't 'see' it and won't boot, i.e it is before the main partition on the disk; i'll check how to install Knoppix later). Simple would be nice, thanks.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    Re: Repairing hard-drive partition with knoppix

    Quote Originally Posted by egancs
    hense why risking a potentially hazardus linux install
    Sounds like PQ is the hazaardous material in this situation.

    I had been trying to run a linux OS, but i've now got the impression that i might be able to fix my hard drive too! When i ran Knoppix from disk it was sweet; it picked up all my hardware, and even the TWO hard-disk partitions (previously one before the mishap) -- very nice. However i still like the idea of running a win 98 system, so would like to distroy the new partition so the hd is just a single FAT32 as it was before, i.e so i can install win98, then Knoppix afterwards.

    prob --v

    I'm familiar with the DOS shell but not with BASH. I've tried looking at the KDE, but it's all a bit foriegn at the mo. Could someone advise me how i can reformat or destroy this new partition (It is a linux file format, which is why i am thinking my win system doesn't 'see' it and won't boot, i.e it is before the main partition on the disk; i'll check how to install Knoppix later). Simple would be nice, thanks.
    I would do this:

    dd if=/dev/zero of=/dev/hd? (replace the ? with your drive letter- hda I presume)

    That will write zeroes to the entire hard drive. You don't have to do that but it makes my life alot easier if I'm using a drive that has had different file systems on it. Then I would probably make a partition for win98 w/ DOS fdisk, install wimpdoze, boot Knoppix, run cfdisk (or qtparted if you like a GUI), make some Linux partitions and install. Oh and leave that PQ nonsense alone already!

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Repairing hard-drive partition with knoppix

    --Dear God man, you're telling the man to flame his entire hard drive when he could possibly be recovering his win98 partition!! Also, if you zero the entire /dev/hda you will have to do fdisk /mbr to fix it.

    --Egancs, when you install Linux it has to be AFTER windows on the same HD. You should be able to mount your win98 partition read-only with Knoppix right now and back up anything you need to.

    --This is how my rig looks from win98 fdisk:
    Code:
                              Display Partition Information
    
        Current fixed disk drive: 1
    
        Partition  Status   Type    Volume Label  Mbytes   System   Usage
         C: 1              PRI DOS   MX-P901-C     1600   FAT32       13%
            2         A    Non-DOS                   16                 %
            3              Non-DOS                    8                 %
            4              EXT DOS                10985               87%
    
        Total disk space is 12608 Mbytes (1 Mbyte = 1048576 bytes)
    
    
        The Extended DOS Partition contains Logical DOS Drives.
        Do you want to display the logical drive information (Y/N)......?[Y]
    =======
                          Display Logical DOS Drive Information
    
    Drv Volume Label  Mbytes  System  Usage
    D:  MX-P901-D      9005  FAT32      12%
    E:  MX-P901-E      1200  FAT32       2%
    --From Linux:
    /dev/hda1 is Win98
    - hda2 and 3 are boot partitions (Linux install /boot ((lilo)) and Knoppix live-cd boot image) - Note the active flag is on Lilo so I can dual-boot.
    - hda4 is Extended the rest of the disk
    -- hda5 is D:

    --For some reason Win98 doesn't see the other Linux partitions, but then again it doesn't have to.

    Quote Originally Posted by rickenbacherus
    Quote Originally Posted by egancs
    hense why risking a potentially hazardus linux install
    Sounds like PQ is the hazaardous material in this situation.

    I had been trying to run a linux OS, but i've now got the impression that i might be able to fix my hard drive too! When i ran Knoppix from disk it was sweet; it picked up all my hardware, and even the TWO hard-disk partitions (previously one before the mishap) -- very nice. However i still like the idea of running a win 98 system, so would like to distroy the new partition so the hd is just a single FAT32 as it was before, i.e so i can install win98, then Knoppix afterwards.

    prob --v

    I'm familiar with the DOS shell but not with BASH. I've tried looking at the KDE, but it's all a bit foriegn at the mo. Could someone advise me how i can reformat or destroy this new partition (It is a linux file format, which is why i am thinking my win system doesn't 'see' it and won't boot, i.e it is before the main partition on the disk; i'll check how to install Knoppix later). Simple would be nice, thanks.
    I would do this:

    dd if=/dev/zero of=/dev/hd? (replace the ? with your drive letter- hda I presume)

    That will write zeroes to the entire hard drive. You don't have to do that but it makes my life alot easier if I'm using a drive that has had different file systems on it. Then I would probably make a partition for win98 w/ DOS fdisk, install wimpdoze, boot Knoppix, run cfdisk (or qtparted if you like a GUI), make some Linux partitions and install. Oh and leave that PQ nonsense alone already!

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    Re: Repairing hard-drive partition with knoppix

    Quote Originally Posted by Dave_Bechtel
    --Dear God man, you're telling the man to flame his entire hard drive when he could possibly be recovering his win98 partition!! Also, if you zero the entire /dev/hda you will have to do fdisk /mbr to fix it.
    Well if you read the post again...

    Quote Originally Posted by egnacs
    so would like to distroy the new partition so the hd is just a single FAT32 as it was before, i.e so i can install win98, then Knoppix afterwards.
    I gave him the means to do exactly that. Also- as he has said that he is proficient w/ DOS I did not feel it necessary to re-educate him.

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    4
    ok . when i've some time i'll check this over. Just to make it clear ;) i had to use PQ since FIPS didn't work (and i was too lazy to find a reputable partitian maker to run from an active partition in $$$win 98). i've used PQ succesfuly before, however it screwed up while preparing the hdd for the boot loader, so I'm a bit more warey of letting anything mess with the boot sectors (i.e the part of the hhd that is accessable during boot-up, and the required location for the loader -- to spare the details:).

    I've heard of similar stories when imaging to a hard-disk also!

    here's the real prob tho!...

    i cannot access ANY of the hard drive with DOS -- they doesn't 'exist' under MS (ie. command.com). only knoppix has picked them up so far (even my PQ rescue disks were useless! be warned!!).

    The first partition is a linux partiti0n (with boot sectors on it), the SECOND is the 'C:\' partition which was moved over. I need to reformat the first partition (vipe it :) to a MS compatible file system (FAT32 preferably), and even better, then merge the two partitions. Hense returning to a single; FAT32, MS frienly (...puke...) partition. i.e. DESTROY!! (...the partition -- MS has uses still:)

    Since Knoppix can run from a CD-ROM, and i have a second CD drive, i don't even need a program that can change the partitions whilst running from an active one. I know NOTHING except 'ls' in BASH at the mo. I just thought linux might have a simple equivellent to (DOS) 'format'/'fdsk', or a good free/GNU disk management tool which i could use.

    danke, mucho gracias

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --Here's something to try...

    From win98 bootdisk:
    ' fdisk/mbr '

    --Then boot ' knoppix 2 ' and at the root prompt: ' activate /dev/hda 2 && reboot '. See if Win98 comes up. If it doesn't, you have nothing to lose, so do this from knoppix:

    ' fdisk /dev/hda '
    ' d ' == Del partition
    ' 2 ' == 2nd
    ' d ' == Del remaining partition; (1) is assumed
    ' v ' == Verify
    ' w ' == Write and exit

    --Then reboot to Win98 bootdisk, and fdisk + install from there.

    --Once you have it running, BACK IT UP... Then try reinstalling knoppix; or just run the "poor man's install" and you won't have to worry about repartitioning.

    --If you reinstall knoppix, leave win98 at the start of the disk and make the 2300Meg linux partition in an Extended (i.e. root will be hda5) and don't forget to make a swap partition.

    --At the end of my post there should be a "www" icon; click on it and you'll go to my linuxtips page. I've been told it's a good intro to the command line.

    Quote Originally Posted by egancs
    ok . when i've some time i'll check this over. Just to make it clear i had to use PQ since FIPS didn't work (and i was too lazy to find a reputable partitian maker to run from an active partition in $$$win 9. i've used PQ succesfuly before, however it screwed up while preparing the hdd for the boot loader, so I'm a bit more warey of letting anything mess with the boot sectors (i.e the part of the hhd that is accessable during boot-up, and the required location for the loader -- to spare the details.

    I've heard of similar stories when imaging to a hard-disk also!

    here's the real prob tho!...

    i cannot access ANY of the hard drive with DOS -- they doesn't 'exist' under MS (ie. command.com). only knoppix has picked them up so far (even my PQ rescue disks were useless! be warned!!).

    The first partition is a linux partiti0n (with boot sectors on it), the SECOND is the 'C:\' partition which was moved over. I need to reformat the first partition (vipe it to a MS compatible file system (FAT32 preferably), and even better, then merge the two partitions. Hense returning to a single; FAT32, MS frienly (...puke...) partition. i.e. DESTROY!! (...the partition -- MS has uses still

    Since Knoppix can run from a CD-ROM, and i have a second CD drive, i don't even need a program that can change the partitions whilst running from an active one. I know NOTHING except 'ls' in BASH at the mo. I just thought linux might have a simple equivellent to (DOS) 'format'/'fdsk', or a good free/GNU disk management tool which i could use.

    danke, mucho gracias

Similar Threads

  1. Knoppix 3.8.1 partition table/hard drive access problem
    By pestie in forum Hardware & Booting
    Replies: 2
    Last Post: 04-24-2005, 11:10 PM
  2. hard drive partition problem
    By splittik in forum General Support
    Replies: 2
    Last Post: 04-08-2005, 04:19 PM
  3. Multiple knoppix in the same hard drive partition
    By lulu in forum Customising & Remastering
    Replies: 0
    Last Post: 11-29-2004, 12:52 PM
  4. Repairing of corrupt partition table
    By NormanBates in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 08-21-2004, 06:46 AM
  5. hard drive partition required to run knoppix w/o live-cd?
    By ishaim in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 07-27-2004, 10:01 AM

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 R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$267.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$226.00



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



HP ProLiant DL380 Gen9 2U Server 24 BAY 2.5

HP ProLiant DL380 Gen9 2U Server 24 BAY 2.5" Xeon E5-2680 v4 64GB RAM H240ar

$159.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge Server R710- (2) Intel Xeon 2.4Ghz- 4 cores- 16 1gb ports picture

Dell PowerEdge Server R710- (2) Intel Xeon 2.4Ghz- 4 cores- 16 1gb ports

$136.89



HP ProLiant ML350 Gen9 Server picture

HP ProLiant ML350 Gen9 Server

$112.49



Dell Poweredge R730xd 2.5in 2x E5-2680 v3 2.5ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2680 v3 2.5ghz 24-Cores 64gb H730 2x 750w

$279.99