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.
I am pretty new to Linux, and I am on a dual boot machine, Windows 7 (for games) and Ubuntu for everything else. About two weeks ago I was doing the kernel upgrade for Ubuntu, and when I went to reboot, my system hung. I eventually powered down, not knowing what else to do. When I tried to get back into Ubuntu, the option was entirely missing from GRUB - it was just Windows 7, and a Windows Disk recovery partition where my Linux should have been. I have since tried using a USB boot disk, and when I try to mount my former Linux partition, all that is there is the Windows recovery stuff. I can still boot into Windows normally.
My question - is my Linux partition toast? Is there anything I can do to save it (or at least some of the data on it. Some, but not all was backed up). Should I run the windows drive recovery, or will that entirely obliterate anything that might be left on the partition? I'm less concerned with saving the installation - if I can save my data, I might wipe Ubuntu anyway and put another distro on, but I'd love to save my data.
Thank you to anyone who is able to help me (I did a search, and I couldn't find this exact issue. My apologies if I missed something).
Distribution: Slackware (mainly) and then a lot of others...
I do not think the linux partition is toast. Boot up with the ubuntu disk (I belive Ubuntu disks are live disks) and then you can mount the linux partition and back it up.
As far as upgrading the kernel is concerned I do not think that it should touch your bootloader (GRUB) in anyway. The standard practise is to keep the old kernel for sometime until you verify everything is alright with the new one.
As far as Windows reinstallation is concerned it is a bit dicry. It will wipe off GRUB for sure and there is not a lot that anyone can do about it.
There is also this rescue cd that has worked wonders for me many many times guess you need that as an easy solution to a complex problem.
Hope this helps.
The recovery could nuke your partitions and would only try and rebuild the MBR for the Windows side. You should be able to boot into the recovery console or off a live USB/CD like knoppix and view your partitions to verify that it is still there, it may have a bad super-block or may need to have grub-install run on it.
It depends exactly what kind of "Windows restore" you're talking about. If it's the system restore built into Windows, it will only affect the Windows partition. If it's the restore from the start-up options, typically provided by the computer manufacturer, then it may format the entire hard disk (except for itself, of course). That's hard to predict. Normally a Windows installer will ignore a non-Windows partition. It's not clear to me how a system upgrade would toast a partition like that, unless the partition table was corrupted when you rebooted while the system was "hung". Are you sure it was hung, or just "working" on something in the background? If you reset it while it was writing to disk, the results are completely unpredictable. I suspect that the partition you think was your Linux partition was always there, and your Linux partition is no longer visible because the partition table is corrupted. You may have to delete all partitions and reformat the whole disk to get it to work properly again.
Last edited by guyonearth; 07-02-2012 at 04:58 PM.