-
Repair partition with Knoppix?
I am using Knoppix to try to recover my data on my PC that has Windows 98SE installed (but will not boot into Windows). I have been able to boot completely into Knoppix numerous times using the CD, and I have been able to recover almost all of the data I want (copied it to another drive).
I have a bit more data to recover, but now the machine seems to "hang" while booting (though sometimes it boots normally in Knoppix.)... what would cause it to hang? It appears that the present drive has a bad partition (which I plan to fdisk when I get all of the data I need). Can knoppix repair the main hard drive partition?
when it is running the following boot/hardware detection command, it hangs (freezes):
"Scanning for Harddisk partitions and creating /etc/fstab..."
any ideas what I can do?
Howie
-
Senior Member
registered user
boot knoppix with the cheatcode:
knoppix nofstab
It will not generate a fstab. This means that knoppix will not automatically mount the C: drive/hda1 partition when you click the icon on the desktop. This means that you will have to manually mount it.
I boot with Knoppix 3.9 with the cheat code:I open a konsole command window. I make sure that hda1 folder in /mnt exists:If it does not, I make it:
Code:
sudo mkdir /mnt/hda1
I mount the hda1 (C: drive)
Code:
sudo mount -t vfat -o ro,users /dev/hda1 /mnt/hda1
I assume that hdb1 is your D: drive. I make sure that hdb1 folder in /mnt exists:If it does not, I make it:
Code:
sudo mkdir /mnt/hdb1
I mount the hdb1 (D: drive)
Code:
sudo mount -t vfat -o users /dev/hdb1 /mnt/hdb1
Next I open up the GUI file manager.Once that comes up, in the location bar, I type: Now I see the hda1 (C: drive) contents & I navigate to the data I want to save. Then hit the keys CTRL-T to open a new tabbed window. Then in that location bar type: Now I see the D: drive & just like in windows explorer, select the file & folders you want to copy, CTRL-C or right-click & copy them. Use the mouse & move over to the other tab, then CTRL-V or right-click paste to initiate the transfer.
-
I followed your instructions, up to when I type in the command "sudo mount -t vfat -o ro,users /dev/hda1 /mnt/hda1", I get the following:
"mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)"
????
Howie
-
Senior Member
registered user
>>
"mount: wrong fs type, bad option, bad superblock on /dev/hda1,
>>
Underscore ... it just means it isn't a vfat fs.
>>
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)"
>>
What kind of disk is it, ide, if so then i wouldn't think so. You haven't revealed the kind of disk your using ....
You need to use the fs type that is being used by your Windows 98SE. As i'm not familiar with that windows i can't say much more there. Is it a "ntfs" file-system. If so use that as the parameter for the "-t" switch.
If it is a "ntfs" fs, don't try writing to it as write support isn't good in Linux for a ntfs fs. Its' fault though.
jm
-
Administrator
Site Admin-
Originally Posted by
jjmac
>>
"mount: wrong fs type, bad option, bad superblock on /dev/hda1,
>>
Underscore ... it just means it isn't a vfat fs.
Actually, I saw a bad superblock message a week ago and asked about it also (no response). On my case it was an NTFS partition, but I have never received that message in the past opening NTFS partitions. The disk had become corrupted and Knoppix couldn't open it to read from it. XP was much worse, it just kept flashing something on the screen too fast to read and then rebooting the entire computer (cycle repeats). In my case it certainly didn't just mean it isn't a vfat.
I ended up having to use other tools to repair the partition, although Knoppix was a help in that it allowed me to at least back up my other partition on that computer.
-
it's a IDE drive... I believe it is also vfat... isn't ntfs for Windows XP?
-
Try burning knoppix image to another cd. Then use it and delete a portion of the hdd which isnt too important, like delete games partition(which can be installed later in windows98 with the game cds). Create a ext2/3 partition and a swap that is double ur ram plus 100mb.
Now type
This should install knoppix to ur hd. Your problem of running it from cd can be solved.
You arent gonna mess up with the default config of knoppix until u reset the permissions of hd to read/write mode.
-
Senior Member
registered user
Originally Posted by
gnukish
Try burning knoppix image to another cd. Then use it and delete a portion of the hdd which isnt too important, like delete games partition(which can be installed later in windows98 with the game cds). Create a ext2/3 partition and a swap that is double ur ram plus 100mb.
Now type
This should install knoppix to ur hd. Your problem of running it from cd can be solved.
You arent gonna mess up with the default config of knoppix until u reset the permissions of hd to read/write mode.
I have no idea what you think is going on in this thread but it appears you are confused. Perhaps I am wrong, but the user "Howitzer17" is trying to recover data from a Windows 98 machine. Your suggestion that he installs knoppix to the HD is not right.
-
I did not suggest him to install linux to the entire space available. He can make a hd install in a small partition and then recover the rest thereby not losing time (running from the cd will be slower than hd) and also backing up the needed data.
@Underscore: Perhaps my last post wasnt clear. Correct this time and tell me if Iam wrong and how.
Regards
-
Administrator
Site Admin-
Originally Posted by
gnukish
I did not suggest him to install linux to the entire space available. He can make a hd install in a small partition and then recover the rest thereby not losing time (running from the cd will be slower than hd) and also backing up the needed data.
@Underscore: Perhaps my last post wasnt clear. Correct this time and tell me if Iam wrong and how.
Regards
But he didn't even want to install to hard disk, and Knoppix far from a good choice if a Linux HD install is desired. As to the speed, there is only a CD speed hit in Knoppix in loading software. But you can boot knoppix and have all the tools you need to transfer files already running when the boot finishes. File transfers will be just as fast at that point as if Knoppix was "installed" and will have the added benefit of actually working without fooling with things like "why did my network suddenly stop working after I installed Knoppix to hard disk?" So any claims of speed differences are really meaningless, and it would take far longer to install and troubleshoot a hard disk install than to just boot Knoppix from CD once or twice. We generally don't try to teach people bad habits, particularly when they don't even indicate that they want to learn the bad habits. This poor guy is or was having Win98 problems, the last thing he needs at this point is to be repartitioning his disk to make space of some dubious "install" of Knoppix to his hard disk.
Similar Threads
-
By rohandhruva in forum General Support
Replies: 3
Last Post: 12-12-2004, 05:39 PM
-
By MaldiGola in forum General Support
Replies: 4
Last Post: 09-05-2004, 03:51 PM
-
By khwong2004 in forum MS Windows & New to Linux
Replies: 3
Last Post: 08-31-2004, 04:46 AM
-
By FatBoy in forum General Support
Replies: 5
Last Post: 06-15-2004, 01:56 AM
-
By Graham Nichols in forum General Support
Replies: 7
Last Post: 05-23-2004, 09:15 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
-
Forum Rules
HP ProLiant BL460c Gen9 Blade 2x E5-2699v3 2.3GHz =36 Cores 128GB P246 650FLB
$273.00
Dell PowerEdge FX2S 4 Slot Blade Chassis - CMC, 2x 2400W PSU
$299.00
Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD
$44.99
Dell PowerEdge M620 Blade Server
$39.99
Dell PowerEdge M620 CTO Blade Server (for M1000e or VRTX) 32GB(4x8GB RAM) No HDD
$72.16
HPE ProLiant BL460c Gen9 16-Core Blade 779803-S01 (2)CPU on board No RAM/No HDD
$39.99
Dell PowerEdge M620 Blade Server/8x8 GB Ram (64GB)/2x Intel Xeon E5-2680 2.70GH
$50.00
Dell VRTX 25 Bay SFF with 4 x M630 With (2) E5-2690 V4's 32GB Ram
$999.99
HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 128GB P246 650FLB
$283.00
Dell PowerEdge FC830 8-SFF 4*Xeon E5-4669v3 2.1GHz No HDD/RAM Blade Server Node
$179.99