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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I altered exteneded partions in my harddisk from windows. Unfortunetly, my linux partition was on one of logical drive so linux root file system is now changed from (hd0,7) to (hd0,6). Thus as grub is loaded, it cannot find linux partion which was supposed to be in (hd0,7). What do i have to do to fix this grub problem ?
Can this problem be fixed without reinstalling GRUB? If yes how ?
Best Regards,
smanandhar
Last edited by smanandhar; 02-16-2009 at 01:30 AM.
Which Linux do you have installed ? The grub boot menu.lst file can be edited as root user, booted to either a Linux live CD, or a USB Linux if done correctly. I believe in a terminal as root, change directory to that grub file location, and then type; gedit /boot/grub/menu.lst (if a gnome type desktop), or use kate in place of gedit,(that is the text editor) If it is Ubuntu you use; sudo first, if other Linux to get as root use; su -
If you want specific help with editing your menu.lst or getting Grub working again, I think it would first help to get a clearer picture of your setup; how about booting your Ubuntu Live CD (the Ubuntu install CD), download the Boot Info Script to the Live CD desktop, open a terminal (Applications > Accessories > Terminal) and do:
Code:
sudo bash ~/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next post, highlight the copied text, and click the pound/hash sign "#" graphic button in the forum message box so that the text will get "code" tags put around it. The results of that script will help clarify your setup and hopefully what the best solution to your booting problem might be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.