LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rebooting problem (https://www.linuxquestions.org/questions/linux-newbie-8/rebooting-problem-898726/)

yeseynob 08-22-2011 04:45 AM

rebooting problem
 
hello;
I had deleted a disk partition of Linux and made free space, but while i try to restart the system, I couldn't do it.. giving me problem such as "no such partition" so help me to find the solution for it.... i will be much grateful to all of you...

andrewthomas 08-22-2011 07:32 AM

When you deleted the partition, the existing partitions with a higher number were re-named.

What you need to do is to boot a LiveCD and run:

Code:

fdisk -l
as root.

Then you will have to mount the partitions that were re-named and edit the /etc/fstab file to reflect the new names.

You then will have to fix your bootloader.

You don't say which bootloader you are using, but if you are using grub, then you will have to edit the /boot/grub/menu.lst file.

With grub2, update-grub should take care of the problem.


All times are GMT -5. The time now is 03:37 AM.