Results 1 to 10 of 10

Thread: I am a complete novice - knoppix won't get past fsck

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Location
    nottingham, uk
    Posts
    6

    I am a complete novice - knoppix won't get past fsck

    I am completly new to linux. I had knoppix 3.7 installed on my laptop for me for use on a uni project. I have been using it exactly as installed since October and been fine. I haven't messed around with any settings, I've just used it to do my work and been happy.

    For absolutely no reason that I can see, today it has decided not to boot up properly.

    I have searched forums and found other people who have had the same problems, but I don't understand the replies they have recieved.

    It goes as normal until it strarts checking the root file system.

    I then get:

    fsck 1.35
    WARNING: Your /etc/fstab does not contain the fsck passno field.

    fsck.ext2: is a directory while trying to open /
    /:
    the superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

    fsck failed. Please repair manually and reboot. Please note that the root file system is currently mounted read-only. To remount it read-write: etc

    How do I repair it? Or what can I do to at least get things up and running so that I can retrieve my project work somehow. I can access the directry the work is in but it won't mount the floppy drive properly so there is no where I can transfer it to.

    Please help, and please remember I have no idea what I'm doing, so you'll need to be precise.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Try to run fsck manually: when you get the error message do:

    fsck /dev/hda (or whatever -- you want the drive that Knoppix is on).

    Let us know what happens.

    Or what can I do to at least get things up and running so that I can retrieve my project work somehow. I can access the directry the work is in but it won't mount the floppy drive properly so there is no where I can transfer it to.
    Probably the easiest way to do this is to boot up from a Knoppix CD. You can then mount the partition on which the stuff you want is and copy it to a (mounted) floppy. In fact, it's probably a good idea to do this before trying anything else.

    Again, don't panic --- most data loss is caused by people panicking and trying something too adventurous --- and do get back.

  3. #3
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    I have found USB flash keys much easier to mount than floppies. Do you have one of those?

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Location
    nottingham, uk
    Posts
    6
    running fsck on hda5, which as far as I can tell is the main linux partition, it doesn't say anything (apart from a warning about /etc/fstab does not contain the fsck passno field...). I'm assuming that it just going back to the prompt without givin me an error message should be it was successful?

    The only one I get any error message from is what I presume to be the windows partition (mentions ntfs).

    I managed to copy my files onto a floppy using mcopy (i still haven't managed to mount the floppy succesfully) but windows won't recognise that there are any files on the floppy, and I don't have easy access to another linux machine.

    Attempting to download the .iso image of knoppix to run from a cd, however even on my broadband connection it is taking ages.

  5. #5
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    How did you copy the files to the floppy without mounting it? You should probably format the floppy using fat16 if you want it to be readable in a windows machine.

  6. #6
    Junior Member
    Join Date
    Feb 2005
    Location
    nottingham, uk
    Posts
    6
    on the say so of someone in a linux help chat room, I used

    mcopy <file> a: /

    the floppy drive made its usual 'i'm being used' noises and linux seemed to think it had copied my files.

    when I tried to write the same file again it asked me if I wanted to overwrite the existing file, so I believed it.

    But windows thinks the disc is empty.

    How do I format the floppy with fat16? Will I be able to do this even if I can't persuade it to mount the floppy?

  7. #7
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Just go into windows, put the floppy in, right-click and format...
    choose fat16, and then let it do its thing.
    Next, get back into knoppix and use these commands:
    $ sudo mkdir /mnt/floppy
    $ sudo mount -t vfat /dev/floppy /mnt/floppy
    Then do
    $ cp <file> /mnt/floppy
    then
    $ cd /mnt/floppy
    $ ls
    check to see if the file is in there.

  8. #8
    Junior Member
    Join Date
    Feb 2005
    Location
    nottingham, uk
    Posts
    6
    sudo: unable to lookup Knoppix via gethostbyname()
    mount: special device /dev/floppy does not exist

  9. #9
    Junior Member
    Join Date
    Feb 2005
    Location
    nottingham, uk
    Posts
    6
    Problem fixed.

    I gave up in the end for fear of doing more damage and handed it over to someone who knows what they are doing.

    It turns out that for some reason, the /etc/fstab file was completely empty (so where it was complaining about a particular field being missing, it was because there was actually nothing there at all). Apart from making files difficult to access properly, this interupted the boot process and so a whole load of other things weren't working correctly either.

    After adding the main linux partition to fstab correctly knoppix managed to fix the rest itself at the next reboot.

    Lesson learnt: Make a backup of /etc/ to replace settings should this happen again.

  10. #10
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Glad to hear you got the problem resolved.

Similar Threads

  1. how do I get it 2 work? I'm a novice.
    By thescottishdude in forum Hardware & Booting
    Replies: 1
    Last Post: 10-09-2006, 10:17 PM
  2. Using knoppix to get past the good old DOS limitations?
    By MrOzzy in forum MS Windows & New to Linux
    Replies: 12
    Last Post: 02-02-2006, 07:52 PM
  3. Novice with Knoppix 3.6 - Crashed XP Hard Drive
    By hammonjc in forum General Support
    Replies: 5
    Last Post: 10-22-2004, 03:59 PM
  4. Help me, its my dream,novice from India
    By anoop in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 09-07-2004, 10:42 PM
  5. knoppix novice in a jam!! Help
    By kodz in forum General Support
    Replies: 4
    Last Post: 06-17-2004, 05:02 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
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Purple Surveillance HDD, Internal Hard Drive - WD11PURZ picture

Western Digital 1TB WD Purple Surveillance HDD, Internal Hard Drive - WD11PURZ

$52.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$23.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$29.55



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$14.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$26.39



Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop picture

Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop

$709.99