View Poll Results: straight Bananas or bent?
- Voters
- 3. You may not vote on this poll
-
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.
-
Senior Member
registered user
Re: Repairing hard-drive partition with knoppix
![Quote](images/misc/quote_icon.png)
Originally Posted by
egancs
hense why risking a potentially hazardus linux install
Sounds like PQ is the hazaardous material in this situation. ![Smile](images/smilies/icon_smile.gif)
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!
-
Senior Member
registered user
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](images/misc/quote_icon.png)
Originally Posted by
rickenbacherus
![Quote](images/misc/quote_icon.png)
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!
![Smile](images/smilies/icon_smile.gif)
-
Senior Member
registered user
Re: Repairing hard-drive partition with knoppix
![Quote](images/misc/quote_icon.png)
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](images/misc/quote_icon.png)
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.
-
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
-
Senior Member
registered user
--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](images/misc/quote_icon.png)
Originally Posted by
egancs
ok . when i've some time i'll check this over. Just to make it clear
![Wink](images/smilies/icon_wink.gif)
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
![Cool](images/smilies/icon_cool.gif)
. 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
![Smile](images/smilies/icon_smile.gif)
.
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
![Smile](images/smilies/icon_smile.gif)
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
-
By pestie in forum Hardware & Booting
Replies: 2
Last Post: 04-24-2005, 11:10 PM
-
By splittik in forum General Support
Replies: 2
Last Post: 04-08-2005, 04:19 PM
-
By lulu in forum Customising & Remastering
Replies: 0
Last Post: 11-29-2004, 12:52 PM
-
By NormanBates in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 08-21-2004, 06:46 AM
-
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
-
Forum Rules
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/g/vx0AAOSwvwFlExVY/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/g/GAcAAOSw9Q1mGSZW/s-l225/Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/g/ZD0AAOSwm41mOZYw/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture](/store/img/g/Fk4AAOSwDDplpAyL/s-l225/Dell-PowerEdge-R620-Server-2x-E5-2660-v2-2-2GHz-20.jpg)
Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD
$139.99
![Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD picture](/store/img/g/JzAAAOSwxLZmKS26/s-l225/Dell-Poweredge-R730xd-12-Bay-LFF-2x-SFF-2x-E5-2680.jpg)
Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD
$219.99
![Dell 2950 (2950III) Server picture](/store/img/g/VPUAAOSwXBlmhwyL/s-l225/Dell-2950-2950III-Server.jpg)
Dell 2950 (2950III) Server
$100.00
![Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD  picture](/store/img/g/yAwAAOSwdyNlgQ8d/s-l225/Dell-PowerEdge-R720xd-26HDD-300gb-2-5-inch-E5-2697.jpg)
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
![DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture](/store/img/g/1hMAAOSw8hVl8bKq/s-l225/DELL-PowerEdge-R430-8SFF-2x-E5-2680v4-2-4GHz-28-Co.jpg)
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$226.00
![DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45 picture](/store/img/g/O2MAAOSwRtNkh97Y/s-l225/DELL-PowerEdge-R730-Server-2x-E5-2680v3-2-5GHz-24-.jpg)
DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45
$345.00
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/g/CdkAAOSwY0BmYMoF/s-l225/Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99