Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hi, I have been using Mandriva happily for a few months and at the weekend tried to reformat an external hard drive to act as a back up drive. In the process I seem to have screwed up the auto mounting of my devices so that I now get a GRUB 17 error message on startup and my system hangs without even beginning to boot. I've done a bit of research and I think the problem is in the fstab file. As I'm a newbie, I'm a little scared of editing this file as I may do more damage.
Please find below some of the informtion I have managed to find. I have access to a terminal through a live CD and access to the internet through another computer.
Hoping somebody can help me out of this whole which I've got myself into. Thx
"fdisk -l" shows the following...
Device Boot Start End ID System
/dev/sda1 * 1 15353 83 Linux
/dev/sda2 15354 30401 5 Extended
/dev/sda5 15354 30027 b W95 FAT32
/dev/sda6 30028 30401 82 Linux Swap/Solaris
and "mount" shows the following...
none on / type unionfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda5 on /media hd2 type vfat (rw,nosuid,nodev,sync,users,umask=0022,iocharset=utf8)
This reformat thing you did sounds a little suspicious ... are you sure you formatted correct partition on the correct drive?
The fstab you see is from livecd, not the one your Mandriva is using. Assuming your root partition is sda1, do something like ls -a /media/hd to see if there are any files.
OK, you got the idea, to mount sda1 and check if there are any files. If there was a valid Linux filesystem the mount command you issued would have mounted it. How did you reformat that external drive?
I partitioned the external hard drive approx 50/50 linux EXT3 and Windows. I can see from fdisk and the partitioning GUI with the live CD that I have not altered the size of the HDD partitions...so have I really reformatted the HDD as well as the external drive?
Couldn't find ext2 superblock, trying backup blocks...
/dev/sda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 7 has illegal blocks. Clear<y>?
What should I press?
I forgot to say in the intro, that after I had formatted the external drive, I still could not access it so I rebooted. Everything was going ok and it was booting as normal and it got partly through booting Mandriva, before giving me a prompt saying something like could not find ext2 on sd....supoerblock etc.
I then went back into the disk partitioner using the Live CD to demount the external drive. don't ask me why... I wish I'd never touched it obviously.
But this means that after the formatting, I had not formatted the wrong drive as it still booted up, if only partially.