Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi, I recently reinstalled windows on my windows partition again. Before I reinstalled, I had grub booting windows and debian. I have made a rescue floppy and when I boot from floppy, it gives me the grub prompt:
filesystem type is ext2fs
partition type 0x83
then I type:
to reinstall grub,
checking if "/boot/grub/stage1" exists...no
checking if "/grub/stage1" exists...no
Error 15: file not found
I also try to boot using the command lines straight from my menu.1st file...when I type in the line that starts with kernel, it comes up with a "cannot mount partition" error.
Ok, I actually tried a few things and none of them worked.
I pressed tab when i got to root (hd0, and got
Partiton num: 0: filesystem type unknown, partition type 0xa0
Partiton num: 1: filesystem type unknown, partition type 0x7
Partiton num: 2: filesystem type is ext2fs, partition type 0x83
Partiton num: 3: filesystem type unknown, partition type 0x82
Partiton num: 4: filesystem type 0x83, partition type 0x83
/ is hda3 and /home is hda5
I downloaded a rescue cd also. I booted using the rescue cd, and got into a bash prompt. i mounted my / partition using:
# mount -t ext3 /dev/hda3 /rootdirectory
I get a few errors that I think are causing my problem.
EXT_FS warning (device hda3): ext3.clear.journal.err:filesystem error recorede from previous mount: IO failure
EXT_FS warning (device hda3): ext3.clear.journal.err: marking fs in need of filesystem check
EXT_FS warning (device hda3): mounting fs with errors, running e2fstk is recommended
the drive mounted, and I could paruse around my directories all I wanted.
# e2fstk -p /dev/hda3
the Filesystem size according to superblock is 2558351 blocks. The physical size is 2112547.
Either superblock or partition table is likely to be corrupt!
/dev/hda3: unexpected Inconsistency run fsck manually
so I ran fsck /dev/hda3 and got the same error
Am I receiving the errors because I am booting off of the recovery CD? or do i have some real problems?
BTW, I checked partititon table and it wasn't corrupt, i could still display it using fdisk -l
It sounds like the partition size was changed after it was formatted. There is a command to fix that, I used it once, but I can not remember what it is. Got to love locate.
I think you have to do this from the CD. I also seem to recall the partitiion can not be mounted when you do this. The command is resize2fs for ext2 and ext3 file systems. It is resize_reiserfs for reiserfs file systems. You can type man for details regarding your specific issue. I think it is command /dev/hd<your drive and partition info here> though. Pretty straight forward.
It sounds like you don't have a seperate /boot partition, which is OK, nothing wrong with that, and that you are typing in the right commands to install grub. So I hope that works.
Post back if you need to. I'm hoping this works though.
which is run error checking again. It prompts again and says my partion or superblocked is messed up, then it asks if i want to abort...should I abort and try something else?? or just continue? I dont want to corrupt my data.