Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i am having problems with my hardrive died so i am setting up a new one to match the old. It is a 200GB ATA/133 IDE HDD. i use Debian Linux. i have copies of all my data on another machine which i can copy across later.
i use knoppix to load then use cfdisk to set up my partitions. when i am ready to reboot and load using lilo i get the following errors when the hd partitions are being mounted.
Checking file systems...
/dev/hda9 contains a file system with errors, check forced.
Inode 33342 has illegal blocks
UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
i have repartitioned a couple of times and each time one or more filesystems become corrupted.
Running fsck manually and fixing the errors doesnt help
if i try and then run cfdisk i get
FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
if i do a 'fdisk -l /dev/hda' i get the following
Disk /dev/hda: 16 heads, 63 sectors, 266305 cylinders
/dev/hda1 1 247 124392 83 Linux
Partition 1 does not end on cylinder boundary:
phys=(95,53,48) should be (95,15,63)
The other hda(x)'s show the same error
i think knoppix is affecting my filesystems due to where i am mounting them. i made a directory /mnt on /ramdisk (/ramdisk/mnt) and mounted all my filesystems off that.
how do you format the hd to start again? or do you just delete all the partitions and start again?
where should i mount my filesystems so knoppix doesnt write into them?
it shouldent write to them, but i had a simualr problem, heres the problem your using a ext2/3 file system, thsoe get curupt easly and you get thsoe errors, the only solustion i know of is to just remake the file system (this prety much delets whatever else was there so i hope u dont have anthing important there), id sugest to just change the filesystem to a difrent one, like reiserfs (jfs and xfs are also alternative, also theres other filesystem that arint concidered a linux FS you can use if you wanted to(as you probly know the kernel has suport for like 20 or so difrent FS's))