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.
for some reason the file boot is not on (hd0,5) it says there is no such thing as a (hd0,5) are you sure it is there another thing hate to say this but windows restore disk likes to wipe out the whole system and restore everything back to oem just one big partition good luck I pray that did not happen to you. how many partitions does windows see let me guess drive C for the fist partition then what .and look at your partitions. hd0,5 in windows world would be what drive F
Error 22: No such partition
get a live cd boot it copy any thing you need and then reinstall.
Boot from media of the Linux that is installed in your machine and enter the rescue mode.
You will probably need to chroot.
Once that is done just reinstall the grub with
Assuming your drive to be sda. Look what is it named.
May i knw , "what is this boot from media of Linux that is installed"?
I just took the first option when CD booted, "Try without installing"
Is this correct .
And when i took terminal nad just checked /boot/grub/menu.list , there is no file like that ..?
Sounds i've made a mistake ,right ? but my contents of ubuntu are still there in my system , only the problem for MBR
While installing i had formatted only C: drive.. is this ok, i can still find my other partition and its content both from windows and Ubuntu
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa13ba13b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20971520 c W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 2611 5222 20971520 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 5223 9729 36202477+ 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/sda4 9545 9729 1485981 82 Linux swap / Solaris
Partition 4 does not end on cylinder boundary.
/dev/sda5 5223 9544 34716402 83 Linux
please help me to get my ubuntu back , i will be grateful , help
Last edited by vibinlakshman; 02-24-2009 at 10:22 AM.
So no one out there who knws grub editing ..
Oh man this is disgusting , i wonder how do find solutions for these stuffs. I just experimented with grub to make sure every suggestions were true or not ..But failed ..
OK thank u , all who helped me ..
To all new folks , dont try with grub , it will harm u !!!!!!!
root (hd0,5) would be correct. But from what you have posted something has happened to your /boot/grub/menu.lst if that is correct then post #2 by linuxlover.chaitanya should work. Did you try it? What happened?
sudo grub-install /dev/sda
More that most want to learn about grub can be found here. IDBS GRUB Page
Post got double posted though I click reply only once.
Sorry to say nothing had worked , i was learning bit about how to edit grub , unfortunately i had experimented with my own system , so whatever all my friends posted didnt worked , so i need to install two OS once again normally . Neither grub-install worked , nor the former method .
Dont worry i'll definitely come with this solution , nobody had come across this error , right , thats what the problem ..