Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Repair partition with Knoppix?

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    5

    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

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    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:
    Code:
    knoppix nofstab
    I open a konsole command window. I make sure that hda1 folder in /mnt exists:
    Code:
    ls /mnt
    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:
    Code:
    ls /mnt
    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.
    Code:
    sudo konqueror
    Once that comes up, in the location bar, I type:
    Code:
    /mnt/hda1/
    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:
    Code:
    /mnt/hdb1/
    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.

  3. #3
    Junior Member
    Join Date
    Dec 2004
    Posts
    5
    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

  4. #4
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    >>
    "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

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote 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.

  6. #6
    Junior Member
    Join Date
    Dec 2004
    Posts
    5
    it's a IDE drive... I believe it is also vfat... isn't ntfs for Windows XP?

  7. #7
    Member registered user
    Join Date
    Jun 2005
    Posts
    51
    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
    Code:
    knx2hd
    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.

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote 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
    Code:
    knx2hd
    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.

  9. #9
    Member registered user
    Join Date
    Jun 2005
    Posts
    51
    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

  10. #10
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote 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.

Page 1 of 2 12 LastLast

Similar Threads

  1. Repair Partition Table - PLEASE READ.
    By rohandhruva in forum General Support
    Replies: 3
    Last Post: 12-12-2004, 05:39 PM
  2. Can I repair my USB thumb drive with Knoppix?
    By MaldiGola in forum General Support
    Replies: 4
    Last Post: 09-05-2004, 03:51 PM
  3. Repair NTFS in Knoppix
    By khwong2004 in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 08-31-2004, 04:46 AM
  4. Can I repair HDD with Knoppix?
    By FatBoy in forum General Support
    Replies: 5
    Last Post: 06-15-2004, 01:56 AM
  5. Trying to repair Windows XP Pro with Knoppix 3.4
    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
  •  


Western Digital 8TB Certified Refurbished My Book Hard Drive-RWDBBGB0080HBK-NESN picture

Western Digital 8TB Certified Refurbished My Book Hard Drive-RWDBBGB0080HBK-NESN

$99.99



HGST NetApp 8TB 7.2k 12G NL-SAS 3.5in HDD HUH728080AL5200 0F25735 108-00455 picture

HGST NetApp 8TB 7.2k 12G NL-SAS 3.5in HDD HUH728080AL5200 0F25735 108-00455

$69.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



MDD 16TB 7200RPM 256MB Cache SATA 6.0Gb/s 3.5

MDD 16TB 7200RPM 256MB Cache SATA 6.0Gb/s 3.5" Internal Enterprise Hard Drive

$139.99



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

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

$89.99



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



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

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

$78.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$112.00



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5

HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5" HDD HUH721010ALE604

$43.85