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.
Like an idiot, I left Linux and repartitioned my hard drive using Partition Magic. Now when I boot up, it takes me directly to the grub prompt. I really have no idea how to remedy this situation. Please help.
1) I type "find /boot/grub/stage1" and get the response "file nto found"
2) I tried using the Suse 8.2 CD's to boot up and chose the option "use an already installed system" then get while it's loading the following error msgs, "cannot open filesystem on /dev/hda7" and then it says "fsck failed. Please repair manually and reboot."
Can anyone help me out. I believe all data is still on the partition. It's just getting grub to find it.
If your on the promt it usually means its found its own files. But the menu maybe in the wrong place.
It will tell you where it is. then you can try
kernel /vmlinuz-2.x.xx root=/dev/hdx
Of couse you'll have to enter the results from find where I put the x's as well as your version of the kernel.
This will load fdisk now type p and enter and it will tell you whats on the disk. df is not giving us the answer we want if you created a new partition. After its printed out the results we'll know exactly what parition magic did and see if we can fix it.
to load windows you'll need to type rootnoverify(hd0,1) not (hd0,0). Hope that helps.
1) I ran fdisk /dev/hda and right away get the following msg: "The number of cylinders for the disk is set to 3647. This is larger than 1024 and could cause problems with booting." I then hit p and got the following output:
/dev/hda1 Dell Utility
hda4 Win 95 Ext'd (LBA)
hda5 Win 95 FAT 32
hda6 Linux Swap
hda7 Win 95 FAT 32
there is no hda3 is that's an issue.
2) when i try to boot with rootnoverify (hd0,1) it takes me back to the linux prompt. when i try to use rootnoverify (hdo,2), i get an error msg "syntax error near unexpected token (hd0,2).
Right first, I think you'll need too rewrite your menu.list
kernel (hd0,7)/boot/vmlinuz root=/dev/hda8
This is presuming that your NTFS partition is your C ( Which I believe it is ). Then you need to reinstall grub.
type grub and it will do some checking before it starts. Then type
This will install grub on the MBR.
Now try rebooting, grub should give you the menu.
To use the new partition under linux you need to change its type using either fdisk or parted. and then mount it somewhere.
hda3 is missing... Thats odd at first I though it was your extended partition, but thats what hda4 is doing. So it is missing.
Okay, you are a genius. Grub now boots up and I can bootup into either windows or Linux. But there's still one problem:
When it starts booting Linux, the process falls apart and I get a "cannot open filesystem on /dev/hda7" error. It then says fsck failed.
I checked and my system has a /sbin/fsck and /sbin/fsck/reiserfs files. I tried to look at them with vi, but it comes up gobbledy-gook.
Because of this error, I cannot get into kde and deal with the hda7 problem.
I am scared of using Partition Magic to get rid of hda7 because that will only rename all the drives again, and GRUB will go down, I think.
This should be it, but would you mind helping me with this one again.